Package com.mckoi.database
Class RowData.RDVariableResolver
- java.lang.Object
-
- com.mckoi.database.RowData.RDVariableResolver
-
- All Implemented Interfaces:
VariableResolver
- Enclosing class:
- RowData
private class RowData.RDVariableResolver extends java.lang.Object implements VariableResolver
Variable resolver for this context.
-
-
Field Summary
Fields Modifier and Type Field Description private int
assignment_count
-
Constructor Summary
Constructors Modifier Constructor Description private
RDVariableResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
nextAssignment()
TObject
resolve(Variable variable)
Returns the value of a given variable.TType
returnTType(Variable variable)
Returns the TType of object the given variable is.int
setID()
A number that uniquely identifies the current state of the variable resolver.
-
-
-
Method Detail
-
nextAssignment
void nextAssignment()
-
setID
public int setID()
Description copied from interface:VariableResolver
A number that uniquely identifies the current state of the variable resolver. This typically returns the row_index of the table we are resolving variables on.- Specified by:
setID
in interfaceVariableResolver
-
resolve
public TObject resolve(Variable variable)
Description copied from interface:VariableResolver
Returns the value of a given variable.- Specified by:
resolve
in interfaceVariableResolver
-
returnTType
public TType returnTType(Variable variable)
Description copied from interface:VariableResolver
Returns the TType of object the given variable is.- Specified by:
returnTType
in interfaceVariableResolver
-
-