Skip to content

/AWS1/CL_GLUSEARCHSORT

The sort criteria for search results.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_attribute TYPE /AWS1/GLUSEARCHATTRIBUTE /AWS1/GLUSEARCHATTRIBUTE

The attribute to sort by.

Optional arguments:

iv_order TYPE /AWS1/GLUSEARCHSORTORDER /AWS1/GLUSEARCHSORTORDER

The sort order. Valid values are ASCENDING and DESCENDING.


Queryable Attributes

Attribute

The attribute to sort by.

Accessible with the following methods

Method Description
GET_ATTRIBUTE() Getter for ATTRIBUTE, with configurable default
ASK_ATTRIBUTE() Getter for ATTRIBUTE w/ exceptions if field has no value
HAS_ATTRIBUTE() Determine if ATTRIBUTE has a value

Order

The sort order. Valid values are ASCENDING and DESCENDING.

Accessible with the following methods

Method Description
GET_ORDER() Getter for ORDER, with configurable default
ASK_ORDER() Getter for ORDER w/ exceptions if field has no value
HAS_ORDER() Determine if ORDER has a value