public abstract class ValueExpressionNode extends ASTBase implements IValueExpressionNode
DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
ValueExpressionNode(BOp[] args,
Map<String,Object> anns)
Required shallow copy constructor.
|
ValueExpressionNode(IValueExpression<? extends IV> ve)
Deprecated.
This was just for compatibility with SOp2ASTUtility. It is
only used by the test suite now. It should be removed now
that we are done with the SPARQL to AST direct translation.
|
ValueExpressionNode(ValueExpressionNode op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode) . |
Modifier and Type | Method and Description |
---|---|
IValueExpression<? extends IV> |
getRequiredValueExpression()
Return the cached
IValueExpressionNode if it exists on the node. |
IValueExpression<? extends IV> |
getValueExpression()
Return the cached
IValueExpression if it exists on the node,
otherwise return null. |
void |
invalidate()
Invalidate the cached value.
|
boolean |
isConstant()
Return
true iff this is a ConstantNode . |
boolean |
isFunction()
Return
true iff this is a FunctionNode . |
boolean |
isVariable()
Return
true iff this is a VarNode . |
void |
setValueExpression(IValueExpression<? extends IV> ve)
Called by AST2BOpUtility to populate the value expression nodes
with value expressions.
|
String |
toShortString()
General contract is a short (non-recursive) representation of the
BOp . |
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, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
toString
@Deprecated public ValueExpressionNode(IValueExpression<? extends IV> ve)
public ValueExpressionNode(ValueExpressionNode op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode)
.public final boolean isConstant()
true
iff this is a ConstantNode
.public final boolean isVariable()
true
iff this is a VarNode
.public final boolean isFunction()
true
iff this is a FunctionNode
.public final IValueExpression<? extends IV> getRequiredValueExpression()
IValueExpressionNode
IValueExpressionNode
if it exists on the node.getRequiredValueExpression
in interface IValueExpressionNode
IValueExpressionNode
and never null
.public IValueExpression<? extends IV> getValueExpression()
IValueExpressionNode
IValueExpression
if it exists on the node,
otherwise return null.getValueExpression
in interface IValueExpressionNode
public void setValueExpression(IValueExpression<? extends IV> ve)
setValueExpression
in interface IValueExpressionNode
public void invalidate()
IValueExpressionNode
invalidate
in interface IValueExpressionNode
public String toShortString()
CoreBaseBOp
BOp
.toShortString
in interface BOp
toShortString
in class CoreBaseBOp
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.