public class SparkToEnumerableConverter extends ConverterImpl implements EnumerableRel
Spark convention
into EnumerableConvention.
Concretely, this means calling the
AbstractJavaRDDLike.collect() method of an RDD
and converting it to enumerable.
| Modifier and Type | Class and Description |
|---|---|
private static class |
SparkToEnumerableConverter.SparkImplementorImpl
Implementation of
SparkRel.Implementor. |
EnumerableRel.Prefer, EnumerableRel.ResultRelNode.ContextinTraits, traitDefdigest, id, rowType, traitSetFILTER_FACTORY, PROJECT_FACTORY| Modifier | Constructor and Description |
|---|---|
protected |
SparkToEnumerableConverter(RelOptCluster cluster,
RelTraitSet traits,
RelNode input) |
| Modifier and Type | Method and Description |
|---|---|
RelOptCost |
computeSelfCost(RelOptPlanner planner,
RelMetadataQuery mq) |
RelNode |
copy(RelTraitSet traitSet,
List<RelNode> inputs) |
EnumerableRel.Result |
implement(EnumerableRelImplementor implementor,
EnumerableRel.Prefer pref) |
cannotImplement, getInputTraits, getTraitDefchildrenAccept, deriveRowType, estimateRowCount, explainTerms, getInput, getInputs, replaceInputaccept, accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetprotected SparkToEnumerableConverter(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, RelMetadataQuery mq)
computeSelfCost in interface RelNodecomputeSelfCost in class ConverterImplpublic EnumerableRel.Result implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref)
implement in interface EnumerableRelCopyright © 2012–2017 The Apache Software Foundation. All rights reserved.