Sort

Prev Next

Available in Classic and VPC

This is a sorting criteria.

Syntax

The syntax is as follows.

private String direction;
private String property;
private Boolean ignoreCase;
private String nullHandling;
private Boolean ascending;
private Boolean descending;

Field

The following describes the fields.

Field Type Required Description
direction String Required Sort direction
  • ASC | DESC
    • ASC: ascending
    • DESC: descending
property String Required Sorting criteria field name
ignoreCase Boolean Required Whether to be case sensitive when sorting
  • true | false
nullHandling String Required Null handling method
  • NATIVE | NULLS_FIRST | NULLS_LAST
    • NATIVE: Leave it to the data processing logic
    • NULLS_FIRST: Null values are pushed forward
    • NULLS_LAST: Null values are pushed back
ascending Boolean Required Whether the sort direction is ascending (ASC)
  • true | false
descending Boolean Required Whether the sort direction is descending (DESC)
  • true | false