public class SchemalessScan extends AbstractFileGroupScan implements SubScan
DynamicDrillTable
with null selection)INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
ALL_COLUMNS
Constructor and Description |
---|
SchemalessScan(SchemalessScan that) |
SchemalessScan(String userName,
org.apache.hadoop.fs.Path selectionRoot) |
SchemalessScan(String userName,
org.apache.hadoop.fs.Path selectionRoot,
List<SchemaPath> columns) |
Modifier and Type | Method and Description |
---|---|
void |
applyAssignments(List<CoordinationProtos.DrillbitEndpoint> endpoints) |
boolean |
canPushdownProjects(List<SchemaPath> columns)
GroupScan should check the list of columns, and see if it could support all the columns in the list.
|
GroupScan |
clone(List<SchemaPath> columns)
Returns a clone of GroupScan instance, except that the new GroupScan will use the provided list of columns .
|
String |
getDigest()
Returns a signature of the
GroupScan which should usually be composed of
all its attributes which could describe it uniquely. |
int |
getMaxParallelizationWidth() |
PhysicalOperator |
getNewWithChildren(List<PhysicalOperator> children)
Regenerate with this node with a new set of children.
|
ScanStats |
getScanStats() |
org.apache.hadoop.fs.Path |
getSelectionRoot()
Returns path to the selection root.
|
SubScan |
getSpecificScan(int minorFragmentId) |
boolean |
supportsPartitionFilterPushdown()
Whether or not this GroupScan supports pushdown of partition filters (directories for filesystems)
|
String |
toString() |
clone, modifyFileSelection
accept, applyFilter, applyLimit, enforceWidth, getAnalyzeInfoProvider, getColumns, getColumnValueCount, getDistributionAffinity, getFiles, getFilter, getInitialAllocation, getMaxAllocation, getMetadataProvider, getMinParallelizationWidth, getOperatorAffinity, getOperatorType, getPartitionColumns, getScanStats, getScanStats, getTableMetadata, hasFiles, isDistributed, isExecutable, iterator, supportsFilterPushDown, supportsLimitPushdown, usedMetastore
accept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
accept
forEach, iterator, spliterator
applyFilter, applyLimit, enforceWidth, getAnalyzeInfoProvider, getColumns, getColumnValueCount, getFiles, getFilter, getMetadataProvider, getMinParallelizationWidth, getPartitionColumns, getScanStats, getScanStats, getTableMetadata, hasFiles, isDistributed, supportsFilterPushDown, supportsLimitPushdown, usedMetastore
getDistributionAffinity, getOperatorAffinity
public SchemalessScan(String userName, org.apache.hadoop.fs.Path selectionRoot, List<SchemaPath> columns)
public SchemalessScan(String userName, org.apache.hadoop.fs.Path selectionRoot)
public SchemalessScan(SchemalessScan that)
public org.apache.hadoop.fs.Path getSelectionRoot()
GroupScan
getSelectionRoot
in interface GroupScan
getSelectionRoot
in class AbstractGroupScan
public void applyAssignments(List<CoordinationProtos.DrillbitEndpoint> endpoints)
applyAssignments
in interface GroupScan
public SubScan getSpecificScan(int minorFragmentId)
getSpecificScan
in interface GroupScan
public int getMaxParallelizationWidth()
getMaxParallelizationWidth
in interface GroupScan
public String getDigest()
GroupScan
GroupScan
which should usually be composed of
all its attributes which could describe it uniquely.public PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperator
getNewWithChildren
in interface PhysicalOperator
public GroupScan clone(List<SchemaPath> columns)
GroupScan
clone
in interface GroupScan
clone
in class AbstractGroupScan
public ScanStats getScanStats()
getScanStats
in class AbstractGroupScan
public boolean canPushdownProjects(List<SchemaPath> columns)
GroupScan
canPushdownProjects
in interface GroupScan
canPushdownProjects
in class AbstractGroupScan
public boolean supportsPartitionFilterPushdown()
GroupScan
supportsPartitionFilterPushdown
in interface GroupScan
supportsPartitionFilterPushdown
in class AbstractFileGroupScan
Copyright © 1970 The Apache Software Foundation. All rights reserved.