@Immutable public static interface QueryIndex.Filter
Instances of this type are created by ModeShape and passed into the QueryIndex.filter(Filter)
method. Thus,
providers do not need to implement this interface (except maybe for testing purposes).
QueryIndex.filter(Filter)
Modifier and Type | Method and Description |
---|---|
Collection<Constraint> |
getConstraints()
Get the constraints for this filter.
|
Map<String,Object> |
getParameters()
Get the parameters for this filter operation, as determined during
QueryIndexPlanner.applyIndexes(org.modeshape.jcr.query.QueryContext, org.modeshape.jcr.query.model.SelectorName, java.util.List, org.modeshape.jcr.spi.query.IndexCollector) |
boolean |
hasConstraints()
Return whether this filter contains constraints.
|
boolean hasConstraints()
!getConstraints().isEmpty()
".Collection<Constraint> getConstraints()
Map<String,Object> getParameters()
QueryIndexPlanner.applyIndexes(org.modeshape.jcr.query.QueryContext, org.modeshape.jcr.query.model.SelectorName, java.util.List, org.modeshape.jcr.spi.query.IndexCollector)
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.