public class OrBOp extends XSDBooleanIVValueExpression
x OR y
. Each operand of this operator
must evaluate to a boolean. If the operand is not known to evaluate to a
boolean, it is wrapped with an EBVBOp
.IVValueExpression.Annotations
DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
OrBOp(BOp[] args,
Map<String,Object> anns)
Required shallow copy constructor.
|
OrBOp(IValueExpression<? extends IV> x,
IValueExpression<? extends IV> y) |
OrBOp(OrBOp op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode) . |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(IBindingSet bs)
Follows semantics from SPARQL spec - "Testing Values".
|
IValueExpression<? extends XSDBooleanIV> |
get(int i)
Return an argument to the operation.
|
areGlobalsRequired, get, wrap
anns, asIV, asIV, asLiteral, asValue, getAndCheckBound, getAndCheckLiteral, getAndCheckLiteralValue, getLexiconConfiguration, getNamespace, getTimestamp, getValueFactory, literalLabel
__replaceArg, _clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearAnnotations, clearProperty, deepCopy, deepCopy, 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
toString
annotations, argIterator, args, arity, clone, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toString
getProperty
public OrBOp(IValueExpression<? extends IV> x, IValueExpression<? extends IV> y)
public OrBOp(OrBOp op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode)
.public IValueExpression<? extends XSDBooleanIV> get(int i)
BOp
get
in interface BOp
get
in class IVValueExpression<XSDBooleanIV>
i
- The argument index in [0:BOp.arity()
-1].public boolean accept(IBindingSet bs)
see http://www.w3.org/TR/rdf-sparql-query/#tests section 11.2
accept
in class XSDBooleanIVValueExpression
bs
- The source solution.true
iff the function accepts the solution.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.