Enum StorageParameters

java.lang.Object
java.lang.Enum<StorageParameters>
software.amazon.awscdk.services.glue.alpha.StorageParameters
All Implemented Interfaces:
Serializable, Comparable<StorageParameters>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-17T14:54:30.229Z") @Stability(Deprecated) @Deprecated public enum StorageParameters extends Enum<StorageParameters>
Deprecated.
(deprecated) The storage parameter keys that are currently known, this list is not exhaustive and other keys may be used.

Example:

 IDatabase glueDatabase;
 S3Table table = S3Table.Builder.create(this, "Table")
         .storageParameters(List.of(StorageParameter.skipHeaderLineCount(1), StorageParameter.compressionType(CompressionType.GZIP), StorageParameter.custom("foo", "bar"), StorageParameter.custom("separatorChar", ","), StorageParameter.custom(StorageParameters.WRITE_PARALLEL, "off")))
         // ...
         .database(glueDatabase)
         .columns(List.of(Column.builder()
                 .name("col1")
                 .type(Schema.STRING)
                 .build()))
         .dataFormat(DataFormat.CSV)
         .build();
 
  • Enum Constant Details

    • SKIP_HEADER_LINE_COUNT

      @Stability(Deprecated) @Deprecated public static final StorageParameters SKIP_HEADER_LINE_COUNT
      Deprecated.
      (deprecated) The number of rows to skip at the top of a CSV file when the table is being created.
    • DATA_CLEANSING_ENABLED

      @Stability(Deprecated) @Deprecated public static final StorageParameters DATA_CLEANSING_ENABLED
      Deprecated.
      (deprecated) Determines whether data handling is on for the table.
    • COMPRESSION_TYPE

      @Stability(Deprecated) @Deprecated public static final StorageParameters COMPRESSION_TYPE
      Deprecated.
      (deprecated) The type of compression used on the table, when the file name does not contain an extension.

      This value overrides the compression type specified through the extension.

    • INVALID_CHAR_HANDLING

      @Stability(Deprecated) @Deprecated public static final StorageParameters INVALID_CHAR_HANDLING
      Deprecated.
      (deprecated) Specifies the action to perform when query results contain invalid UTF-8 character values.
    • REPLACEMENT_CHAR

      @Stability(Deprecated) @Deprecated public static final StorageParameters REPLACEMENT_CHAR
      Deprecated.
      (deprecated) Specifies the replacement character to use when you set INVALID_CHAR_HANDLING to REPLACE.
    • NUMERIC_OVERFLOW_HANDLING

      @Stability(Deprecated) @Deprecated public static final StorageParameters NUMERIC_OVERFLOW_HANDLING
      Deprecated.
      (deprecated) Specifies the action to perform when ORC data contains an integer (for example, BIGINT or int64) that is larger than the column definition (for example, SMALLINT or int16).
    • SURPLUS_BYTES_HANDLING

      @Stability(Deprecated) @Deprecated public static final StorageParameters SURPLUS_BYTES_HANDLING
      Deprecated.
      (deprecated) Specifies how to handle data being loaded that exceeds the length of the data type defined for columns containing VARBYTE data.

      By default, Redshift Spectrum sets the value to null for data that exceeds the width of the column.

    • SURPLUS_CHAR_HANDLING

      @Stability(Deprecated) @Deprecated public static final StorageParameters SURPLUS_CHAR_HANDLING
      Deprecated.
      (deprecated) Specifies how to handle data being loaded that exceeds the length of the data type defined for columns containing VARCHAR, CHAR, or string data.

      By default, Redshift Spectrum sets the value to null for data that exceeds the width of the column.

    • COLUMN_COUNT_MISMATCH_HANDLING

      @Stability(Deprecated) @Deprecated public static final StorageParameters COLUMN_COUNT_MISMATCH_HANDLING
      Deprecated.
      (deprecated) Identifies if the file contains less or more values for a row than the number of columns specified in the external table definition.

      This property is only available for an uncompressed text file format.

    • NUM_ROWS

      @Stability(Deprecated) @Deprecated public static final StorageParameters NUM_ROWS
      Deprecated.
      (deprecated) A property that sets the numRows value for the table definition.

      To explicitly update an external table's statistics, set the numRows property to indicate the size of the table. Amazon Redshift doesn't analyze external tables to generate the table statistics that the query optimizer uses to generate a query plan. If table statistics aren't set for an external table, Amazon Redshift generates a query execution plan based on an assumption that external tables are the larger tables and local tables are the smaller tables.

    • SERIALIZATION_NULL_FORMAT

      @Stability(Deprecated) @Deprecated public static final StorageParameters SERIALIZATION_NULL_FORMAT
      Deprecated.
      (deprecated) A property that sets number of rows to skip at the beginning of each source file.
    • ORC_SCHEMA_RESOLUTION

      @Stability(Deprecated) @Deprecated public static final StorageParameters ORC_SCHEMA_RESOLUTION
      Deprecated.
      (deprecated) A property that sets the column mapping type for tables that use ORC data format.

      This property is ignored for other data formats.

    • WRITE_PARALLEL

      @Stability(Deprecated) @Deprecated public static final StorageParameters WRITE_PARALLEL
      Deprecated.
      (deprecated) A property that sets whether CREATE EXTERNAL TABLE AS should write data in parallel.

      When 'write.parallel' is set to off, CREATE EXTERNAL TABLE AS writes to one or more data files serially onto Amazon S3. This table property also applies to any subsequent INSERT statement into the same external table.

    • WRITE_MAX_FILESIZE_MB

      @Stability(Deprecated) @Deprecated public static final StorageParameters WRITE_MAX_FILESIZE_MB
      Deprecated.
      (deprecated) A property that sets the maximum size (in MB) of each file written to Amazon S3 by CREATE EXTERNAL TABLE AS.

      The size must be a valid integer between 5 and 6200. The default maximum file size is 6,200 MB. This table property also applies to any subsequent INSERT statement into the same external table.

    • WRITE_KMS_KEY_ID

      @Stability(Deprecated) @Deprecated public static final StorageParameters WRITE_KMS_KEY_ID
      Deprecated.
      (deprecated) You can specify an AWS Key Management Service key to enable Server–Side Encryption (SSE) for Amazon S3 objects.
  • Method Details

    • values

      public static StorageParameters[] values()
      Deprecated.
      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 StorageParameters valueOf(String name)
      Deprecated.
      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