|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.meta.JDBCColumnOrder
class JDBCColumnOrder
Order by a synthetic order column.
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.meta.Order |
---|
ELEMENT |
Constructor Summary | |
---|---|
JDBCColumnOrder()
|
Method Summary | |
---|---|
Column |
getColumn()
The synthetic column. |
ColumnIO |
getColumnIO()
I/O restrictions for the synthetic column. |
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. |
void |
setColumn(Column col)
The synthetic column. |
void |
setColumnIO(ColumnIO io)
I/O restrictions for the synthetic column. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
JDBCColumnOrder()
Method Detail |
---|
public Column getColumn()
public void setColumn(Column col)
public ColumnIO getColumnIO()
public void setColumnIO(ColumnIO io)
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 |