Package javax.jdo.query
Interface OrderExpression<T>
- 
- Type Parameters:
- T- Java type of the expression being represented here
 
 public interface OrderExpression<T>Expression representing the ordering using an expression, a direction, and how to treat nulls.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classOrderExpression.OrderDirectionstatic classOrderExpression.OrderNullsPosition
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description OrderExpression.OrderDirectiongetDirection()Accessor for the direction of the ordering with this expression.Expression<T>getExpression()Accessor for the expression being used for ordering.OrderExpression.OrderNullsPositiongetNullsPosition()Accessor for the position of nulls with this expression.OrderExpression<T>nullsFirst()Method to set nulls to be ordered BEFORE non-nulls.OrderExpression<T>nullsLast()Method to set nulls to be ordered AFTER non-nulls.
 
- 
- 
- 
Method Detail- 
getDirectionOrderExpression.OrderDirection getDirection() Accessor for the direction of the ordering with this expression.- Returns:
- The direction
 
 - 
nullsFirstOrderExpression<T> nullsFirst() Method to set nulls to be ordered BEFORE non-nulls.- Returns:
- The order expression
 
 - 
nullsLastOrderExpression<T> nullsLast() Method to set nulls to be ordered AFTER non-nulls.- Returns:
- The order expression
 
 - 
getNullsPositionOrderExpression.OrderNullsPosition getNullsPosition() Accessor for the position of nulls with this expression.- Returns:
- The nulls position (or null if not defined)
 
 - 
getExpressionExpression<T> getExpression() Accessor for the expression being used for ordering.- Returns:
- Ordering expression
 
 
- 
 
-