Package org.apache.calcite.adapter.pig
Class PigTableScan
java.lang.Object
org.apache.calcite.rel.AbstractRelNode
org.apache.calcite.rel.core.TableScan
org.apache.calcite.adapter.pig.PigTableScan
- All Implemented Interfaces:
Cloneable,PigRel,RelOptNode,Hintable,RelNode
Implementation of
TableScan in
Pig calling convention.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.calcite.adapter.pig.PigRel
PigRel.ImplementorNested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode
RelNode.Context -
Field Summary
Fields inherited from class org.apache.calcite.rel.AbstractRelNode
digest, id, rowType, traitSetFields inherited from interface org.apache.calcite.adapter.pig.PigRel
CONVENTION -
Constructor Summary
ConstructorsConstructorDescriptionPigTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table) Creates a PigTableScan. -
Method Summary
Modifier and TypeMethodDescriptionvoidimplement(PigRel.Implementor implementor) Converts this node to a Pig Latin statement.voidregister(RelOptPlanner planner) Registers any special rules specific to this kind of relational expression.Methods inherited from class org.apache.calcite.rel.core.TableScan
accept, computeSelfCost, deriveRowType, estimateRowCount, explainTerms, getHints, getTable, identity, identity, projectMethods inherited from class org.apache.calcite.rel.AbstractRelNode
accept, childrenAccept, collectVariablesSet, collectVariablesUsed, copy, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, replaceInput, sole, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.calcite.rel.hint.Hintable
attachHints, withHintsMethods inherited from interface org.apache.calcite.rel.RelNode
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, deepEquals, deepHashCode, estimateRowCount, explain, explain, fieldIsNullable, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, replaceInput, strippedMethods inherited from interface org.apache.calcite.plan.RelOptNode
getCluster, getDescription, getId, getTraitSet
-
Constructor Details
-
PigTableScan
Creates a PigTableScan.
-
-
Method Details
-
implement
Description copied from interface:PigRelConverts this node to a Pig Latin statement. -
register
Description copied from interface:RelNodeRegisters any special rules specific to this kind of relational expression.The planner calls this method this first time that it sees a relational expression of this class. The derived class should call
RelOptPlanner.addRule(org.apache.calcite.plan.RelOptRule)for each rule, and then callsuper.register.- Specified by:
registerin interfaceRelNode- Overrides:
registerin classAbstractRelNode- Parameters:
planner- Planner to be used to register additional relational expressions
-