public class ProjectedConstraint extends Constraint
{ SUBSELECT (Foo(?x) AS ?y) ... { ... } }or
BIND (Bar(?x) AS ?y)The bind fails if the expression evaluates to some value that is different from a pre-existing binding for the target variable. If the expr (Foo or Bar above) has an error then the specification is that no binding is done, but the unbound value is a success. The specification for this operation is found as Extend.
BOp.Annotations
DEFAULT_INITIAL_CAPACITY
EMPTY
Constructor and Description |
---|
ProjectedConstraint(BOp[] args,
Map<String,Object> annotations) |
ProjectedConstraint(ConditionalBind bind) |
ProjectedConstraint(ProjectedConstraint op) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(IBindingSet bindingSet)
Return
true if the binding set satisfies the constraint. |
getValueExpression, wrap
__replaceArg, _clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearAnnotations, clearProperty, deepCopy, deepCopy, get, getProperty, setArg, setProperty, setUnboundProperty, toArray, toArray
annotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString, toString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
annotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toString, toString
getProperty
public ProjectedConstraint(ProjectedConstraint op)
public ProjectedConstraint(ConditionalBind bind)
public boolean accept(IBindingSet bindingSet)
IConstraint
true
if the binding set satisfies the constraint.accept
in interface IConstraint
accept
in class Constraint
bindingSet
- The binding set.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.