Class MetadataVersion.Constants
java.lang.Object
org.apache.drill.exec.store.parquet.metadata.MetadataVersion.Constants
- Enclosing class:
- MetadataVersion
Supported metadata versions.
 
 Note: keep them synchronized with MetadataBase.ParquetTableMetadataBase versions
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final SortedSet<MetadataVersion> All historical versions of the Drill metadata cache files.static final StringVersion 1: Introduces parquet file metadata caching.
 See DRILL-2743static final StringVersion 2: Metadata cache file size is reduced.
 See DRILL-4053static final StringVersion 3: Difference between v3 and v2 : min/max, type_length, precision, scale, repetitionLevel, definitionLevel.
 Filter pushdown for Parquet is implemented.static final StringVersion 3.1: Absolute paths of files and directories are replaced with relative ones.static final StringVersion 3.2: An array with the components of the field name inMetadata_V3.ColumnTypeMetadata_v3.Keyclass is replaced by theSchemaPath.
 See DRILL-4264static final StringVersion 3.3: Changed serialization of BINARY and FIXED_LEN_BYTE_ARRAY fields.
 See DRILL-4139static final StringVersion 4.0: Split the metadata cache file into summary and file metadatastatic final StringVersion 4.1: Added parents' original types inMetadata_V4.ColumnTypeMetadata_v4andMetadata_V4.ColumnMetadata_v4static final StringVersion 4.2: AddedType.RepetitiontoMetadata_V4.ColumnTypeMetadata_v4.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
V1Version 1: Introduces parquet file metadata caching.
 See DRILL-2743- See Also:
 
- 
V2Version 2: Metadata cache file size is reduced.
 See DRILL-4053- See Also:
 
- 
V3Version 3: Difference between v3 and v2 : min/max, type_length, precision, scale, repetitionLevel, definitionLevel.
 Filter pushdown for Parquet is implemented.
 See DRILL-1950- See Also:
 
- 
V3_1Version 3.1: Absolute paths of files and directories are replaced with relative ones. Metadata version value doesn't contain `v` letter
 See DRILL-3867, DRILL-5660- See Also:
 
- 
V3_2Version 3.2: An array with the components of the field name inMetadata_V3.ColumnTypeMetadata_v3.Keyclass is replaced by theSchemaPath.
 See DRILL-4264- See Also:
 
- 
V3_3Version 3.3: Changed serialization of BINARY and FIXED_LEN_BYTE_ARRAY fields.
 See DRILL-4139- See Also:
 
- 
V4Version 4.0: Split the metadata cache file into summary and file metadata- See Also:
 
- 
V4_1Version 4.1: Added parents' original types inMetadata_V4.ColumnTypeMetadata_v4andMetadata_V4.ColumnMetadata_v4- See Also:
 
- 
V4_2Version 4.2: AddedType.RepetitiontoMetadata_V4.ColumnTypeMetadata_v4.- See Also:
 
- 
SUPPORTED_VERSIONSAll historical versions of the Drill metadata cache files. In case of introducing a new parquet metadata version please follow theMetadataVersion.FORMAT.
 
- 
- 
Constructor Details- 
Constantspublic Constants()
 
- 
- 
Method Details- 
isVersionSupported- Parameters:
- metadataVersion- string representation of the parquet metadata version
- Returns:
- true if metadata version is supported, false otherwise
 
 
-