Class MetastoreFileTableMetadataProvider.Builder<T extends MetastoreFileTableMetadataProvider.Builder<T>>
java.lang.Object
org.apache.drill.exec.metastore.store.MetastoreFileTableMetadataProvider.Builder<T>
- All Implemented Interfaces:
FileTableMetadataProviderBuilder<T>
,TableMetadataProviderBuilder
- Direct Known Subclasses:
MetastoreParquetTableMetadataProvider.Builder
- Enclosing class:
- MetastoreFileTableMetadataProvider
public static class MetastoreFileTableMetadataProvider.Builder<T extends MetastoreFileTableMetadataProvider.Builder<T>>
extends Object
implements FileTableMetadataProviderBuilder<T>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final TableMetadataProviderBuilder
protected final MetastoreMetadataProviderManager
protected TupleMetadata
-
Constructor Summary
ModifierConstructorDescriptionprotected
Builder
(MetastoreMetadataProviderManager source, TableMetadataProviderBuilder fallback) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
fs()
protected T
self()
withSchema
(TupleMetadata schema) withSelection
(FileSelection selection)
-
Field Details
-
metadataProviderManager
-
fallback
-
schema
-
paths
-
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
withSchema
- Specified by:
withSchema
in interfaceTableMetadataProviderBuilder
-
withSelection
- Specified by:
withSelection
in interfaceFileTableMetadataProviderBuilder<T extends MetastoreFileTableMetadataProvider.Builder<T>>
-
withFileSystem
- Specified by:
withFileSystem
in interfaceFileTableMetadataProviderBuilder<T extends MetastoreFileTableMetadataProvider.Builder<T>>
-
self
-
metadataProviderManager
-
selection
-
fs
-
build
- Specified by:
build
in interfaceTableMetadataProviderBuilder
- Throws:
IOException
-