public class SimpleSortSpecification extends Object implements SortSpecification
| Modifier and Type | Method and Description |
|---|---|
String |
aliasOrName()
Return the column alias or column name.
|
SortSpecification |
descending()
Returns a new instance of the SortSpecification that should render as descending in an
ORDER BY clause.
|
boolean |
isDescending()
Return true if the sort order is descending.
|
static SimpleSortSpecification |
of(String name) |
public SortSpecification descending()
SortSpecificationdescending in interface SortSpecificationpublic String aliasOrName()
SortSpecificationaliasOrName in interface SortSpecificationpublic boolean isDescending()
SortSpecificationisDescending in interface SortSpecificationpublic static SimpleSortSpecification of(String name)
Copyright © 2016–2019 MyBatis.org. All rights reserved.