public class EnumerableToSparkConverter extends ConverterImpl implements SparkRel
EnumerableConvention
into Spark convention.
Concretely, this means iterating over the contents of an
Enumerable, storing them in a list, and
building an RDD on top of it.
SparkRel.Implementor, SparkRel.ResultinTraits, traitDefdigest, id, rowType, traitSetCONVENTION| Modifier | Constructor and Description |
|---|---|
protected |
EnumerableToSparkConverter(RelOptCluster cluster,
RelTraitSet traits,
RelNode input) |
| Modifier and Type | Method and Description |
|---|---|
RelOptCost |
computeSelfCost(RelOptPlanner planner) |
RelNode |
copy(RelTraitSet traitSet,
List<RelNode> inputs) |
SparkRel.Result |
implementSpark(SparkRel.Implementor implementor) |
cannotImplement, getInputTraits, getTraitDef, isDistinctchildrenAccept, deriveRowType, explainTerms, getInput, getInputs, getRows, replaceInputaccept, accept, collectVariablesSet, collectVariablesUsed, computeDigest, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesStopped, 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, getRows, getRowType, getTable, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetprotected EnumerableToSparkConverter(RelOptCluster cluster, RelTraitSet traits, RelNode input)
public RelNode copy(RelTraitSet traitSet, List<RelNode> inputs)
copy in interface RelNodecopy in class AbstractRelNodepublic RelOptCost computeSelfCost(RelOptPlanner planner)
computeSelfCost in interface RelNodecomputeSelfCost in class ConverterImplpublic SparkRel.Result implementSpark(SparkRel.Implementor implementor)
implementSpark in interface SparkRelCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.