saffron.rel.java
Class JavaOneRow
java.lang.Object
|
+--saffron.rel.Rel
|
+--saffron.rel.OneRow
|
+--saffron.rel.java.JavaOneRow
- public class JavaOneRow
- extends OneRow
JavaOneRow
implements OneRow
inline.
Nested classes inherited from class saffron.rel.OneRow |
|
Nested classes inherited from class saffron.rel.Rel |
|
Methods inherited from class saffron.rel.Rel |
childrenAccept, computeDigest, explain, getChildExps, getCluster, getCorelVariable, getEnvironment, getId, getInput, getInputs, getOrCreateCorelVariable, getParentEnv, getQualifier, getQuery, getRelTypeName, getRows, getRowType, getTable, getType, getVariablesStopped, implementExp, implementExps, implementFieldAccess, isAccessTo, isDistinct, onRegister, recomputeDigest, registerCorelVariable, replaceInput, setCorelVariable, toString |
JavaOneRow
public JavaOneRow(Cluster cluster)
clone
public Object clone()
- Overrides:
clone
in class OneRow
getConvention
public CallingConvention getConvention()
- Description copied from class:
Rel
- Returns a value from
CallingConvention
.
- Overrides:
getConvention
in class Rel
implement
public Object implement(Implementor implementor,
int ordinal)
- Description copied from class:
Rel
- Create a plan for this expression according to a calling convention.
- Overrides:
implement
in class Rel
- Parameters:
implementor
- implementorordinal
- indicates our position in the pre-, in- and postfix walk
over the tree; ordinal
is -1 when called from the
parent, and i
when called from the
i
th child.
implementSelf
public Expression implementSelf(Implementor implementor)
- Description copied from class:
Rel
- Returns a Java expression which yields the current row of this
relational expression.
This method is called by the
Rel.PlanImplementor
the first time a piece
of Java code wants to refer to this relation. The implementor then
uses this expression to initialize a variable.
If no code needs to refer to this relation, then the expression is
never generated. This prevents generating useless code like
Dummy_12f614.Ojp_1 oj_var8 = new Dummy_12f614.Ojp_1();
.
- Overrides:
implementSelf
in class Rel
- See Also:
Implementor#bind(Rel,Rel)