public abstract class TermNode extends ValueExpressionNode
FunctionNode
s, a TermNode
models
the IValueExpression
directly as its sole child argument. This
facilitates various rewrite patterns in which variables are renamed, etc.DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
TermNode(BOp[] args,
Map<String,Object> anns)
Required shallow copy constructor.
|
TermNode(TermNode op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode) . |
Modifier and Type | Method and Description |
---|---|
BigdataValue |
getValue() |
IVariableOrConstant<IV> |
getValueExpression()
Strengthen the return type.
|
void |
invalidate()
NOP.
|
void |
setValueExpression(IValueExpression<? extends IV> ve)
Operation is not supported (could be modeled by changing args[0] if we
still want to do this).
|
String |
toString(int i)
The contract of this method at this level is under-specified.
|
getRequiredValueExpression, isConstant, isFunction, isVariable, toShortString
addExplainHint, getExplainHints, getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHintAsInteger, getQueryHints, replaceAllWith, setQueryHint, setQueryHints
addArg, addArg, addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, indexOf, removeArg, replaceWith, setArg, setArgs, setId, setProperty, setUnboundProperty, toArray, toArray
annotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toString
public TermNode(TermNode op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode)
.public IVariableOrConstant<IV> getValueExpression()
getValueExpression
in interface IValueExpressionNode
getValueExpression
in class ValueExpressionNode
public void setValueExpression(IValueExpression<? extends IV> ve)
setValueExpression
in interface IValueExpressionNode
setValueExpression
in class ValueExpressionNode
public final void invalidate()
invalidate
in interface IValueExpressionNode
invalidate
in class ValueExpressionNode
public final BigdataValue getValue()
public String toString(int i)
CoreBaseBOp
CoreBaseBOp.toString()
Or:
- return a pretty-print representation of the object with indent
Note that the former contract may or may not include recursive descent through a tree-like
object, whereas the latter almost certainly does.toString
in interface BOp
toString
in interface IValueExpressionNode
toString
in class CoreBaseBOp
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.