software.amazon.awscdk.services.redshift.TableSortStyle Maven / Gradle / Ivy
package software.amazon.awscdk.services.redshift;
/**
* (experimental) The sort style of a table.
*
* Example:
*
*
* Table.Builder.create(this, "Table")
* .tableColumns(List.of(Column.builder().name("col1").dataType("varchar(4)").sortKey(true).build(), Column.builder().name("col2").dataType("float").sortKey(true).build()))
* .cluster(cluster)
* .databaseName("databaseName")
* .sortStyle(TableSortStyle.COMPOUND)
* .build();
*
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.74.0 (build 6d08790)", date = "2023-05-10T17:05:58.353Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.redshift.$Module.class, fqn = "@aws-cdk/aws-redshift.TableSortStyle")
public enum TableSortStyle {
/**
* (experimental) Amazon Redshift assigns an optimal sort key based on the table data.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
AUTO,
/**
* (experimental) Specifies that the data is sorted using a compound key made up of all of the listed columns, in the order they are listed.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
COMPOUND,
/**
* (experimental) Specifies that the data is sorted using an interleaved sort key.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
INTERLEAVED,
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy