Order Class
Contains details about how to sort the rows in the result set.
Equivalent to an ORDER BY statement in a SOQL
query.
Namespace
Usage
Used in the order
property on the DataSource.TableSelection class.
Order Properties
The following are properties for Order.
Order Methods
The following are methods for Order.
get(tableName, columnName, direction)
Creates an instance of the DataSource.Order class.
Signature
public static DataSource.Order get(String tableName, String columnName, DataSource.OrderDirection direction)
Parameters
- tableName
- Type: String
- Name of the table whose column values are used to sort the rows in the result set.
- columnName
- Type: String
- Name of the column whose values are used to sort the rows in the result set.
- direction
- Type: DataSource.OrderDirection
- Direction for sorting rows based on column values.
Return Value
Type: DataSource.Order