org.apache.jackrabbit.core.query.lucene.constraint
Class PropertyExistenceConstraint

java.lang.Object
  extended by org.apache.jackrabbit.core.query.lucene.constraint.SelectorBasedConstraint
      extended by org.apache.jackrabbit.core.query.lucene.constraint.QueryConstraint
          extended by org.apache.jackrabbit.core.query.lucene.constraint.PropertyExistenceConstraint
All Implemented Interfaces:
Constraint

public class PropertyExistenceConstraint
extends QueryConstraint

PropertyExistenceConstraint implements a property existence constraint.


Constructor Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.