Interface TableProps

All Superinterfaces:
DatabaseOptions, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
TableProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.856Z") @Stability(Experimental) public interface TableProps extends software.amazon.jsii.JsiiSerializable, DatabaseOptions
(experimental) Properties for configuring a Redshift table.

Example:

 Table.Builder.create(this, "Table")
         .tableColumns(List.of(Column.builder().name("col1").dataType("varchar(4)").distKey(true).build(), Column.builder().name("col2").dataType("float").build()))
         .cluster(cluster)
         .databaseName("databaseName")
         .distStyle(TableDistStyle.KEY)
         .build();
 
  • Method Details

    • getTableColumns

      @Stability(Experimental) @NotNull List<Column> getTableColumns()
      (experimental) The columns of the table.
    • getDistStyle

      @Stability(Experimental) @Nullable default TableDistStyle getDistStyle()
      (experimental) The distribution style of the table.

      Default: TableDistStyle.AUTO

    • getRemovalPolicy

      @Stability(Experimental) @Nullable default RemovalPolicy getRemovalPolicy()
      (experimental) The policy to apply when this resource is removed from the application.

      Default: cdk.RemovalPolicy.Retain

    • getSortStyle

      @Stability(Experimental) @Nullable default TableSortStyle getSortStyle()
      (experimental) The sort style of the table.

      Default: TableSortStyle.AUTO if no sort key is specified, TableSortStyle.COMPOUND if a sort key is specified

    • getTableName

      @Stability(Experimental) @Nullable default String getTableName()
      (experimental) The name of the table.

      Default: - a name is generated

    • builder

      @Stability(Experimental) static TableProps.Builder builder()
      Returns:
      a TableProps.Builder of TableProps