public class ParquetGroupScan extends AbstractParquetGroupScan
AbstractParquetGroupScan.RowGroupScanFilterer<B extends AbstractParquetGroupScan.RowGroupScanFilterer<B>>
AbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer<B extends AbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer<B>>
entries, mappings, readerConfig, rowGroups
columns, files, fileSet, filter, limit, matchAllMetadata, metadataProvider, nonInterestingColumnsMetadata, partitionColumns, partitions, segments, tableMetadata, usedMetastore
INIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocation, userName
ALL_COLUMNS
Constructor and Description |
---|
ParquetGroupScan(StoragePluginRegistry engineRegistry,
String userName,
List<ReadEntryWithPath> entries,
StoragePluginConfig storageConfig,
FormatPluginConfig formatConfig,
List<SchemaPath> columns,
org.apache.hadoop.fs.Path selectionRoot,
org.apache.hadoop.fs.Path cacheFileRoot,
ParquetReaderConfig readerConfig,
LogicalExpression filter,
TupleMetadata schema) |
ParquetGroupScan(String userName,
FileSelection selection,
ParquetFormatPlugin formatPlugin,
List<SchemaPath> columns,
ParquetReaderConfig readerConfig,
LogicalExpression filter,
MetadataProviderManager metadataProviderManager) |
ParquetGroupScan(String userName,
FileSelection selection,
ParquetFormatPlugin formatPlugin,
List<SchemaPath> columns,
ParquetReaderConfig readerConfig,
MetadataProviderManager metadataProviderManager) |
Modifier and Type | Method and Description |
---|---|
ParquetGroupScan |
clone(FileSelection selection) |
GroupScan |
clone(List<SchemaPath> columns)
Returns a clone of GroupScan instance, except that the new GroupScan will use the provided list of columns .
|
protected AbstractParquetGroupScan |
cloneWithFileSelection(Collection<org.apache.hadoop.fs.Path> filePaths) |
protected ParquetTableMetadataProviderBuilder<?> |
defaultTableMetadataProviderBuilder(MetadataProviderManager source)
Returns
TableMetadataProviderBuilder instance which may provide metadata
without using Drill Metastore. |
AnalyzeInfoProvider |
getAnalyzeInfoProvider()
Returns
AnalyzeInfoProvider instance which will be used when running ANALYZE statement. |
org.apache.hadoop.fs.Path |
getCacheFileRoot() |
protected Collection<CoordinationProtos.DrillbitEndpoint> |
getDrillbits() |
StoragePluginConfig |
getEngineConfig() |
protected AbstractParquetGroupScan.RowGroupScanFilterer<?> |
getFilterer()
Returns holder for metadata values which provides API to filter metadata
and build new group scan instance using filtered metadata.
|
ParquetFormatConfig |
getFormatConfig() |
PhysicalOperator |
getNewWithChildren(List<PhysicalOperator> children)
Regenerate with this node with a new set of children.
|
protected List<String> |
getPartitionValues(LocationProvider locationProvider) |
org.apache.hadoop.fs.Path |
getSelectionRoot()
Returns path to the selection root.
|
ParquetRowGroupScan |
getSpecificScan(int minorFragmentId) |
protected boolean |
supportsFileImplicitColumns() |
protected ParquetTableMetadataProviderBuilder<?> |
tableMetadataProviderBuilder(MetadataProviderManager source)
Returns
TableMetadataProviderBuilder instance based on specified
MetadataProviderManager source. |
String |
toString() |
applyAssignments, applyFilter, applyLimit, canPushdownProjects, getEntries, getFiles, getMaxParallelizationWidth, getOperatorAffinity, getReadEntries, getReaderConfig, getReaderConfigForSerialization, getRowGroupsMetadata, modifyFileSelection, pruneForPartitions, pruneRowGroupsForFiles, supportsFilterPushDown
checkMetadataConsistency, getColumns, getColumnValueCount, getDigest, getFileSet, getFilesMetadata, getFilter, getFilterPredicate, getFilterPredicate, getFilterString, getLimit, getMetadataProvider, getNextOrEmpty, getNonInterestingColumnsMetadata, getPartitionColumns, getPartitionsMetadata, getPartitionValue, getScanStats, getSchema, getSegmentsMetadata, getTableMetadata, getTypeForColumn, hasFiles, init, isAllDataPruned, isGroupScanFullyMatchesFilter, isImplicitOrPartCol, isMatchAllMetadata, limitMetadata, pruneForPartitions, setFilter, setFilterForRuntime, supportsLimitPushdown, usedMetastore
supportsPartitionFilterPushdown
accept, enforceWidth, getDistributionAffinity, getInitialAllocation, getMaxAllocation, getMinParallelizationWidth, getOperatorType, getScanStats, getScanStats, isDistributed, isExecutable, iterator
accept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
enforceWidth, getMinParallelizationWidth, getScanStats, getScanStats, isDistributed
accept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorId
accept
forEach, iterator, spliterator
getDistributionAffinity
public ParquetGroupScan(StoragePluginRegistry engineRegistry, String userName, List<ReadEntryWithPath> entries, StoragePluginConfig storageConfig, FormatPluginConfig formatConfig, List<SchemaPath> columns, org.apache.hadoop.fs.Path selectionRoot, org.apache.hadoop.fs.Path cacheFileRoot, ParquetReaderConfig readerConfig, LogicalExpression filter, TupleMetadata schema) throws IOException
IOException
public ParquetGroupScan(String userName, FileSelection selection, ParquetFormatPlugin formatPlugin, List<SchemaPath> columns, ParquetReaderConfig readerConfig, MetadataProviderManager metadataProviderManager) throws IOException
IOException
public ParquetGroupScan(String userName, FileSelection selection, ParquetFormatPlugin formatPlugin, List<SchemaPath> columns, ParquetReaderConfig readerConfig, LogicalExpression filter, MetadataProviderManager metadataProviderManager) throws IOException
IOException
public ParquetFormatConfig getFormatConfig()
public StoragePluginConfig getEngineConfig()
public org.apache.hadoop.fs.Path getSelectionRoot()
GroupScan
getSelectionRoot
in interface GroupScan
getSelectionRoot
in class AbstractGroupScan
public org.apache.hadoop.fs.Path getCacheFileRoot()
public ParquetRowGroupScan getSpecificScan(int minorFragmentId)
public PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperator
public GroupScan clone(List<SchemaPath> columns)
GroupScan
clone
in interface GroupScan
clone
in class AbstractGroupScan
public ParquetGroupScan clone(FileSelection selection) throws IOException
clone
in interface FileGroupScan
clone
in class AbstractFileGroupScan
IOException
protected AbstractParquetGroupScan cloneWithFileSelection(Collection<org.apache.hadoop.fs.Path> filePaths) throws IOException
cloneWithFileSelection
in class AbstractParquetGroupScan
IOException
protected AbstractParquetGroupScan.RowGroupScanFilterer<?> getFilterer()
AbstractGroupScanWithMetadata
getFilterer
in class AbstractParquetGroupScan
protected Collection<CoordinationProtos.DrillbitEndpoint> getDrillbits()
getDrillbits
in class AbstractParquetGroupScan
protected boolean supportsFileImplicitColumns()
supportsFileImplicitColumns
in class AbstractGroupScanWithMetadata<ParquetMetadataProvider>
protected List<String> getPartitionValues(LocationProvider locationProvider)
getPartitionValues
in class AbstractGroupScanWithMetadata<ParquetMetadataProvider>
public AnalyzeInfoProvider getAnalyzeInfoProvider()
GroupScan
AnalyzeInfoProvider
instance which will be used when running ANALYZE statement.getAnalyzeInfoProvider
in interface GroupScan
getAnalyzeInfoProvider
in class AbstractGroupScan
AnalyzeInfoProvider
instanceprotected ParquetTableMetadataProviderBuilder<?> defaultTableMetadataProviderBuilder(MetadataProviderManager source)
AbstractGroupScanWithMetadata
TableMetadataProviderBuilder
instance which may provide metadata
without using Drill Metastore.defaultTableMetadataProviderBuilder
in class AbstractParquetGroupScan
source
- metadata provider managerTableMetadataProviderBuilder
instanceprotected ParquetTableMetadataProviderBuilder<?> tableMetadataProviderBuilder(MetadataProviderManager source)
AbstractGroupScanWithMetadata
TableMetadataProviderBuilder
instance based on specified
MetadataProviderManager
source.tableMetadataProviderBuilder
in class AbstractGroupScanWithMetadata<ParquetMetadataProvider>
source
- metadata provider managerTableMetadataProviderBuilder
instanceCopyright © 1970 The Apache Software Foundation. All rights reserved.