Class TableSortStyle
(experimental) The sort style of a table.
Inheritance
Namespace: Amazon.CDK.AWS.Redshift
Assembly: Amazon.CDK.AWS.Redshift.dll
Syntax (csharp)
public sealed class TableSortStyle : Enum
Syntax (vb)
Public NotInheritable Class TableSortStyle
Inherits
Enum
Remarks
Stability: Experimental
ExampleMetadata: fixture=cluster infused
Examples
new Table(this, "Table", new TableProps {
TableColumns = new [] { new Column { Name = "col1", DataType = "varchar(4)", SortKey = true }, new Column { Name = "col2", DataType = "float", SortKey = true } },
Cluster = cluster,
DatabaseName = "databaseName",
SortStyle = TableSortStyle.COMPOUND
});
Synopsis
Fields
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. |
value__ |
Fields
AUTO
(experimental) Amazon Redshift assigns an optimal sort key based on the table data.
public const TableSortStyle AUTO
Field Value
Type | Description |
---|---|
TableSortStyle |
Remarks
Stability: Experimental
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.
public const TableSortStyle COMPOUND
Field Value
Type | Description |
---|---|
TableSortStyle |
Remarks
Stability: Experimental
INTERLEAVED
(experimental) Specifies that the data is sorted using an interleaved sort key.
public const TableSortStyle INTERLEAVED
Field Value
Type | Description |
---|---|
TableSortStyle |
Remarks
Stability: Experimental
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |