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, 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, toString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waittoString@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()
IValueExpressionNodeIValueExpressionNode if it exists on the node.getRequiredValueExpression in interface IValueExpressionNodeIValueExpressionNode and never null.public IValueExpression<? extends IV> getValueExpression()
IValueExpressionNodeIValueExpression if it exists on the node,
otherwise return null.getValueExpression in interface IValueExpressionNodepublic void setValueExpression(IValueExpression<? extends IV> ve)
setValueExpression in interface IValueExpressionNodepublic void invalidate()
IValueExpressionNodeinvalidate in interface IValueExpressionNodepublic String toShortString()
CoreBaseBOpBOp.toShortString in interface BOptoShortString in class CoreBaseBOpCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.