Enum TableSortStyle
- All Implemented Interfaces:
Serializable
,Comparable<TableSortStyle>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.857Z")
@Stability(Experimental)
public enum TableSortStyle
extends Enum<TableSortStyle>
(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();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription(experimental) Amazon Redshift assigns an optimal sort key based on the table data.(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.(experimental) Specifies that the data is sorted using an interleaved sort key. -
Method Summary
Modifier and TypeMethodDescriptionstatic TableSortStyle
Returns the enum constant of this type with the specified name.static TableSortStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AUTO
(experimental) Amazon Redshift assigns an optimal sort key based on the table data. -
COMPOUND
(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. -
INTERLEAVED
(experimental) Specifies that the data is sorted using an interleaved sort key.
-
-
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
-