public class PigToEnumerableConverter extends ConverterImpl implements EnumerableRel
EnumerableRel.Prefer, EnumerableRel.ResultRelNode.ContextinTraits, traitDefdigest, id, rowType, traitSetFILTER_FACTORY, PROJECT_FACTORY| Modifier | Constructor and Description |
|---|---|
protected |
PigToEnumerableConverter(RelOptCluster cluster,
RelTraitSet traits,
RelNode input)
Creates a PigToEnumerableConverter.
|
| Modifier and Type | Method and Description |
|---|---|
RelNode |
copy(RelTraitSet traitSet,
java.util.List<RelNode> inputs) |
EnumerableRel.Result |
implement(EnumerableRelImplementor implementor,
EnumerableRel.Prefer pref) |
cannotImplement, computeSelfCost, 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, 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 PigToEnumerableConverter(RelOptCluster cluster, RelTraitSet traits, RelNode input)
public RelNode copy(RelTraitSet traitSet, java.util.List<RelNode> inputs)
copy in interface RelNodecopy in class AbstractRelNodepublic EnumerableRel.Result implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref)
This implementation does not actually execute the associated Pig Latin
script and return results. Instead it returns an empty
EnumerableRel.Result
in order to allow for testing and verification of every step of query
processing up to actual physical execution and result verification.
Next step is to invoke Pig from here, likely in local mode, have it
store results in a predefined file so they can be read here and returned as
a Result object.
implement in interface EnumerableRelCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.