Class PropertyExistenceConstraint
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.constraint.SelectorBasedConstraint
-
- org.apache.jackrabbit.core.query.lucene.constraint.QueryConstraint
-
- org.apache.jackrabbit.core.query.lucene.constraint.PropertyExistenceConstraint
-
- All Implemented Interfaces:
Constraint
public class PropertyExistenceConstraint extends QueryConstraint
PropertyExistenceConstraintimplements a property existence constraint.
-
-
Constructor Summary
Constructors Constructor Description PropertyExistenceConstraint(PropertyExistenceImpl prop, SelectorImpl selector, LuceneQueryFactory factory)Creates a new property existence constraint.
-
Method Summary
-
Methods inherited from class org.apache.jackrabbit.core.query.lucene.constraint.QueryConstraint
evaluate
-
Methods inherited from class org.apache.jackrabbit.core.query.lucene.constraint.SelectorBasedConstraint
getSelector, getSelectorIndex
-
-
-
-
Constructor Detail
-
PropertyExistenceConstraint
public PropertyExistenceConstraint(PropertyExistenceImpl prop, SelectorImpl selector, LuceneQueryFactory factory) throws RepositoryException
Creates a new property existence constraint.- Parameters:
prop- the QOM property existence constraint.selector- the selector for this constraint.factory- the lucene query factory.- Throws:
RepositoryException- if an error occurs while creating a lucene query for this constraint.
-
-