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();
 
  • Enum Constant Details

    • V1

      @Stability(Stable) public static final ParquetWriterVersion V1
      Use V1 Parquet writer version when writing the output.
    • V2

      @Stability(Stable) public static final ParquetWriterVersion V2
      Use V2 Parquet writer version when writing the output.
  • Method Details

    • values

      public static ParquetWriterVersion[] 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

      public static ParquetWriterVersion valueOf(String name)
      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 name
      NullPointerException - if the argument is null