Skip to content

/AWS1/CL_S3TSCHEMAV2FIELD

Contains details about a schema field in the V2 format. This field format supports nested and complex data types such as struct, list, and map, in addition to primitive types.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_id TYPE /AWS1/S3TINTEGER /AWS1/S3TINTEGER

The unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes.

iv_name TYPE /AWS1/S3TSTRING /AWS1/S3TSTRING

The name of the field.

io_type TYPE REF TO /AWS1/CL_RT_DOCUMENT /AWS1/CL_RT_DOCUMENT

The data type of the field. This can be a primitive type string such as boolean, int, long, float, double, string, binary, date, timestamp, or timestamptz, or a complex type represented as a JSON object for nested types such as struct, list, or map. For more information, see the Apache Iceberg schemas and data types documentation.

iv_required TYPE /AWS1/S3TBOOLEAN /AWS1/S3TBOOLEAN

A Boolean value that specifies whether values are required for each row in this field. If this is true, the field does not allow null values.

Optional arguments:

iv_doc TYPE /AWS1/S3TSTRING /AWS1/S3TSTRING

An optional description of the field.


Queryable Attributes

id

The unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

name

The name of the field.

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

type

The data type of the field. This can be a primitive type string such as boolean, int, long, float, double, string, binary, date, timestamp, or timestamptz, or a complex type represented as a JSON object for nested types such as struct, list, or map. For more information, see the Apache Iceberg schemas and data types documentation.

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

required

A Boolean value that specifies whether values are required for each row in this field. If this is true, the field does not allow null values.

Accessible with the following methods

Method Description
GET_REQUIRED() Getter for REQUIRED, with configurable default
ASK_REQUIRED() Getter for REQUIRED w/ exceptions if field has no value
HAS_REQUIRED() Determine if REQUIRED has a value

doc

An optional description of the field.

Accessible with the following methods

Method Description
GET_DOC() Getter for DOC, with configurable default
ASK_DOC() Getter for DOC w/ exceptions if field has no value
HAS_DOC() Determine if DOC has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_SCHEMAV2FIELDLIST

TYPES TT_SCHEMAV2FIELDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_S3TSCHEMAV2FIELD WITH DEFAULT KEY
.