public class PigTableScan extends TableScan implements PigRel
TableScan in
Pig calling convention.PigRel.ImplementorRelNode.Contextdigest, id, rowType, traitSetCONVENTION| Constructor and Description |
|---|
PigTableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table)
Creates a PigTableScan.
|
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
getConcatenatedFieldNameAndTypeForPigSchema(PigRel.Implementor implementor,
RelDataTypeField field) |
private PigTable |
getPigTable(java.lang.String name) |
private java.lang.String |
getSchemaForPigStatement(PigRel.Implementor implementor) |
void |
implement(PigRel.Implementor implementor)
Converts this node to a Pig Latin statement.
|
void |
register(RelOptPlanner planner) |
accept, computeSelfCost, deriveRowType, estimateRowCount, explainTerms, getCollationList, getTable, identity, identity, projectaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, copy, explain, getChildExps, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, replaceInput, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, computeSelfCost, copy, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetpublic PigTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table)
public void implement(PigRel.Implementor implementor)
PigRelprivate PigTable getPigTable(java.lang.String name)
private java.lang.String getSchemaForPigStatement(PigRel.Implementor implementor)
private java.lang.String getConcatenatedFieldNameAndTypeForPigSchema(PigRel.Implementor implementor, RelDataTypeField field)
public void register(RelOptPlanner planner)
register in interface RelNoderegister in class AbstractRelNodeCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.