public static class QueryBuilderTools.Order
extends java.lang.Object
This class is available as a preview of functionality that will be added to
the supported public API in a future release. While it is in the preview
phase, it is subject to change or removal without deprecation or notice.
Although notice of change is not guaranteed, we will try to let developers
know of major changes through announcements in release notes.
This class helps to construct a SortInfo
according to the desired order.
Constructor and Description |
---|
Order() |
Modifier and Type | Method and Description |
---|---|
static SortInfo |
asc(Column a)
Apply an ascending order to the given
Column |
static SortInfo |
asc(ColumnAlias a)
Apply an ascending order to the given
ColumnAlias |
static SortInfo |
asc(java.lang.String c)
Apply an ascending order to the given field name or column alias name
|
static SortInfo |
desc(Column a)
Apply a descending order to the given
Column |
static SortInfo |
desc(ColumnAlias a)
Apply a descending order to the given
ColumnAlias |
static SortInfo |
desc(java.lang.String c)
Apply a descending order to the given field name or column alias name
|
public static SortInfo asc(ColumnAlias a)
ColumnAlias
a
- ColumnAlias
SortInfo
representing ascending orderpublic static SortInfo desc(ColumnAlias a)
ColumnAlias
a
- ColumnAlias
SortInfo
representing descending orderpublic static SortInfo asc(java.lang.String c)
c
- ColumnAlias
SortInfo
representing ascending orderpublic static SortInfo desc(java.lang.String c)
c
- ColumnAlias
SortInfo
representing descending orderCopyright © 2003-2024 Appian Corporation. All Rights Reserved.