Interface CfnTable.IcebergSchemaV2Property
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTable.IcebergSchemaV2Property.Jsii$Proxy
- Enclosing class:
CfnTable
@Stability(Stable)
public static interface CfnTable.IcebergSchemaV2Property
extends software.amazon.jsii.JsiiSerializable
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.
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;
IcebergSchemaV2Property icebergSchemaV2Property = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTable.IcebergSchemaV2Propertystatic final classAn implementation forCfnTable.IcebergSchemaV2Property -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA list of field IDs that are used as the identifier fields for the table.default NumberAn optional unique identifier for the schema.List of schema fields that support nested types.The type of the top-level schema, which is always 'struct'.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSchemaV2FieldList
List of schema fields that support nested types.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTable.SchemaV2FieldProperty>- See Also:
-
getSchemaV2FieldType
The type of the top-level schema, which is always 'struct'.- See Also:
-
getIdentifierFieldIds
A list of field IDs that are used as the identifier fields for the table.Identifier fields uniquely identify a row in the table.
Returns union: either Listinvalid input: '<'
Number> orIResolvable- See Also:
-
getSchemaId
An optional unique identifier for the schema.- See Also:
-
builder
-