Class FileMetadataCollector
java.lang.Object
org.apache.drill.exec.store.parquet.metadata.FileMetadataCollector
Collects file metadata for the given parquet file. For empty parquet file will
generate fake row group metadata based on file schema.
-
Constructor Summary
ConstructorDescriptionFileMetadataCollector
(org.apache.parquet.hadoop.metadata.ParquetMetadata metadata, org.apache.hadoop.fs.FileStatus file, org.apache.hadoop.fs.FileSystem fs, boolean allColumnsInteresting, boolean skipNonInteresting, Set<SchemaPath> columnSet, ParquetReaderConfig readerConfig) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
FileMetadataCollector
public FileMetadataCollector(org.apache.parquet.hadoop.metadata.ParquetMetadata metadata, org.apache.hadoop.fs.FileStatus file, org.apache.hadoop.fs.FileSystem fs, boolean allColumnsInteresting, boolean skipNonInteresting, Set<SchemaPath> columnSet, ParquetReaderConfig readerConfig) throws IOException - Throws:
IOException
-
-
Method Details
-
getFileMetadata
-
getColumnTypeInfo
public Map<Metadata_V4.ColumnTypeMetadata_v4.Key,Metadata_V4.ColumnTypeMetadata_v4> getColumnTypeInfo()
-