T
- related expression type@Immutable public class OrderSpecifier<T extends Comparable> extends Object implements Serializable
OrderSpecifier
represents an order-by-element in a Query instanceModifier and Type | Class and Description |
---|---|
static class |
OrderSpecifier.NullHandling
Behaviour for order of null values
|
Constructor and Description |
---|
OrderSpecifier(Order order,
Expression<T> target) |
OrderSpecifier(Order order,
Expression<T> target,
OrderSpecifier.NullHandling nullhandling) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
OrderSpecifier.NullHandling |
getNullHandling()
Get the null handling
|
Order |
getOrder()
Get the order of this specifier
|
Expression<T> |
getTarget()
Get the target expression of this OrderSpecifier
|
int |
hashCode() |
boolean |
isAscending()
Get whether the order is ascending or not
|
OrderSpecifier<T> |
nullsFirst()
Create a new OrderSpecifier instance with null first enabled
|
OrderSpecifier<T> |
nullsLast()
Create a new OrderSpecifier instance with nulls last enabled
|
String |
toString() |
public OrderSpecifier(Order order, Expression<T> target, OrderSpecifier.NullHandling nullhandling)
public OrderSpecifier(Order order, Expression<T> target)
public Order getOrder()
public boolean isAscending()
public Expression<T> getTarget()
public OrderSpecifier.NullHandling getNullHandling()
public OrderSpecifier<T> nullsFirst()
public OrderSpecifier<T> nullsLast()
Copyright © 2007–2016 Querydsl. All rights reserved.