class JDBCValueOrder extends Object implements JDBCOrder
| Constructor and Description |
|---|
JDBCValueOrder(FieldMapping fm,
boolean asc) |
| Modifier and Type | Method and Description |
|---|---|
Comparator<?> |
getComparator()
Return a comparator for ordering by this element, or null if
the ordering is done in the datastore.
|
DBIdentifier |
getIdentifier() |
String |
getName()
Return the name of the orderable.
|
boolean |
isAscending()
Order direction.
|
boolean |
isInRelation()
Whether the value is a member of the field's related type, rather than
columns of the field itself.
|
void |
order(Select sel,
ClassMapping elem,
Joins joins)
Order by this value.
|
public JDBCValueOrder(FieldMapping fm, boolean asc)
public String getName()
Orderpublic DBIdentifier getIdentifier()
getIdentifier in interface JDBCOrderpublic boolean isAscending()
OrderisAscending in interface Orderpublic Comparator<?> getComparator()
OrdergetComparator in interface Orderpublic boolean isInRelation()
JDBCOrderisInRelation in interface JDBCOrderCopyright © 2006–2013 Apache Software Foundation. All rights reserved.