public class CorrelatedVariable extends Object implements Cloneable, Serializable
This object is NOT immutable.
Constructor and Description |
---|
CorrelatedVariable(Variable variable,
int level_offset)
Constructs the CorrelatedVariable.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones the object.
|
TObject |
getEvalResult()
Returns the value this correlated variable evaluates to.
|
int |
getQueryLevelOffset()
Returns the number of sub-query branches back that the reference for this
variable can be found.
|
Variable |
getVariable()
Returns the wrapped Variable.
|
TType |
returnTType()
Returns the TType this correlated variable evaluates to.
|
void |
setEvalResult(TObject ob)
Sets the value this correlated variable evaluates to.
|
void |
setFromResolver(VariableResolver resolver)
Given a VariableResolver this will set the value of the correlated
variable.
|
String |
toString() |
public CorrelatedVariable(Variable variable, int level_offset)
public Variable getVariable()
public int getQueryLevelOffset()
public void setEvalResult(TObject ob)
public void setFromResolver(VariableResolver resolver)
public TObject getEvalResult()
public TType returnTType()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2015. All rights reserved.