/AWS1/CL_S3TICEBERGSCHEMAV2¶
Contains details about the schema for an Iceberg table using the V2 format. This schema format supports nested and complex data types such as struct, list, and map, in addition to primitive types.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_type TYPE /AWS1/S3TSCHEMAV2FIELDTYPE /AWS1/S3TSCHEMAV2FIELDTYPE¶
The type of the top-level schema, which is always a
structtype as defined in the Apache Iceberg specification. This value must bestruct.
it_fields TYPE /AWS1/CL_S3TSCHEMAV2FIELD=>TT_SCHEMAV2FIELDLIST TT_SCHEMAV2FIELDLIST¶
The schema fields for the table. Each field defines a column in the table, including its name, type, and whether it is required.
Optional arguments:¶
iv_schemaid TYPE /AWS1/S3TINTEGER /AWS1/S3TINTEGER¶
An optional unique identifier for the schema. Schema IDs are used by Apache Iceberg to track schema evolution.
it_identifierfieldids TYPE /AWS1/CL_S3TINTEGERLIST_W=>TT_INTEGERLIST TT_INTEGERLIST¶
A list of field IDs that are used as the identifier fields for the table. Identifier fields uniquely identify a row in the table.
Queryable Attributes¶
type¶
The type of the top-level schema, which is always a
structtype as defined in the Apache Iceberg specification. This value must bestruct.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE has a value |
fields¶
The schema fields for the table. Each field defines a column in the table, including its name, type, and whether it is required.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FIELDS() |
Getter for FIELDS, with configurable default |
ASK_FIELDS() |
Getter for FIELDS w/ exceptions if field has no value |
HAS_FIELDS() |
Determine if FIELDS has a value |
schemaId¶
An optional unique identifier for the schema. Schema IDs are used by Apache Iceberg to track schema evolution.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCHEMAID() |
Getter for SCHEMAID, with configurable default |
ASK_SCHEMAID() |
Getter for SCHEMAID w/ exceptions if field has no value |
HAS_SCHEMAID() |
Determine if SCHEMAID has a value |
identifierFieldIds¶
A list of field IDs that are used as the identifier fields for the table. Identifier fields uniquely identify a row in the table.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IDENTIFIERFIELDIDS() |
Getter for IDENTIFIERFIELDIDS, with configurable default |
ASK_IDENTIFIERFIELDIDS() |
Getter for IDENTIFIERFIELDIDS w/ exceptions if field has no |
HAS_IDENTIFIERFIELDIDS() |
Determine if IDENTIFIERFIELDIDS has a value |