Class MetastoreParquetTableMetadataProvider.Builder
java.lang.Object
org.apache.drill.exec.metastore.store.MetastoreFileTableMetadataProvider.Builder<MetastoreParquetTableMetadataProvider.Builder>
org.apache.drill.exec.metastore.store.parquet.MetastoreParquetTableMetadataProvider.Builder
- All Implemented Interfaces:
FileTableMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
,ParquetMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
,ParquetTableMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
,TableMetadataProviderBuilder
- Enclosing class:
- MetastoreParquetTableMetadataProvider
public static class MetastoreParquetTableMetadataProvider.Builder
extends MetastoreFileTableMetadataProvider.Builder<MetastoreParquetTableMetadataProvider.Builder>
implements ParquetTableMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
-
Field Summary
Fields inherited from class org.apache.drill.exec.metastore.store.MetastoreFileTableMetadataProvider.Builder
metadataProviderManager, paths, schema
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
self()
withCacheFileRoot
(org.apache.hadoop.fs.Path cacheFileRoot) withCorrectCorruptedDates
(boolean autoCorrectCorruptedDates) withEntries
(List<ReadEntryWithPath> entries) withReaderConfig
(ParquetReaderConfig readerConfig) withSchema
(TupleMetadata schema) withSelection
(FileSelection selection) withSelectionRoot
(org.apache.hadoop.fs.Path selectionRoot) Methods inherited from class org.apache.drill.exec.metastore.store.MetastoreFileTableMetadataProvider.Builder
fs, metadataProviderManager, selection
-
Constructor Details
-
Builder
-
-
Method Details
-
withEntries
- Specified by:
withEntries
in interfaceParquetMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
-
withSelectionRoot
public MetastoreParquetTableMetadataProvider.Builder withSelectionRoot(org.apache.hadoop.fs.Path selectionRoot) - Specified by:
withSelectionRoot
in interfaceParquetMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
-
withCacheFileRoot
public MetastoreParquetTableMetadataProvider.Builder withCacheFileRoot(org.apache.hadoop.fs.Path cacheFileRoot) - Specified by:
withCacheFileRoot
in interfaceParquetTableMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
-
withReaderConfig
public MetastoreParquetTableMetadataProvider.Builder withReaderConfig(ParquetReaderConfig readerConfig) - Specified by:
withReaderConfig
in interfaceParquetMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
-
withFileSystem
- Specified by:
withFileSystem
in interfaceFileTableMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
- Overrides:
withFileSystem
in classMetastoreFileTableMetadataProvider.Builder<MetastoreParquetTableMetadataProvider.Builder>
-
withCorrectCorruptedDates
public MetastoreParquetTableMetadataProvider.Builder withCorrectCorruptedDates(boolean autoCorrectCorruptedDates) - Specified by:
withCorrectCorruptedDates
in interfaceParquetTableMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
-
withSelection
- Specified by:
withSelection
in interfaceFileTableMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
- Specified by:
withSelection
in interfaceParquetMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
- Overrides:
withSelection
in classMetastoreFileTableMetadataProvider.Builder<MetastoreParquetTableMetadataProvider.Builder>
-
withSchema
- Specified by:
withSchema
in interfaceParquetMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
- Specified by:
withSchema
in interfaceTableMetadataProviderBuilder
- Overrides:
withSchema
in classMetastoreFileTableMetadataProvider.Builder<MetastoreParquetTableMetadataProvider.Builder>
-
self
- Overrides:
self
in classMetastoreFileTableMetadataProvider.Builder<MetastoreParquetTableMetadataProvider.Builder>
-
build
- Specified by:
build
in interfaceParquetMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
- Specified by:
build
in interfaceParquetTableMetadataProviderBuilder<MetastoreParquetTableMetadataProvider.Builder>
- Specified by:
build
in interfaceTableMetadataProviderBuilder
- Overrides:
build
in classMetastoreFileTableMetadataProvider.Builder<MetastoreParquetTableMetadataProvider.Builder>
- Throws:
IOException
-