public class MetastoreParquetTableMetadataProvider extends MetastoreFileTableMetadataProvider implements ParquetTableMetadataProvider
TableMetadataProvider which uses Drill Metastore for providing
table metadata for parquet tables.| Modifier and Type | Class and Description |
|---|---|
static class |
MetastoreParquetTableMetadataProvider.Builder |
basicTablesRequests, fallbackToFileMetadata, files, metastoreTableInfo, partitions, paths, schema, segmentsMetadata, statsProvider, tableInfo, tableMetadata, useSchema, useStatistics| Modifier and Type | Method and Description |
|---|---|
List<ReadEntryWithPath> |
getEntries()
Returns list of
ReadEntryWithPath instances which represents paths to files to be scanned. |
Set<org.apache.hadoop.fs.Path> |
getFileSet()
Returns list of file locations for table.
|
List<org.apache.hadoop.fs.Path> |
getLocations()
Returns list of file paths which belong to current table.
|
List<RowGroupMetadata> |
getRowGroupsMeta()
Returns list of
RowGroupMetadata instances which provides metadata for specific row group and its columns. |
org.apache.drill.shaded.guava.com.google.common.collect.Multimap<org.apache.hadoop.fs.Path,RowGroupMetadata> |
getRowGroupsMetadataMap()
Returns multimap of
RowGroupMetadata instances which provides metadata
for specific row group and its columns mapped to their locations. |
org.apache.hadoop.fs.Path |
getSelectionRoot()
Returns root table path.
|
boolean |
isUsedMetadataCache()
Whether metadata cache files are used for table which belongs to current metadata provider.
|
checkMetadataVersion, getFileMetadata, getFilesForPartition, getFilesMetadataMap, getNonInterestingColumnsMetadata, getPartitionColumns, getPartitionMetadata, getPartitionsMetadata, getSegmentsMetadataMap, getTableMetadata, throwIfChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckMetadataVersion, getFileMetadata, getFilesForPartition, getFilesMetadataMap, getNonInterestingColumnsMetadata, getPartitionColumns, getPartitionMetadata, getPartitionsMetadata, getSegmentsMetadataMap, getTableMetadatapublic boolean isUsedMetadataCache()
ParquetTableMetadataProviderisUsedMetadataCache in interface ParquetTableMetadataProviderpublic org.apache.hadoop.fs.Path getSelectionRoot()
ParquetTableMetadataProvidergetSelectionRoot in interface ParquetTableMetadataProviderpublic List<ReadEntryWithPath> getEntries()
ParquetMetadataProviderReadEntryWithPath instances which represents paths to files to be scanned.getEntries in interface ParquetMetadataProviderReadEntryWithPath instances whith file pathspublic List<RowGroupMetadata> getRowGroupsMeta()
ParquetMetadataProviderRowGroupMetadata instances which provides metadata for specific row group and its columns.getRowGroupsMeta in interface ParquetMetadataProviderRowGroupMetadata instancespublic List<org.apache.hadoop.fs.Path> getLocations()
ParquetMetadataProvidergetLocations in interface ParquetMetadataProviderpublic org.apache.drill.shaded.guava.com.google.common.collect.Multimap<org.apache.hadoop.fs.Path,RowGroupMetadata> getRowGroupsMetadataMap()
ParquetMetadataProviderRowGroupMetadata instances which provides metadata
for specific row group and its columns mapped to their locations.getRowGroupsMetadataMap in interface ParquetMetadataProviderRowGroupMetadata instancespublic Set<org.apache.hadoop.fs.Path> getFileSet()
ParquetMetadataProvidergetFileSet in interface ParquetMetadataProviderCopyright © 2021 The Apache Software Foundation. All rights reserved.