public class ConstraintBuilder extends Object
ConstraintBuilder builds a Constraint from a tree of
QOM constraints.| Constructor and Description |
|---|
ConstraintBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Constraint |
create(ConstraintImpl constraint,
Map<String,javax.jcr.Value> bindVariableValues,
SelectorImpl[] selectors,
LuceneQueryFactory factory,
javax.jcr.ValueFactory vf)
Creates a
Constraint from a QOM constraint. |
public static Constraint create(ConstraintImpl constraint, Map<String,javax.jcr.Value> bindVariableValues, SelectorImpl[] selectors, LuceneQueryFactory factory, javax.jcr.ValueFactory vf) throws javax.jcr.RepositoryException
Constraint from a QOM constraint.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.Constraint.javax.jcr.RepositoryException - if an error occurs while building the
constraint.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.