API reference
API reference
Select your platform
No SDKs available
No versions available

StringSortCriterion

StringSortCriterion

class StringSortCriterion(val attrId: Int) : SortCriterion
Represents a sorting criterion based on a StringAttribute.

Constructors

NameSummary
StringSortCriterion
constructor(attrId: Int)

Properties

NameSummary
attrId
val attrId: Int
propCode
var propCode: Int
sortOption
var sortOption: Int

Functions

NameSummary
asc
fun asc(): SortCriterion

function to set the sorting order to ascending
ascCaseInsensitive
fun ascCaseInsensitive(): StringSortCriterion

Specifies that the sort order should be ascending, ignoring case.
desc
fun desc(): SortCriterion

function to set the sorting order to descending
descCaseInsensitive
fun descCaseInsensitive(): StringSortCriterion

Specifies that the sort order should be descending, ignoring case.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon