public class MetadataDirectGroupScan extends DirectGroupScan
reader, stats
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
ALL_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, getSpecificScan
accept, applyFilter, applyLimit, canPushdownProjects, enforceWidth, getAnalyzeInfoProvider, getColumnValueCount, getDistributionAffinity, getFiles, getFilter, getInitialAllocation, getMaxAllocation, getMetadataProvider, getMinParallelizationWidth, getOperatorAffinity, getOperatorType, getPartitionColumns, getScanStats, getScanStats, getTableMetadata, hasFiles, isDistributed, isExecutable, iterator, supportsFilterPushDown, supportsLimitPushdown, supportsPartitionFilterPushdown, usedMetastore
accept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
accept
forEach, spliterator
public MetadataDirectGroupScan(RecordReader reader, org.apache.hadoop.fs.Path selectionRoot, int numFiles, ScanStats stats, boolean usedMetadataSummaryFile, boolean usedMetastore)
public org.apache.hadoop.fs.Path getSelectionRoot()
GroupScan
getSelectionRoot
in interface GroupScan
getSelectionRoot
in class AbstractGroupScan
public PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperator
getNewWithChildren
in interface PhysicalOperator
getNewWithChildren
in class DirectGroupScan
public GroupScan clone(List<SchemaPath> columns)
GroupScan
clone
in interface GroupScan
clone
in class DirectGroupScan
public 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 GroupScan
getDigest
in class DirectGroupScan
Copyright © 1970 The Apache Software Foundation. All rights reserved.