public class MetadataDirectGroupScan extends DirectGroupScan
reader, statsINIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocationALL_COLUMNS| Constructor and Description |
|---|
MetadataDirectGroupScan(RecordReader reader,
org.apache.hadoop.fs.Path selectionRoot,
int numFiles,
ScanStats stats,
boolean usedMetadataSummaryFile,
boolean usedMetastore) |
| Modifier and Type | Method and Description |
|---|---|
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 string representation of group scan data.
|
PhysicalOperator |
getNewWithChildren(List<PhysicalOperator> children)
Regenerate with this node with a new set of children.
|
org.apache.hadoop.fs.Path |
getSelectionRoot()
Returns path to the selection root.
|
applyAssignments, getColumns, getMaxParallelizationWidth, getScanStats, getSpecificScanaccept, applyFilter, applyLimit, canPushdownProjects, enforceWidth, getAnalyzeInfoProvider, getColumnValueCount, getDistributionAffinity, getFiles, getFilter, getInitialAllocation, getMaxAllocation, getMetadataProvider, getMinParallelizationWidth, getOperatorAffinity, getOperatorType, getPartitionColumns, getScanStats, getTableMetadata, hasFiles, isDistributed, isExecutable, iterator, supportsFilterPushDown, supportsLimitPushdown, supportsPartitionFilterPushdown, usedMetastoreaccept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdacceptforEach, spliteratorpublic MetadataDirectGroupScan(RecordReader reader, org.apache.hadoop.fs.Path selectionRoot, int numFiles, ScanStats stats, boolean usedMetadataSummaryFile, boolean usedMetastore)
public org.apache.hadoop.fs.Path getSelectionRoot()
GroupScangetSelectionRoot in interface GroupScangetSelectionRoot in class AbstractGroupScanpublic PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperatorgetNewWithChildren in interface PhysicalOperatorgetNewWithChildren in class DirectGroupScanpublic GroupScan clone(List<SchemaPath> columns)
GroupScanclone in interface GroupScanclone in class DirectGroupScanpublic String getDigest()
Returns string representation of group scan data. Includes selection root, number of files, if metadata summary file was used, such data is present.
Example: [selectionRoot = [/tmp/users], numFiles = 1, usedMetadataSummaryFile = false, usedMetastore = true]
getDigest in interface GroupScangetDigest in class DirectGroupScanCopyright © 2021 The Apache Software Foundation. All rights reserved.