Enum ParquetWriterVersion
java.lang.Object
java.lang.Enum<ParquetWriterVersion>
software.amazon.awscdk.services.kinesisfirehose.ParquetWriterVersion
- All Implemented Interfaces:
Serializable,Comparable<ParquetWriterVersion>,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:40.991Z")
@Stability(Stable)
public enum ParquetWriterVersion
extends Enum<ParquetWriterVersion>
The available WriterVersions for Parquet output format.
Example:
ParquetOutputFormat outputFormat = ParquetOutputFormat.Builder.create()
.blockSize(Size.mebibytes(512))
.compression(ParquetCompression.UNCOMPRESSED)
.enableDictionaryCompression(true)
.maxPadding(Size.bytes(10))
.pageSize(Size.mebibytes(2))
.writerVersion(ParquetWriterVersion.V2)
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ParquetWriterVersionReturns the enum constant of this type with the specified name.static ParquetWriterVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
V1
Use V1 Parquet writer version when writing the output. -
V2
Use V2 Parquet writer version when writing the output.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-