public class Constraint<X> extends BOpBase implements IValueExpressionConstraint<X>
Constraint wraps a BooleanValueExpression.BOp.AnnotationsDEFAULT_INITIAL_CAPACITYEMPTY| Constructor and Description |
|---|
Constraint(BooleanValueExpression x) |
Constraint(BOp[] args,
Map<String,Object> anns)
Required shallow copy constructor.
|
Constraint(Constraint<X> op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode). |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(IBindingSet bs)
Return
true if the binding set satisfies the constraint. |
IValueExpression<X> |
getValueExpression()
Return the
IValueExpression which is evaluated by the
IConstraint. |
static IConstraint |
wrap(BooleanValueExpression ve)
Convenience method to generate a constraint from a value expression.
|
__replaceArg, _clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearAnnotations, clearProperty, deepCopy, deepCopy, get, getProperty, setArg, setProperty, setUnboundProperty, toArray, toArrayannotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString, toString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitannotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toString, toStringgetPropertypublic Constraint(BooleanValueExpression x)
public Constraint(BOp[] args, Map<String,Object> anns)
public Constraint(Constraint<X> op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode).public static IConstraint wrap(BooleanValueExpression ve)
public IValueExpression<X> getValueExpression()
IValueExpressionConstraintIValueExpression which is evaluated by the
IConstraint.getValueExpression in interface IValueExpressionConstraint<X>public boolean accept(IBindingSet bs)
IConstrainttrue if the binding set satisfies the constraint.accept in interface IConstraintbs - The binding set.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.