public class QSort extends Sort implements Serializable
OrderSpecifier.Sort.Direction, Sort.NullHandling, Sort.Order, Sort.TypedSort<T>DEFAULT_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. |
static QSort |
by(com.querydsl.core.types.OrderSpecifier<?>... orderSpecifiers) |
List<com.querydsl.core.types.OrderSpecifier<?>> |
getOrderSpecifiers() |
static QSort |
unsorted() |
and, ascending, by, by, by, by, descending, equals, getOrderFor, hashCode, isSorted, isUnsorted, iterator, sort, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitand, and, and, and, empty, filter, flatMap, get, isEmpty, map, of, of, of, stream, toList, toSet, toStreamable, toStreamableforEach, spliteratorpublic QSort(com.querydsl.core.types.OrderSpecifier<?>... orderSpecifiers)
QSort instance with the given OrderSpecifiers.orderSpecifiers - must not be null .public static QSort by(com.querydsl.core.types.OrderSpecifier<?>... orderSpecifiers)
public static QSort unsorted()
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–2021 Pivotal Software, Inc.. All rights reserved.