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, initializeMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntries, getFileSet, getLocations, getRowGroupsMeta, getRowGroupsMetadataMap
checkMetadataVersion, getFileMetadata, getFilesForPartition, getFilesMetadataMap, getNonInterestingColumnsMetadata, getPartitionColumns, getPartitionMetadata, getPartitionsMetadata, getSegmentsMetadataMap, getTableMetadata
public boolean isUsedMetadataCache()
ParquetTableMetadataProvider
isUsedMetadataCache
in interface ParquetTableMetadataProvider
public org.apache.hadoop.fs.Path getSelectionRoot()
ParquetTableMetadataProvider
getSelectionRoot
in interface ParquetTableMetadataProvider
public 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 objectIOException
public boolean fileExists(DrillFileSystem fs, List<org.apache.hadoop.fs.Path> paths) throws IOException
IOException
protected void initInternal() throws IOException
initInternal
in class BaseParquetMetadataProvider
IOException
Copyright © 1970 The Apache Software Foundation. All rights reserved.