public class NumericBOp extends IVValueExpression<IV> implements INeedsMaterialization
NumericBOp.Annotations.OP annotation.| Modifier and Type | Class and Description |
|---|---|
static interface |
NumericBOp.Annotations |
static class |
NumericBOp.NumericOp |
INeedsMaterialization.RequirementDEFAULT_INITIAL_CAPACITY| Constructor and Description |
|---|
NumericBOp(BOp[] args,
Map<String,Object> anns)
Required shallow copy constructor.
|
NumericBOp(IValueExpression<? extends IV> left,
NumericBOp.NumericOp op) |
NumericBOp(NumericBOp op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode). |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
areGlobalsRequired()
Returns
true unless overridden, meaning the
GlobalAnnotations are required for this value expression
(certain boolean value expressions do not require them). |
IV |
get(IBindingSet bs)
Return the as bound value of the variable, constant, or
expression.
|
INeedsMaterialization.Requirement |
getRequirement()
The MathBOp can work on inline numerics.
|
IValueExpression<? extends IV> |
left() |
NumericBOp.NumericOp |
op() |
String |
toString()
Return a non-recursive representation of the arguments and annotations
for this
BOp. |
anns, asIV, asIV, asLiteral, asValue, get, 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, toArrayannotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waittoStringannotations, argIterator, args, arity, clone, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortStringgetPropertypublic NumericBOp(IValueExpression<? extends IV> left, NumericBOp.NumericOp op)
left - The left operand.right - The right operand.op - The annotation specifying the operation to be performed on those operands.public NumericBOp(BOp[] args, Map<String,Object> anns)
args - The operands.op - The operation.public NumericBOp(NumericBOp op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode).op - protected boolean areGlobalsRequired()
IVValueExpressiontrue unless overridden, meaning the
GlobalAnnotations are required for this value expression
(certain boolean value expressions do not require them). Global
annotations allow the method getValueFactory and getLexiconConfiguration
to work.areGlobalsRequired in class IVValueExpression<IV>public IValueExpression<? extends IV> left()
public NumericBOp.NumericOp op()
public IV get(IBindingSet bs)
IValueExpressionIConstant is the
contant's value. The as bound value of an IVariable is the
bound value in the given IBindingSet -or- null if
the variable is not bound in the IBindingSet.get in interface IValueExpression<IV>bs - The binding set.public String toString()
CoreBaseBOpBOp.toString in interface BOptoString in class CoreBaseBOppublic INeedsMaterialization.Requirement getRequirement()
getRequirement in interface INeedsMaterializationCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.