@Immutable public interface IndexFilter
Instances of this type are created by ModeShape and passed into the Index.filter(IndexFilter)
method. Thus,
providers do not need to implement this interface (except maybe for testing purposes).
Index.filter(IndexFilter)
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
IndexPlanner.applyIndexes(org.modeshape.jcr.query.QueryContext, org.modeshape.jcr.query.model.SelectorName, java.util.List<javax.jcr.query.qom.Constraint>, java.lang.Iterable<org.modeshape.jcr.spi.index.IndexDefinition>, org.modeshape.jcr.spi.index.IndexCollector) |
boolean |
hasConstraints()
Return whether this filter contains constraints.
|
boolean hasConstraints()
!getConstraints().isEmpty()
".Collection<Constraint> getConstraints()
Map<String,Object> getParameters()
IndexPlanner.applyIndexes(org.modeshape.jcr.query.QueryContext, org.modeshape.jcr.query.model.SelectorName, java.util.List<javax.jcr.query.qom.Constraint>, java.lang.Iterable<org.modeshape.jcr.spi.index.IndexDefinition>, org.modeshape.jcr.spi.index.IndexCollector)
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.