net.sf.saffron.oj.rel
Class ForTerminatorRel
java.lang.Object
|
+--net.sf.saffron.rel.SaffronRel
|
+--net.sf.saffron.rel.SingleRel
|
+--net.sf.saffron.oj.rel.SingleTerminatorRel
|
+--net.sf.saffron.oj.rel.ForTerminatorRel
- All Implemented Interfaces:
- TerminatorRel
- public class ForTerminatorRel
- extends SingleTerminatorRel
Converts a SaffronRel of CallingConvention.JAVA into a Java
for-loop.
| Methods inherited from class net.sf.saffron.rel.SaffronRel |
computeDigest, getChildExps, getCluster, getCorrelVariable, getId, getInput, getOrCreateCorrelVariable, getQualifier, getQuery, getRelTypeName, getRowType, getTable, getVariablesStopped, implementFieldAccess, isAccessTo, isDistinct, onRegister, recomputeDigest, register, registerCorrelVariable, setCorrelVariable, toString |
body
StatementList body
label
String label
variable
Variable variable
ForTerminatorRel
public ForTerminatorRel(VolcanoCluster cluster,
SaffronRel child,
Variable variable,
StatementList body,
String label)
clone
public Object clone()
- Specified by:
clone in class SaffronRel
implement
public Object implement(RelImplementor implementor,
int ordinal)
- Description copied from class:
SaffronRel
- Create a plan for this expression according to a calling convention.
- Overrides:
implement in class SaffronRel
- 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
ith child.