Experimental
@aws-cdk/aws-redshift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
TableSortStyle Enum
The sort style of a table.
Example
ts
new Table(this, 'Table', {
tableColumns: [
{ name: 'col1', dataType: 'varchar(4)', sortKey: true },
{ name: 'col2', dataType: 'float', sortKey: true },
],
cluster: cluster,
databaseName: 'databaseName',
sortStyle: TableSortStyle.COMPOUND,
});
Members
| Member | Description |
|---|---|
AUTO | Amazon Redshift assigns an optimal sort key based on the table data. |
COMPOUND | 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 | Specifies that the data is sorted using an interleaved sort key. |
Referenced by
TableProps.sortStylesort_stylesortStyleSortStyleSortStyle