net.sf.saffron.oj.convert
Class EnumerationConverterRel
java.lang.Object
|
+--net.sf.saffron.rel.SaffronRel
|
+--net.sf.saffron.rel.SingleRel
|
+--net.sf.saffron.rel.convert.ConverterRel
|
+--net.sf.saffron.oj.convert.EnumerationConverterRel
- public class EnumerationConverterRel
- extends ConverterRel
EnumerationConverterRel
converts a plan from
inConvention
to CallingConvention.ENUMERATION
.
- Since:
- 16 December, 2001
- Version:
- $Id: //open/saffron/src/net/sf/saffron/oj/convert/EnumerationConverterRel.java#5 $
- Author:
- jhyde
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 |
var_v
Variable var_v
EnumerationConverterRel
public EnumerationConverterRel(VolcanoCluster cluster,
SaffronRel child)
getConvention
public CallingConvention getConvention()
- Description copied from class:
SaffronRel
- Returns a value from
CallingConvention
.
- Overrides:
getConvention
in class SaffronRel
clone
public Object clone()
- Specified by:
clone
in class SaffronRel
init
public static void init(SaffronPlanner planner)
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 ConverterRel
- 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.
implementVector
private Object implementVector(RelImplementor implementor,
int ordinal)