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.AnnotationsDEFAULT_INITIAL_CAPACITYEMPTY| 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, 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 ProjectedConstraint(ProjectedConstraint op)
public ProjectedConstraint(ConditionalBind bind)
public boolean accept(IBindingSet bindingSet)
IConstrainttrue if the binding set satisfies the constraint.accept in interface IConstraintaccept in class ConstraintbindingSet - The binding set.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.