|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.meta.JDBCRelatedFieldOrder
class JDBCRelatedFieldOrder
Use the database to order by a field in the related type.
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.meta.Order |
---|
ELEMENT |
Constructor Summary | |
---|---|
JDBCRelatedFieldOrder(FieldMapping owner,
FieldMapping rel,
boolean asc)
|
Method Summary | |
---|---|
Comparator<?> |
getComparator()
Return a comparator for ordering by this element, or null if the ordering is done in the datastore. |
DBIdentifier |
getIdentifier()
|
String |
getName()
Deprecated. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBCRelatedFieldOrder(FieldMapping owner, FieldMapping rel, boolean asc)
Method Detail |
---|
public String getName()
Order
getName
in interface Order
public DBIdentifier getIdentifier()
getIdentifier
in interface JDBCOrder
public boolean isAscending()
Order
isAscending
in interface Order
public Comparator<?> getComparator()
Order
getComparator
in interface Order
public boolean isInRelation()
JDBCOrder
isInRelation
in interface JDBCOrder
public void order(Select sel, ClassMapping elem, Joins joins)
JDBCOrder
order
in interface JDBCOrder
elem
- if this value has independent mappings, the mapping
we're selecting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |