Skip to content

/AWS1/CL_GLUICEBERGSORTFIELD

Defines a single field within an Iceberg sort order specification, including the source field, transformation, sort direction, and null value ordering.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_sourceid TYPE /AWS1/GLUINTEGER /AWS1/GLUINTEGER

The identifier of the source field from the table schema that this sort field is based on.

iv_transform TYPE /AWS1/GLUICEBERGXFRMSTRING /AWS1/GLUICEBERGXFRMSTRING

The transformation function applied to the source field before sorting, such as identity, bucket, or truncate.

iv_direction TYPE /AWS1/GLUICEBERGSORTDIRECTION /AWS1/GLUICEBERGSORTDIRECTION

The sort direction for this field, either ascending or descending.

iv_nullorder TYPE /AWS1/GLUICEBERGNULLORDER /AWS1/GLUICEBERGNULLORDER

The ordering behavior for null values in this field, specifying whether nulls should appear first or last in the sort order.


Queryable Attributes

SourceId

The identifier of the source field from the table schema that this sort 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 before sorting, such as identity, bucket, or truncate.

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 for this field, either ascending or descending.

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

The ordering behavior for null values in this field, specifying whether nulls should appear first or last in the sort order.

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_ICEBERGSORTORDERFIELDLIST

TYPES TT_ICEBERGSORTORDERFIELDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_GLUICEBERGSORTFIELD WITH DEFAULT KEY
.