Skip to content

/AWS1/CL_S3TICEBERGSORTFIELD

Defines a single sort field in an Iceberg sort order specification.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_sourceid TYPE /AWS1/S3TINTEGER /AWS1/S3TINTEGER

The ID of the source schema field to sort by. This must reference a valid field ID from the table schema.

iv_transform TYPE /AWS1/S3TSTRING /AWS1/S3TSTRING

The transform to apply to the source field before sorting. Use identity to sort by the field value directly, or specify other transforms as needed.

iv_direction TYPE /AWS1/S3TICEBERGSORTDIRECTION /AWS1/S3TICEBERGSORTDIRECTION

The sort direction. Valid values are asc for ascending order or desc for descending order.

iv_nullorder TYPE /AWS1/S3TICEBERGNULLORDER /AWS1/S3TICEBERGNULLORDER

Specifies how null values are ordered. Valid values are nulls-first to place nulls before non-null values, or nulls-last to place nulls after non-null values.


Queryable Attributes

sourceId

The ID of the source schema field to sort by. This must reference a valid field ID from the table schema.

Accessible with the following methods

Method Description
GET_SOURCEID() Getter for SOURCEID, with configurable default
ASK_SOURCEID() Getter for SOURCEID w/ exceptions if field has no value
HAS_SOURCEID() Determine if SOURCEID has a value

transform

The transform to apply to the source field before sorting. Use identity to sort by the field value directly, or specify other transforms as needed.

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

direction

The sort direction. Valid values are asc for ascending order or desc for descending order.

Accessible with the following methods

Method Description
GET_DIRECTION() Getter for DIRECTION, with configurable default
ASK_DIRECTION() Getter for DIRECTION w/ exceptions if field has no value
HAS_DIRECTION() Determine if DIRECTION has a value

nullOrder

Specifies how null values are ordered. Valid values are nulls-first to place nulls before non-null values, or nulls-last to place nulls after non-null values.

Accessible with the following methods

Method Description
GET_NULLORDER() Getter for NULLORDER, with configurable default
ASK_NULLORDER() Getter for NULLORDER w/ exceptions if field has no value
HAS_NULLORDER() Determine if NULLORDER 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_ICEBERGSORTFIELDLIST

TYPES TT_ICEBERGSORTFIELDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_S3TICEBERGSORTFIELD WITH DEFAULT KEY
.