public class ParquetTableMetadataProviderImpl extends BaseParquetMetadataProvider implements ParquetTableMetadataProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
ParquetTableMetadataProviderImpl.Builder |
entries, fileSet, NULL_VALUE, parquetTableMetadata, readerConfig, schema, statsTable, tableLocation, tableName| Modifier and Type | Method and Description |
|---|---|
boolean |
fileExists(DrillFileSystem fs,
List<org.apache.hadoop.fs.Path> paths) |
org.apache.hadoop.fs.Path |
getSelectionRoot()
Returns root table path.
|
protected void |
initInternal() |
boolean |
isUsedMetadataCache()
Whether metadata cache files are used for table which belongs to current metadata provider.
|
List<org.apache.hadoop.fs.Path> |
populateMetaPaths(org.apache.hadoop.fs.Path p,
DrillFileSystem fs)
Returns list of metadata cache files
|
checkMetadataVersion, getEntries, getFileMetadata, getFileSet, getFilesForPartition, getFilesMetadataMap, getLocations, getNonInterestingColumnsMetadata, getPartitionColumns, getPartitionMetadata, getPartitionsMetadata, getRowGroupsMeta, getRowGroupsMetadataMap, getSegmentsMetadataMap, getTableMetadata, init, initializeMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntries, getFileSet, getLocations, getRowGroupsMeta, getRowGroupsMetadataMapcheckMetadataVersion, 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<org.apache.hadoop.fs.Path> populateMetaPaths(org.apache.hadoop.fs.Path p, DrillFileSystem fs) throws IOException
p - directory path of the cache filefs - filesystem objectIOExceptionpublic boolean fileExists(DrillFileSystem fs, List<org.apache.hadoop.fs.Path> paths) throws IOException
IOExceptionprotected void initInternal()
throws IOException
initInternal in class BaseParquetMetadataProviderIOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.