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,Value> bindVariableValues,
      SelectorImpl[] selectors,
      LuceneQueryFactory factory,
      ValueFactory vf)Creates a  Constraintfrom a QOMconstraint. | 
public static Constraint create(ConstraintImpl constraint, Map<String,Value> bindVariableValues, SelectorImpl[] selectors, LuceneQueryFactory factory, ValueFactory vf) throws 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.RepositoryException - if an error occurs while building the
                             constraint.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.