Class Metadata_V2.ParquetTableMetadata_v2
java.lang.Object
org.apache.drill.exec.store.parquet.metadata.MetadataBase.ParquetTableMetadataBase
org.apache.drill.exec.store.parquet.metadata.Metadata_V2.ParquetTableMetadata_v2
- Enclosing class:
- Metadata_V2
public static class Metadata_V2.ParquetTableMetadata_v2
extends MetadataBase.ParquetTableMetadataBase
Struct which contains the metadata for an entire parquet directory structure
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionParquetTableMetadata_v2
(String metadataVersion, String drillVersion) ParquetTableMetadata_v2
(String metadataVersion, List<Metadata_V2.ParquetFileMetadata_v2> files, List<org.apache.hadoop.fs.Path> directories, ConcurrentHashMap<Metadata_V2.ColumnTypeMetadata_v2.Key, Metadata_V2.ColumnTypeMetadata_v2> columnTypeInfo, String drillVersion) ParquetTableMetadata_v2
(String metadataVersion, MetadataBase.ParquetTableMetadataBase parquetTable, List<Metadata_V2.ParquetFileMetadata_v2> files, List<org.apache.hadoop.fs.Path> directories, String drillVersion) -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignFiles
(List<? extends MetadataBase.ParquetFileMetadata> newFiles) clone()
getColumnTypeInfo
(String[] name) List<? extends MetadataBase.ColumnTypeMetadata>
getDefinitionLevel
(String[] columnName) List<org.apache.hadoop.fs.Path>
List<? extends MetadataBase.ParquetFileMetadata>
getFiles()
org.apache.parquet.schema.OriginalType
getOriginalType
(String[] columnName) getPrecision
(String[] columnName) org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName
getPrimitiveType
(String[] columnName) getRepetitionLevel
(String[] columnName) boolean
boolean
Methods inherited from class org.apache.drill.exec.store.parquet.metadata.MetadataBase.ParquetTableMetadataBase
getRepetition
-
Field Details
-
columnTypeInfo
public ConcurrentHashMap<Metadata_V2.ColumnTypeMetadata_v2.Key,Metadata_V2.ColumnTypeMetadata_v2> columnTypeInfo
-
-
Constructor Details
-
ParquetTableMetadata_v2
public ParquetTableMetadata_v2() -
ParquetTableMetadata_v2
-
ParquetTableMetadata_v2
public ParquetTableMetadata_v2(String metadataVersion, MetadataBase.ParquetTableMetadataBase parquetTable, List<Metadata_V2.ParquetFileMetadata_v2> files, List<org.apache.hadoop.fs.Path> directories, String drillVersion) -
ParquetTableMetadata_v2
public ParquetTableMetadata_v2(String metadataVersion, List<Metadata_V2.ParquetFileMetadata_v2> files, List<org.apache.hadoop.fs.Path> directories, ConcurrentHashMap<Metadata_V2.ColumnTypeMetadata_v2.Key, Metadata_V2.ColumnTypeMetadata_v2> columnTypeInfo, String drillVersion)
-
-
Method Details
-
getColumnTypeInfo
-
getDirectories
- Specified by:
getDirectories
in classMetadataBase.ParquetTableMetadataBase
-
getFiles
- Specified by:
getFiles
in classMetadataBase.ParquetTableMetadataBase
-
assignFiles
- Specified by:
assignFiles
in classMetadataBase.ParquetTableMetadataBase
-
hasColumnMetadata
public boolean hasColumnMetadata()- Specified by:
hasColumnMetadata
in classMetadataBase.ParquetTableMetadataBase
-
getPrimitiveType
public org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName getPrimitiveType(String[] columnName) - Specified by:
getPrimitiveType
in classMetadataBase.ParquetTableMetadataBase
-
getOriginalType
- Specified by:
getOriginalType
in classMetadataBase.ParquetTableMetadataBase
-
getRepetitionLevel
- Specified by:
getRepetitionLevel
in classMetadataBase.ParquetTableMetadataBase
-
getDefinitionLevel
- Specified by:
getDefinitionLevel
in classMetadataBase.ParquetTableMetadataBase
-
getScale
- Specified by:
getScale
in classMetadataBase.ParquetTableMetadataBase
-
getPrecision
- Specified by:
getPrecision
in classMetadataBase.ParquetTableMetadataBase
-
isRowGroupPrunable
public boolean isRowGroupPrunable()- Specified by:
isRowGroupPrunable
in classMetadataBase.ParquetTableMetadataBase
-
clone
- Specified by:
clone
in classMetadataBase.ParquetTableMetadataBase
-
getDrillVersion
- Specified by:
getDrillVersion
in classMetadataBase.ParquetTableMetadataBase
-
getMetadataVersion
- Specified by:
getMetadataVersion
in classMetadataBase.ParquetTableMetadataBase
-
getColumnTypeInfoMap
public ConcurrentHashMap<Metadata_V2.ColumnTypeMetadata_v2.Key,Metadata_V2.ColumnTypeMetadata_v2> getColumnTypeInfoMap() -
getColumnTypeInfoList
- Specified by:
getColumnTypeInfoList
in classMetadataBase.ParquetTableMetadataBase
-