public final class MathBOp extends IVValueExpression implements INeedsMaterialization
MathBOp.Annotations.OP
annotation.Modifier and Type | Class and Description |
---|---|
static interface |
MathBOp.Annotations |
static class |
MathBOp.MathOp |
INeedsMaterialization.Requirement
DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
MathBOp(BOp[] args,
Map<String,Object> anns)
Required shallow copy constructor.
|
MathBOp(IValueExpression<? extends IV> left,
IValueExpression<? extends IV> right,
MathBOp.MathOp op,
GlobalAnnotations globals) |
MathBOp(MathBOp op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode) . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(IVValueExpression o) |
boolean |
equals(MathBOp m) |
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.
|
int |
hashCode()
The hash code is based on the hash of the operands (cached).
|
IValueExpression<? extends IV> |
left() |
MathBOp.MathOp |
op() |
IValueExpression<? extends IV> |
right() |
String |
toString()
Return a non-recursive representation of the arguments and annotations
for this
BOp . |
BigdataValueFactory |
vf() |
anns, areGlobalsRequired, 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, toArray
annotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, indent, isController, mutation, shortenName, toShortString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
toString
annotations, argIterator, args, arity, clone, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString
getProperty
public MathBOp(IValueExpression<? extends IV> left, IValueExpression<? extends IV> right, MathBOp.MathOp op, GlobalAnnotations globals)
left
- The left operand.right
- The right operand.op
- The annotation specifying the operation to be performed on
those operands.public MathBOp(BOp[] args, Map<String,Object> anns)
args
- The operands.op
- The operation.public MathBOp(MathBOp op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode)
.op
- public final IV get(IBindingSet bs)
IValueExpression
IConstant
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
bs
- The binding set.public IValueExpression<? extends IV> left()
public IValueExpression<? extends IV> right()
public MathBOp.MathOp op()
public BigdataValueFactory vf()
public String toString()
CoreBaseBOp
BOp
.toString
in interface BOp
toString
in class CoreBaseBOp
public final boolean equals(MathBOp m)
public final boolean equals(IVValueExpression o)
public int hashCode()
CoreBaseBOp
hashCode
in class CoreBaseBOp
public INeedsMaterialization.Requirement getRequirement()
getRequirement
in interface INeedsMaterialization
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.