Interface CfnTableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTableProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:11.835Z")
@Stability(Stable)
public interface CfnTableProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTable.
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")
.region("region")
.build())
.viewExpandedText("viewExpandedText")
.viewOriginalText("viewOriginalText")
.build())
// the properties below are optional
.openTableFormatInput(OpenTableFormatInputProperty.builder()
.icebergInput(IcebergInputProperty.builder()
.metadataOperation("metadataOperation")
.version("version")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTablePropsstatic final classAn implementation forCfnTableProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTableProps.Builderbuilder()The ID of the Data Catalog in which to create theTable.The name of the database where the table metadata resides.default ObjectSpecifies anOpenTableFormatInputstructure when creating an open format table.A structure used to define a table.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCatalogId
The ID of the Data Catalog in which to create theTable.- See Also:
-
getDatabaseName
The name of the database where the table metadata resides.For Hive compatibility, this must be all lowercase.
- See Also:
-
getTableInput
A structure used to define a table.- See Also:
-
getOpenTableFormatInput
Specifies anOpenTableFormatInputstructure when creating an open format table.- See Also:
-
builder
- Returns:
- a
CfnTableProps.BuilderofCfnTableProps
-