public class SPARQLConstraint<X extends XSDBooleanIV> extends Constraint<X>
EBVBOp, which itself computes the
effective boolean value of an IValueExpression.BOp.AnnotationsDEFAULT_INITIAL_CAPACITYEMPTY| Constructor and Description |
|---|
SPARQLConstraint(BOp[] args,
Map<String,Object> anns)
Required shallow copy constructor.
|
SPARQLConstraint(IValueExpression<? extends IV> x)
Construct a SPARQL constraint using the specified value expression.
|
SPARQLConstraint(SPARQLConstraint<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<? extends XSDBooleanIV> |
get(int i)
Return an argument to the operation.
|
String |
toShortString()
Overridden to provide a little bit of information about the attached
constraint.
|
getValueExpression, wrap__replaceArg, _clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearAnnotations, clearProperty, deepCopy, deepCopy, getProperty, setArg, setProperty, setUnboundProperty, toArray, toArrayannotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitannotations, argIterator, args, arity, clone, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toString, toStringgetPropertypublic SPARQLConstraint(IValueExpression<? extends IV> x)
EBVBOp if it does not itself evaluate to a boolean.public SPARQLConstraint(BOp[] args, Map<String,Object> anns)
public SPARQLConstraint(SPARQLConstraint<X> op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode).public IValueExpression<? extends XSDBooleanIV> get(int i)
BOpget in interface BOpget in class BOpBasei - The argument index in [0:BOp.arity()-1].public boolean accept(IBindingSet bs)
IConstrainttrue if the binding set satisfies the constraint.accept in interface IConstraintaccept in class Constraint<X extends XSDBooleanIV>bs - The binding set.public String toShortString()
toShortString in interface BOptoShortString in class CoreBaseBOpCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.