/AWS1/CL_GLUICEBERGPARTFIELD¶
Defines a single partition field within an Iceberg partition specification, including the source field, transformation function, partition name, and unique identifier.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_sourceid TYPE /AWS1/GLUINTEGER /AWS1/GLUINTEGER¶
The identifier of the source field from the table schema that this partition field is based on.
iv_transform TYPE /AWS1/GLUICEBERGXFRMSTRING /AWS1/GLUICEBERGXFRMSTRING¶
The transformation function applied to the source field to create the partition, such as identity, bucket, truncate, year, month, day, or hour.
iv_name TYPE /AWS1/GLUCOLUMNNAMESTRING /AWS1/GLUCOLUMNNAMESTRING¶
The name of the partition field as it will appear in the partitioned table structure.
Optional arguments:¶
iv_fieldid TYPE /AWS1/GLUINTEGER /AWS1/GLUINTEGER¶
The unique identifier assigned to this partition field within the Iceberg table's partition specification.
Queryable Attributes¶
SourceId¶
The identifier of the source field from the table schema that this partition field is based on.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCEID() |
Getter for SOURCEID |
Transform¶
The transformation function applied to the source field to create the partition, such as identity, bucket, truncate, year, month, day, or hour.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TRANSFORM() |
Getter for TRANSFORM, with configurable default |
ASK_TRANSFORM() |
Getter for TRANSFORM w/ exceptions if field has no value |
HAS_TRANSFORM() |
Determine if TRANSFORM has a value |
Name¶
The name of the partition field as it will appear in the partitioned table structure.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
FieldId¶
The unique identifier assigned to this partition field within the Iceberg table's partition specification.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FIELDID() |
Getter for FIELDID |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_ICEBERGPARTSPECFIELDLIST¶
TYPES TT_ICEBERGPARTSPECFIELDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_GLUICEBERGPARTFIELD WITH DEFAULT KEY
.