public class QSort extends Sort implements Serializable
OrderSpecifier
.Sort.Direction, Sort.Order
DEFAULT_DIRECTION
Constructor and Description |
---|
QSort(List<com.mysema.query.types.OrderSpecifier<?>> orderSpecifiers)
Creates a new
QSort instance with the given OrderSpecifier s. |
QSort(com.mysema.query.types.OrderSpecifier<?>... orderSpecifiers)
Creates a new
QSort instance with the given OrderSpecifier s. |
Modifier and Type | Method and Description |
---|---|
QSort |
and(List<com.mysema.query.types.OrderSpecifier<?>> orderSpecifiers)
|
QSort |
and(com.mysema.query.types.OrderSpecifier<?>... orderSpecifiers)
|
QSort |
and(QSort sort)
Returns a new
QSort consisting of the OrderSpecifier s of the current QSort combined with
the ones from the given QSort . |
List<com.mysema.query.types.OrderSpecifier<?>> |
getOrderSpecifiers() |
public QSort(com.mysema.query.types.OrderSpecifier<?>... orderSpecifiers)
QSort
instance with the given OrderSpecifier
s.orderSpecifiers
- must not be null or empty;public List<com.mysema.query.types.OrderSpecifier<?>> getOrderSpecifiers()
public QSort and(QSort sort)
QSort
consisting of the OrderSpecifier
s of the current QSort
combined with
the ones from the given QSort
.sort
- can be null.public QSort and(List<com.mysema.query.types.OrderSpecifier<?>> orderSpecifiers)
QSort
consisting of the OrderSpecifier
s of the current QSort
combined with
the given ones.orderSpecifiers
- must not be null or empty.Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.