Constructor and Description |
---|
JDBCValueOrder(FieldMapping fm,
boolean asc) |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<?> |
getComparator()
Return a comparator for ordering by this element, or null if
the ordering is done in the datastore.
|
DBIdentifier |
getIdentifier() |
java.lang.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 java.lang.String getName()
Order
public DBIdentifier getIdentifier()
getIdentifier
in interface JDBCOrder
public boolean isAscending()
Order
isAscending
in interface Order
public java.util.Comparator<?> getComparator()
Order
getComparator
in interface Order
public boolean isInRelation()
JDBCOrder
isInRelation
in interface JDBCOrder
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.