Interface CfnTable.IcebergMetadataProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTable.IcebergMetadataProperty.Jsii$Proxy
- Enclosing class:
CfnTable
@Stability(Stable)
public static interface CfnTable.IcebergMetadataProperty
extends software.amazon.jsii.JsiiSerializable
Contains details about the metadata for an Iceberg table.
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.s3tables.*;
Object type;
IcebergMetadataProperty icebergMetadataProperty = IcebergMetadataProperty.builder()
.icebergPartitionSpec(IcebergPartitionSpecProperty.builder()
.fields(List.of(IcebergPartitionFieldProperty.builder()
.name("name")
.sourceId(123)
.transform("transform")
// the properties below are optional
.fieldId(123)
.build()))
// the properties below are optional
.specId(123)
.build())
.icebergSchema(IcebergSchemaProperty.builder()
.schemaFieldList(List.of(SchemaFieldProperty.builder()
.name("name")
.type("type")
// the properties below are optional
.id(123)
.required(false)
.build()))
.build())
.icebergSchemaV2(IcebergSchemaV2Property.builder()
.schemaV2FieldList(List.of(SchemaV2FieldProperty.builder()
.id(123)
.name("name")
.required(false)
.type(type)
// the properties below are optional
.doc("doc")
.build()))
.schemaV2FieldType("schemaV2FieldType")
// the properties below are optional
.identifierFieldIds(List.of(123))
.schemaId(123)
.build())
.icebergSortOrder(IcebergSortOrderProperty.builder()
.fields(List.of(IcebergSortFieldProperty.builder()
.direction("direction")
.nullOrder("nullOrder")
.sourceId(123)
.transform("transform")
.build()))
// the properties below are optional
.orderId(123)
.build())
.tableProperties(Map.of(
"tablePropertiesKey", "tableProperties"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTable.IcebergMetadataPropertystatic final classAn implementation forCfnTable.IcebergMetadataProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectPartition specification for an Iceberg table.default ObjectThe schema for an Iceberg table.default ObjectContains details about the schema version 2 (V2) for an Iceberg table that supports Apache Iceberg Nested Types (struct, list, map).default ObjectSort order specification for an Iceberg table.default ObjectIceberg table properties (e.g., format-version, write.parquet.compression-codec).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIcebergPartitionSpec
Partition specification for an Iceberg table.Returns union: either
IResolvableorCfnTable.IcebergPartitionSpecProperty- See Also:
-
getIcebergSchema
The schema for an Iceberg table.Returns union: either
IResolvableorCfnTable.IcebergSchemaProperty- See Also:
-
getIcebergSchemaV2
Contains details about the schema version 2 (V2) for an Iceberg table that supports Apache Iceberg Nested Types (struct, list, map).Primitive types are also supported.
Returns union: either
IResolvableorCfnTable.IcebergSchemaV2Property- See Also:
-
getIcebergSortOrder
Sort order specification for an Iceberg table.Returns union: either
IResolvableorCfnTable.IcebergSortOrderProperty- See Also:
-
getTableProperties
Iceberg table properties (e.g., format-version, write.parquet.compression-codec).Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
builder
-