Enum ColumnEncoding

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

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:15.987Z") @Stability(Experimental) public enum ColumnEncoding extends Enum<ColumnEncoding>
(experimental) The compression encoding of a column.

Example:

 import software.amazon.awscdk.services.redshift.alpha.ColumnEncoding;
 Table.Builder.create(this, "Table")
         .tableColumns(List.of(Column.builder().name("col1").dataType("varchar(4)").encoding(ColumnEncoding.TEXT32K).build(), Column.builder().name("col2").dataType("float").encoding(ColumnEncoding.DELTA32K).build()))
         .cluster(cluster)
         .databaseName("databaseName")
         .build();
 

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    (experimental) Amazon Redshift assigns an optimal encoding based on the column data.
    (experimental) The column is compressed using the AZ64 algorithm.
    (experimental) The column is compressed using a separate dictionary for each block column value on disk.
    (experimental) The column is compressed based on the difference between values in the column.
    (experimental) The column is compressed based on the difference between values in the column.
    (experimental) The column is compressed using the LZO algorithm.
    (experimental) The column is compressed to a smaller storage size than the original data type.
    (experimental) The column is compressed to a smaller storage size than the original data type.
    (experimental) The column is compressed to a smaller storage size than the original data type.
    (experimental) The column is not compressed.
    (experimental) The column is compressed by recording the number of occurrences of each value in the column.
    (experimental) The column is compressed by recording the first 245 unique words and then using a 1-byte index to represent each word.
    (experimental) The column is compressed by recording the first 32K unique words and then using a 2-byte index to represent each word.
    (experimental) The column is compressed using the ZSTD algorithm.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait