public abstract class TermNode extends ValueExpressionNode
FunctionNodes, 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, toShortStringaddExplainHint, getExplainHints, getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHintAsInteger, getQueryHints, replaceAllWith, setQueryHint, setQueryHintsaddArg, addArg, addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, indexOf, removeArg, replaceWith, setArg, setArgs, setId, setProperty, setUnboundProperty, toArray, toArrayannotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toStringpublic TermNode(TermNode op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode).public IVariableOrConstant<IV> getValueExpression()
getValueExpression in interface IValueExpressionNodegetValueExpression in class ValueExpressionNodepublic void setValueExpression(IValueExpression<? extends IV> ve)
setValueExpression in interface IValueExpressionNodesetValueExpression in class ValueExpressionNodepublic final void invalidate()
invalidate in interface IValueExpressionNodeinvalidate in class ValueExpressionNodepublic final BigdataValue getValue()
public String toString(int i)
CoreBaseBOpCoreBaseBOp.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 BOptoString in interface IValueExpressionNodetoString in class CoreBaseBOpCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.