Class SqlOrderByExpression
java.lang.Object
com.aoindustries.aoserv.client.sql.SqlOrderByExpression
An expression combined with a direction for use within "ORDER BY".
- Author:
- AO Industries, Inc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe optional case-insensitive representation for ascending.static final StringThe optional case-insensitive long-form representation for ascending.static final StringThe required case-insensitive representation for descending.static final StringThe required case-insensitive long-form representation for descending. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ASC
The optional case-insensitive representation for ascending.- See Also:
-
ASCENDING
The optional case-insensitive long-form representation for ascending.- See Also:
-
DESC
The required case-insensitive representation for descending.- See Also:
-
DESCENDING
The required case-insensitive long-form representation for descending.- See Also:
-
-
Constructor Details
-
SqlOrderByExpression
public SqlOrderByExpression(SqlExpression expression, boolean ascending) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
-
Method Details
-
toString
-
getExpression
-
isAscending
public boolean isAscending()Is ascending?- Returns:
- Either
AoservTable.ASCENDINGorAoservTable.DESCENDING.
-
