org.apache.openjpa.jdbc.meta
Class JDBCValueOrder
java.lang.Object
org.apache.openjpa.jdbc.meta.JDBCValueOrder
- All Implemented Interfaces:
- Serializable, JDBCOrder, Order
class JDBCValueOrder
- extends Object
- implements JDBCOrder
Order by value columns, which are the primary key columns in the case
of a relation field.
- Author:
- Abe White
| Fields inherited from interface org.apache.openjpa.meta.Order |
ELEMENT |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCValueOrder
public JDBCValueOrder(FieldMapping fm,
boolean asc)
getName
public String getName()
- Specified by:
getName in interface Order
getIdentifier
public DBIdentifier getIdentifier()
- Specified by:
getIdentifier in interface JDBCOrder
isAscending
public boolean isAscending()
- Specified by:
isAscending in interface Order
getComparator
public Comparator<?> getComparator()
- Specified by:
getComparator in interface Order
isInRelation
public boolean isInRelation()
- Description copied from interface:
JDBCOrder
- Whether the value is a member of the field's related type, rather than
columns of the field itself.
- Specified by:
isInRelation in interface JDBCOrder
order
public void order(Select sel,
ClassMapping elem,
Joins joins)
- Description copied from interface:
JDBCOrder
- Order by this value.
- Specified by:
order in interface JDBCOrder
elem - if this value has independent mappings, the mapping
we're selecting
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.