net.sf.saffron.rel
Class ProjectRel
java.lang.Object
|
+--net.sf.saffron.rel.SaffronRel
|
+--net.sf.saffron.rel.SingleRel
|
+--net.sf.saffron.rel.ProjectRelBase
|
+--net.sf.saffron.rel.ProjectRel
- Direct Known Subclasses:
- JavaProjectRel
- public class ProjectRel
- extends ProjectRelBase
ProjectRel
is a relational expression which computes a set of
'select expressions' from its input relational expression.
The result is usually 'boxed' as a record with one named field for each
column; if there is precisely one expression, the result may be 'unboxed',
and consist of the raw value type.
Methods inherited from class net.sf.saffron.rel.SaffronRel |
computeDigest, getCluster, getConvention, getCorrelVariable, getId, getInput, getOrCreateCorrelVariable, getQualifier, getQuery, getRelTypeName, getRowType, getTable, getVariablesStopped, implement, isAccessTo, isDistinct, onRegister, recomputeDigest, register, registerCorrelVariable, setCorrelVariable, toString |
ProjectRel
public ProjectRel(VolcanoCluster cluster,
SaffronRel child,
RexNode[] exps,
String[] fieldNames,
int flags)
- Creates a Project.
- Parameters:
cluster
- VolcanoCluster
this relational expression
belongs tochild
- input relational expressionexps
- set of expressions for the input columnsfieldNames
- aliases of the expressionsflags
- values as in ProjectRelBase.Flags
clone
public Object clone()
- Specified by:
clone
in class SaffronRel