public class SystemTableScan extends AbstractGroupScan implements SubScan
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocationloggerALL_COLUMNS, NO_COLUMN_STATS| Constructor and Description |
|---|
SystemTableScan(SystemTable table,
StoragePluginRegistry engineRegistry) |
SystemTableScan(SystemTable table,
SystemTablePlugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyAssignments(List<CoordinationProtos.DrillbitEndpoint> endpoints) |
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. |
DistributionAffinity |
getDistributionAffinity()
Get distribution affinity which describes the parallelization strategy of the operator.
|
long |
getInitialAllocation() |
long |
getMaxAllocation() |
int |
getMaxParallelizationWidth() |
int |
getMinParallelizationWidth()
At minimum, the GroupScan requires these many fragments to run.
|
PhysicalOperator |
getNewWithChildren(List<PhysicalOperator> children)
Regenerate with this node with a new set of children.
|
List<EndpointAffinity> |
getOperatorAffinity()
If distributed, the scan needs to happen on every node.
|
int |
getOperatorType() |
SystemTablePlugin |
getPlugin() |
ScanStats |
getScanStats()
System tables do not need stats.
|
SubScan |
getSpecificScan(int minorFragmentId) |
SystemTable |
getTable() |
accept, applyLimit, canPushdownProjects, enforceWidth, getColumnValueCount, getFiles, getPartitionColumns, getScanStats, hasFiles, isExecutable, iterator, supportsLimitPushdown, supportsPartitionFilterPushdownaccept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdacceptpublic SystemTableScan(SystemTable table, StoragePluginRegistry engineRegistry) throws IOException, ExecutionSetupException
IOExceptionExecutionSetupExceptionpublic SystemTableScan(SystemTable table, SystemTablePlugin plugin)
public ScanStats getScanStats()
getScanStats in class AbstractGroupScanpublic PhysicalOperator getNewWithChildren(List<PhysicalOperator> children) throws ExecutionSetupException
PhysicalOperatorgetNewWithChildren in interface PhysicalOperatorExecutionSetupExceptionpublic void applyAssignments(List<CoordinationProtos.DrillbitEndpoint> endpoints) throws PhysicalOperatorSetupException
applyAssignments in interface GroupScanPhysicalOperatorSetupExceptionpublic SubScan getSpecificScan(int minorFragmentId) throws ExecutionSetupException
getSpecificScan in interface GroupScanExecutionSetupExceptionpublic int getMaxParallelizationWidth()
getMaxParallelizationWidth in interface GroupScanpublic int getMinParallelizationWidth()
GroupScanSimpleParallelizergetMinParallelizationWidth in interface GroupScangetMinParallelizationWidth in class AbstractGroupScanpublic long getInitialAllocation()
getInitialAllocation in interface PhysicalOperatorgetInitialAllocation in class AbstractGroupScanpublic long getMaxAllocation()
getMaxAllocation in interface PhysicalOperatorgetMaxAllocation in class AbstractGroupScanpublic String getDigest()
GroupScanGroupScan which should usually be composed of
all its attributes which could describe it uniquely.public int getOperatorType()
getOperatorType in interface PhysicalOperatorgetOperatorType in class AbstractGroupScanpublic List<EndpointAffinity> getOperatorAffinity()
getOperatorAffinity in interface HasAffinitygetOperatorAffinity in class AbstractGroupScanpublic DistributionAffinity getDistributionAffinity()
HasAffinitygetDistributionAffinity in interface HasAffinitygetDistributionAffinity in class AbstractGroupScanpublic GroupScan clone(List<SchemaPath> columns)
GroupScanclone in interface GroupScanclone in class AbstractGroupScanpublic SystemTable getTable()
public SystemTablePlugin getPlugin()
Copyright © 2017 The Apache Software Foundation. All rights reserved.