@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.592Z") @Stability(value=Stable) public interface CfnTableProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
Object parameters;
Object skewedColumnValueLocationMaps;
CfnTableProps cfnTableProps = CfnTableProps.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.tableInput(TableInputProperty.builder()
.description("description")
.name("name")
.owner("owner")
.parameters(parameters)
.partitionKeys(List.of(ColumnProperty.builder()
.name("name")
// the properties below are optional
.comment("comment")
.type("type")
.build()))
.retention(123)
.storageDescriptor(StorageDescriptorProperty.builder()
.bucketColumns(List.of("bucketColumns"))
.columns(List.of(ColumnProperty.builder()
.name("name")
// the properties below are optional
.comment("comment")
.type("type")
.build()))
.compressed(false)
.inputFormat("inputFormat")
.location("location")
.numberOfBuckets(123)
.outputFormat("outputFormat")
.parameters(parameters)
.schemaReference(SchemaReferenceProperty.builder()
.schemaId(SchemaIdProperty.builder()
.registryName("registryName")
.schemaArn("schemaArn")
.schemaName("schemaName")
.build())
.schemaVersionId("schemaVersionId")
.schemaVersionNumber(123)
.build())
.serdeInfo(SerdeInfoProperty.builder()
.name("name")
.parameters(parameters)
.serializationLibrary("serializationLibrary")
.build())
.skewedInfo(SkewedInfoProperty.builder()
.skewedColumnNames(List.of("skewedColumnNames"))
.skewedColumnValueLocationMaps(skewedColumnValueLocationMaps)
.skewedColumnValues(List.of("skewedColumnValues"))
.build())
.sortColumns(List.of(OrderProperty.builder()
.column("column")
.sortOrder(123)
.build()))
.storedAsSubDirectories(false)
.build())
.tableType("tableType")
.targetTable(TableIdentifierProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.name("name")
.build())
.viewExpandedText("viewExpandedText")
.viewOriginalText("viewOriginalText")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTableProps.Builder
A builder for
CfnTableProps |
static class |
CfnTableProps.Jsii$Proxy
An implementation for
CfnTableProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnTableProps.Builder |
builder() |
String |
getCatalogId()
The ID of the Data Catalog in which to create the `Table` .
|
String |
getDatabaseName()
The name of the database where the table metadata resides.
|
Object |
getTableInput()
A structure used to define a table.
|
@Stability(value=Stable) @NotNull String getCatalogId()
If none is supplied, the AWS account ID is used by default.
@Stability(value=Stable) @NotNull String getDatabaseName()
For Hive compatibility, this must be all lowercase.
@Stability(value=Stable) @NotNull Object getTableInput()
@Stability(value=Stable) static CfnTableProps.Builder builder()
CfnTableProps.Builder of CfnTablePropsCopyright © 2022. All rights reserved.