Interface IcebergSchemaProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IcebergSchemaProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-08-06T18:14:48.674Z")
@Stability(Experimental)
public interface IcebergSchemaProperty
extends software.amazon.jsii.JsiiSerializable
(experimental) Contains details about the schema for an Iceberg table.
Example:
// Build a table Table sampleTable = Table.Builder.create(scope, "ExampleTable") .tableName("example_table") .namespace(namespace) .openTableFormat(OpenTableFormat.ICEBERG) .withoutMetadata(true) .build(); // Build a table with an Iceberg Schema Table sampleTableWithSchema = Table.Builder.create(scope, "ExampleSchemaTable") .tableName("example_table_with_schema") .namespace(namespace) .openTableFormat(OpenTableFormat.ICEBERG) .icebergMetadata(IcebergMetadataProperty.builder() .icebergSchema(IcebergSchemaProperty.builder() .schemaFieldList(List.of(SchemaFieldProperty.builder() .name("id") .type("int") .required(true) .build(), SchemaFieldProperty.builder() .name("name") .type("string") .build())) .build()) .build()) .compaction(CompactionProperty.builder() .status(Status.ENABLED) .targetFileSizeMb(128) .build()) .snapshotManagement(SnapshotManagementProperty.builder() .status(Status.ENABLED) .maxSnapshotAgeHours(48) .minSnapshotsToKeep(5) .build()) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forIcebergSchemaProperty
static final class
An implementation forIcebergSchemaProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
(experimental) Contains details about the schema for an Iceberg table.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSchemaFieldList
(experimental) Contains details about the schema for an Iceberg table. -
builder
- Returns:
- a
IcebergSchemaProperty.Builder
ofIcebergSchemaProperty
-