Class Metadata_V1.ParquetTableMetadata_v1
java.lang.Object
org.apache.drill.exec.store.parquet.metadata.MetadataBase.ParquetTableMetadataBase
org.apache.drill.exec.store.parquet.metadata.Metadata_V1.ParquetTableMetadata_v1
- Enclosing class:
- Metadata_V1
public static class Metadata_V1.ParquetTableMetadata_v1
extends MetadataBase.ParquetTableMetadataBase
-
Constructor Summary
ConstructorDescriptionParquetTableMetadata_v1
(String metadataVersion, List<Metadata_V1.ParquetFileMetadata_v1> files, List<org.apache.hadoop.fs.Path> directories) -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignFiles
(List<? extends MetadataBase.ParquetFileMetadata> newFiles) clone()
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
-
Constructor Details
-
ParquetTableMetadata_v1
public ParquetTableMetadata_v1() -
ParquetTableMetadata_v1
public ParquetTableMetadata_v1(String metadataVersion, List<Metadata_V1.ParquetFileMetadata_v1> files, List<org.apache.hadoop.fs.Path> directories)
-
-
Method Details
-
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
-
getColumnTypeInfoList
- Specified by:
getColumnTypeInfoList
in classMetadataBase.ParquetTableMetadataBase
-