public class Var extends AbstractQueryModelNode implements ValueExpr
| Constructor and Description |
|---|
Var() |
Var(String name) |
Var(String name,
Value value) |
| Modifier and Type | Method and Description |
|---|---|
Var |
clone()
Returns a (deep) clone of this query model node.
|
boolean |
equals(Object other)
Returns true if this query model node and its children are recursively equal to o and its
children.
|
String |
getName() |
String |
getSignature()
Default implementation of
QueryModelNode.getSignature() that prints the name of the node's class. |
Value |
getValue() |
int |
hashCode() |
boolean |
hasValue() |
boolean |
isAnonymous() |
boolean |
isConstant() |
void |
setAnonymous(boolean anonymous) |
void |
setConstant(boolean constant) |
void |
setName(String name) |
void |
setValue(Value value) |
<X extends Exception> |
visit(QueryModelVisitor<X> visitor)
Visits this node.
|
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceChildNode, replaceNodeInList, replaceWith, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, toString, visitChildrenfinalize, getClass, notify, notifyAll, wait, wait, waitgetCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, replaceChildNode, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toString, visitChildrenpublic Var()
public Var(String name)
public void setAnonymous(boolean anonymous)
public boolean isAnonymous()
public String getName()
public void setName(String name)
public void setValue(Value value)
public boolean hasValue()
public Value getValue()
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNodevisit in interface QueryModelNodeX extends Exceptionpublic String getSignature()
AbstractQueryModelNodeQueryModelNode.getSignature() that prints the name of the node's class.getSignature in interface QueryModelNodegetSignature in class AbstractQueryModelNodepublic boolean equals(Object other)
QueryModelNodeequals in interface QueryModelNodeequals in class Objectpublic Var clone()
QueryModelNodeclone in interface QueryModelNodeclone in interface ValueExprclone in class AbstractQueryModelNodepublic boolean isConstant()
public void setConstant(boolean constant)
constant - The constant to set.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.