class FileTableScan extends TableScan implements EnumerableRel
Like any table scan, it serves as a leaf node of a query tree.
Trivially modified from CsvTableScan.
EnumerableRel.Prefer, EnumerableRel.ResultRelNode.Context| Modifier and Type | Field and Description |
|---|---|
private int[] |
fields |
private FileTable |
webTable |
digest, id, rowType, traitSetFILTER_FACTORY, PROJECT_FACTORY| Modifier | Constructor and Description |
|---|---|
protected |
FileTableScan(RelOptCluster cluster,
RelOptTable table,
FileTable webTable,
int[] fields) |
| Modifier and Type | Method and Description |
|---|---|
RelNode |
copy(RelTraitSet traitSet,
List<RelNode> inputs) |
RelDataType |
deriveRowType() |
RelWriter |
explainTerms(RelWriter pw) |
EnumerableRel.Result |
implement(EnumerableRelImplementor implementor,
EnumerableRel.Prefer pref) |
accept, computeSelfCost, estimateRowCount, getCollationList, getTable, identity, identity, projectaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, 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, register, replaceInput, 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, getTraitSetprivate final FileTable webTable
private final int[] fields
protected FileTableScan(RelOptCluster cluster, RelOptTable table, FileTable webTable, int[] fields)
public RelNode copy(RelTraitSet traitSet, List<RelNode> inputs)
copy in interface RelNodecopy in class AbstractRelNodepublic RelWriter explainTerms(RelWriter pw)
explainTerms in class TableScanpublic RelDataType deriveRowType()
deriveRowType in class TableScanpublic EnumerableRel.Result implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref)
implement in interface EnumerableRelCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.