public class ParquetGroupScan extends AbstractParquetGroupScan
AbstractParquetGroupScan.RowGroupScanFilterer<B extends AbstractParquetGroupScan.RowGroupScanFilterer<B>>AbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer<B extends AbstractGroupScanWithMetadata.GroupScanWithMetadataFilterer<B>>entries, mappings, readerConfig, rowGroupscolumns, files, fileSet, filter, matchAllMetadata, maxRecords, metadataProvider, nonInterestingColumnsMetadata, partitionColumns, partitions, segments, tableMetadata, usedMetastoreINIT_ALLOCATION, initialAllocation, MAX_ALLOCATION, maxAllocationALL_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, supportsFilterPushDowncheckMetadataConsistency, getColumns, getColumnValueCount, getDigest, getFileSet, getFilesMetadata, getFilter, getFilterPredicate, getFilterPredicate, getFilterString, getMaxRecords, getMetadataProvider, getNextOrEmpty, getNonInterestingColumnsMetadata, getPartitionColumns, getPartitionsMetadata, getPartitionValue, getScanStats, getSchema, getSegmentsMetadata, getTableMetadata, getTypeForColumn, hasFiles, init, isAllDataPruned, isGroupScanFullyMatchesFilter, isImplicitOrPartCol, isMatchAllMetadata, limitMetadata, pruneForPartitions, setFilter, setFilterForRuntime, supportsLimitPushdown, usedMetastoresupportsPartitionFilterPushdownaccept, enforceWidth, getDistributionAffinity, getInitialAllocation, getMaxAllocation, getMinParallelizationWidth, getOperatorType, getScanStats, isDistributed, isExecutable, iteratoraccept, getCost, getOperatorId, getSVMode, getUserName, isBufferedOperator, setCost, setMaxAllocation, setOperatorIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenforceWidth, getMinParallelizationWidth, getScanStats, isDistributedaccept, getCost, getInitialAllocation, getMaxAllocation, getOperatorId, getOperatorType, getSVMode, getUserName, isBufferedOperator, isExecutable, setCost, setMaxAllocation, setOperatorIdacceptforEach, iterator, spliteratorgetDistributionAffinitypublic 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
IOExceptionpublic ParquetGroupScan(String userName, FileSelection selection, ParquetFormatPlugin formatPlugin, List<SchemaPath> columns, ParquetReaderConfig readerConfig, MetadataProviderManager metadataProviderManager) throws IOException
IOExceptionpublic ParquetGroupScan(String userName, FileSelection selection, ParquetFormatPlugin formatPlugin, List<SchemaPath> columns, ParquetReaderConfig readerConfig, LogicalExpression filter, MetadataProviderManager metadataProviderManager) throws IOException
IOExceptionpublic ParquetFormatConfig getFormatConfig()
public StoragePluginConfig getEngineConfig()
public org.apache.hadoop.fs.Path getSelectionRoot()
GroupScangetSelectionRoot in interface GroupScangetSelectionRoot in class AbstractGroupScanpublic org.apache.hadoop.fs.Path getCacheFileRoot()
public ParquetRowGroupScan getSpecificScan(int minorFragmentId)
public PhysicalOperator getNewWithChildren(List<PhysicalOperator> children)
PhysicalOperatorpublic GroupScan clone(List<SchemaPath> columns)
GroupScanclone in interface GroupScanclone in class AbstractGroupScanpublic ParquetGroupScan clone(FileSelection selection) throws IOException
clone in interface FileGroupScanclone in class AbstractFileGroupScanIOExceptionprotected AbstractParquetGroupScan cloneWithFileSelection(Collection<org.apache.hadoop.fs.Path> filePaths) throws IOException
cloneWithFileSelection in class AbstractParquetGroupScanIOExceptionprotected AbstractParquetGroupScan.RowGroupScanFilterer<?> getFilterer()
AbstractGroupScanWithMetadatagetFilterer in class AbstractParquetGroupScanprotected Collection<CoordinationProtos.DrillbitEndpoint> getDrillbits()
getDrillbits in class AbstractParquetGroupScanprotected boolean supportsFileImplicitColumns()
supportsFileImplicitColumns in class AbstractGroupScanWithMetadata<ParquetMetadataProvider>protected List<String> getPartitionValues(LocationProvider locationProvider)
getPartitionValues in class AbstractGroupScanWithMetadata<ParquetMetadataProvider>public AnalyzeInfoProvider getAnalyzeInfoProvider()
GroupScanAnalyzeInfoProvider instance which will be used when running ANALYZE statement.getAnalyzeInfoProvider in interface GroupScangetAnalyzeInfoProvider in class AbstractGroupScanAnalyzeInfoProvider instanceprotected ParquetTableMetadataProviderBuilder<?> defaultTableMetadataProviderBuilder(MetadataProviderManager source)
AbstractGroupScanWithMetadataTableMetadataProviderBuilder instance which may provide metadata
without using Drill Metastore.defaultTableMetadataProviderBuilder in class AbstractParquetGroupScansource - metadata provider managerTableMetadataProviderBuilder instanceprotected ParquetTableMetadataProviderBuilder<?> tableMetadataProviderBuilder(MetadataProviderManager source)
AbstractGroupScanWithMetadataTableMetadataProviderBuilder instance based on specified
MetadataProviderManager source.tableMetadataProviderBuilder in class AbstractGroupScanWithMetadata<ParquetMetadataProvider>source - metadata provider managerTableMetadataProviderBuilder instanceCopyright © 2021 The Apache Software Foundation. All rights reserved.