org.apache.jackrabbit.core.query.lucene.constraint
Class ConstraintBuilder
java.lang.Object
org.apache.jackrabbit.core.query.lucene.constraint.ConstraintBuilder
public class ConstraintBuilder
- extends Object
ConstraintBuilder builds a Constraint from a tree of
QOM constraints.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstraintBuilder
public ConstraintBuilder()
create
public static Constraint create(ConstraintImpl constraint,
Map<Name,Value> bindVariableValues,
SelectorImpl[] selectors,
LuceneQueryFactory factory,
ValueFactory vf)
throws RepositoryException
- Creates a
Constraint from a QOM constraint.
- Parameters:
constraint - the QOM constraint.bindVariableValues - the map of bind variables and their respective
value.selectors - the selectors of the current query.factory - the lucene query factory.vf - the value factory of the current session.
- Returns:
- a
Constraint.
- Throws:
RepositoryException - if an error occurs while building the
constraint.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.