Uses of Class
org.apache.drill.exec.store.parquet.metadata.MetadataBase.ParquetTableMetadataBase
Package
Description
-
Uses of MetadataBase.ParquetTableMetadataBase in org.apache.drill.exec.store.parquet
Modifier and TypeFieldDescriptionprotected MetadataBase.ParquetTableMetadataBase
BaseParquetMetadataProvider.parquetTableMetadata
Modifier and TypeMethodDescriptionstatic void
ParquetReaderUtility.correctDatesInMetadataCache
(MetadataBase.ParquetTableMetadataBase parquetTableMetadata) static RowsMatch
FilterEvaluatorUtils.evalFilter
(LogicalExpression expr, MetadataBase.ParquetTableMetadataBase footer, int rowGroupIndex, OptionManager options, FragmentContext fragmentContext) static Map<SchemaPath,
TypeProtos.MajorType> ParquetTableMetadataUtils.getFileFields
(MetadataBase.ParquetTableMetadataBase parquetTableMetadata, MetadataBase.ParquetFileMetadata file) Returns map of column names with their drill types for specifiedfile
.static Map<SchemaPath,
TypeProtos.MajorType> ParquetTableMetadataUtils.getIntermediateFields
(MetadataBase.ParquetTableMetadataBase parquetTableMetadata, MetadataBase.RowGroupMetadata rowGroup) Returns map of column names with their Drill types for everyNameSegment
inSchemaPath
in specifiedrowGroup
.ParquetTableMetadataUtils.getNonInterestingColumnsMeta
(MetadataBase.ParquetTableMetadataBase parquetTableMetadata) Returns the non-interesting column's metadatastatic org.apache.parquet.schema.OriginalType
ParquetTableMetadataUtils.getOriginalType
(MetadataBase.ParquetTableMetadataBase parquetTableMetadata, MetadataBase.ColumnMetadata column) ReturnsOriginalType
type for the specified column.static org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName
ParquetTableMetadataUtils.getPrimitiveTypeName
(MetadataBase.ParquetTableMetadataBase parquetTableMetadata, MetadataBase.ColumnMetadata column) ReturnsPrimitiveType.PrimitiveTypeName
type for the specified column.static Map<SchemaPath,
ColumnStatistics<?>> ParquetTableMetadataUtils.getRowGroupColumnStatistics
(MetadataBase.ParquetTableMetadataBase tableMetadata, MetadataBase.RowGroupMetadata rowGroupMetadata) Converts specifiedMetadataBase.RowGroupMetadata
into the map ofColumnStatistics
instances with column names as keys.static Map<SchemaPath,
TypeProtos.MajorType> ParquetTableMetadataUtils.getRowGroupFields
(MetadataBase.ParquetTableMetadataBase parquetTableMetadata, MetadataBase.RowGroupMetadata rowGroup) Returns map of column names with their drill types for specifiedrowGroup
.static RowGroupMetadata
ParquetTableMetadataUtils.getRowGroupMetadata
(MetadataBase.ParquetTableMetadataBase tableMetadata, MetadataBase.RowGroupMetadata rowGroupMetadata, int rgIndexInFile, org.apache.hadoop.fs.Path location) ReturnsRowGroupMetadata
instance converted from specified parquetrowGroupMetadata
.static org.apache.drill.shaded.guava.com.google.common.collect.Multimap<org.apache.hadoop.fs.Path,
RowGroupMetadata> ParquetTableMetadataUtils.getRowGroupsMetadata
(MetadataBase.ParquetTableMetadataBase tableMetadata) Returns list ofRowGroupMetadata
received by converting parquet row groups metadata taken from the specified tableMetadata.static void
ParquetReaderUtility.transformBinaryInMetadataCache
(MetadataBase.ParquetTableMetadataBase parquetTableMetadata, ParquetReaderConfig readerConfig) Transforms values for min / max binary statistics to byte array. -
Uses of MetadataBase.ParquetTableMetadataBase in org.apache.drill.exec.store.parquet.metadata
Modifier and TypeClassDescriptionstatic class
static class
Struct which contains the metadata for an entire parquet directory structurestatic class
static class
Modifier and TypeMethodDescriptionMetadata_V1.ParquetTableMetadata_v1.clone()
Metadata_V2.ParquetTableMetadata_v2.clone()
Metadata_V3.ParquetTableMetadata_v3.clone()
Metadata_V4.ParquetTableMetadata_v4.clone()
MetadataBase.ParquetTableMetadataBase.clone()
Metadata.readBlockMeta
(org.apache.hadoop.fs.FileSystem fs, List<org.apache.hadoop.fs.Path> paths, MetadataContext metaContext, ParquetReaderConfig readerConfig) Get the parquet metadata for the table by reading the metadata fileModifierConstructorDescriptionParquetTableMetadata_v2
(String metadataVersion, MetadataBase.ParquetTableMetadataBase parquetTable, List<Metadata_V2.ParquetFileMetadata_v2> files, List<org.apache.hadoop.fs.Path> directories, String drillVersion) ParquetTableMetadata_v3
(String metadataVersion, MetadataBase.ParquetTableMetadataBase parquetTable, List<Metadata_V3.ParquetFileMetadata_v3> files, List<org.apache.hadoop.fs.Path> directories, String drillVersion) ParquetTableMetadata_v4
(String metadataVersion, MetadataBase.ParquetTableMetadataBase parquetTableMetadata, List<Metadata_V4.ParquetFileMetadata_v4> files, List<org.apache.hadoop.fs.Path> directories, String drillVersion, long totalRowCount, boolean allColumnsInteresting)