public class QSort extends Sort implements Serializable
OrderSpecifier.Sort.Direction, Sort.NullHandling, Sort.OrderDEFAULT_DIRECTION| Constructor and Description |
|---|
QSort(List<com.querydsl.core.types.OrderSpecifier<?>> orderSpecifiers)
Creates a new
QSort instance with the given OrderSpecifiers. |
QSort(com.querydsl.core.types.OrderSpecifier<?>... orderSpecifiers)
Creates a new
QSort instance with the given OrderSpecifiers. |
| Modifier and Type | Method and Description |
|---|---|
QSort |
and(List<com.querydsl.core.types.OrderSpecifier<?>> orderSpecifiers)
|
QSort |
and(com.querydsl.core.types.OrderSpecifier<?>... orderSpecifiers)
|
QSort |
and(QSort sort)
Returns a new
QSort consisting of the OrderSpecifiers of the current QSort combined with
the ones from the given QSort. |
List<com.querydsl.core.types.OrderSpecifier<?>> |
getOrderSpecifiers() |
and, equals, getOrderFor, hashCode, iterator, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic QSort(com.querydsl.core.types.OrderSpecifier<?>... orderSpecifiers)
QSort instance with the given OrderSpecifiers.orderSpecifiers - must not be null or empty.public List<com.querydsl.core.types.OrderSpecifier<?>> getOrderSpecifiers()
public QSort and(QSort sort)
QSort consisting of the OrderSpecifiers of the current QSort combined with
the ones from the given QSort.sort - can be null.public QSort and(List<com.querydsl.core.types.OrderSpecifier<?>> orderSpecifiers)
QSort consisting of the OrderSpecifiers of the current QSort combined with
the given ones.orderSpecifiers - must not be null or empty.Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.