| |
|
| java.lang.Object com.mckoi.database.CorrelatedVariable
CorrelatedVariable | public class CorrelatedVariable implements Cloneable,java.io.Serializable(Code) | | A wrapper for a variable in a sub-query that references a column outside
of the current query. A correlated variable differs from a regular
variable because its value is constant in an operation, but may vary over
future iterations of the operation.
This object is NOT immutable.
author: Tobias Downer |
serialVersionUID | final static long serialVersionUID(Code) | | |
CorrelatedVariable | public CorrelatedVariable(Variable variable, int level_offset)(Code) | | Constructs the CorrelatedVariable.
|
getEvalResult | public TObject getEvalResult()(Code) | | Returns the value this correlated variable evaluates to.
|
getQueryLevelOffset | public int getQueryLevelOffset()(Code) | | Returns the number of sub-query branches back that the reference for this
variable can be found. For example, if the correlated variable references
the direct descendant this will return 1.
|
getVariable | public Variable getVariable()(Code) | | Returns the wrapped Variable.
|
returnTType | public TType returnTType()(Code) | | Returns the TType this correlated variable evaluates to.
|
setEvalResult | public void setEvalResult(TObject ob)(Code) | | Sets the value this correlated variable evaluates to.
|
setFromResolver | public void setFromResolver(VariableResolver resolver)(Code) | | Given a VariableResolver this will set the value of the correlated
variable.
|
|
|
|