public static class SparkRules.SparkCalc extends SingleRel implements SparkRel
Calc
in Spark convention.SparkRel.Implementor, SparkRel.Result| Modifier and Type | Field and Description |
|---|---|
protected int |
flags
Values defined in
Project.Flags. |
digest, id, rowType, traitSetCONVENTION| Constructor and Description |
|---|
SparkRules.SparkCalc(RelOptCluster cluster,
RelTraitSet traitSet,
RelNode child,
RexProgram program,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
RelOptCost |
computeSelfCost(RelOptPlanner planner) |
RelNode |
copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelWriter |
explainTerms(RelWriter pw) |
int |
getFlags() |
double |
getRows() |
SparkRel.Result |
implementSpark(SparkRel.Implementor implementor) |
childrenAccept, deriveRowType, getInput, getInputs, replaceInputaccept, accept, collectVariablesSet, collectVariablesUsed, computeDigest, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRowType, getTable, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetprotected int flags
Project.Flags.public SparkRules.SparkCalc(RelOptCluster cluster, RelTraitSet traitSet, RelNode child, RexProgram program, int flags)
public RelWriter explainTerms(RelWriter pw)
explainTerms in class SingleRelpublic double getRows()
public RelOptCost computeSelfCost(RelOptPlanner planner)
computeSelfCost in interface RelNodecomputeSelfCost in class AbstractRelNodepublic RelNode copy(RelTraitSet traitSet, List<RelNode> inputs)
copy in interface RelNodecopy in class AbstractRelNodepublic int getFlags()
public SparkRel.Result implementSpark(SparkRel.Implementor implementor)
implementSpark in interface SparkRelCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.