public abstract class SortStrategyAbstractBuilder<T extends SortStrategyAbstractBuilder<T>> extends Object
Constructor and Description |
---|
SortStrategyAbstractBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
withSort(List<SortElement> sorts) |
T |
withSort(SortElement.Type type,
String value,
SortElement.Order order,
Query query) |
T |
withSort(SortElement sort) |
T |
withSortAsc(String value) |
T |
withSortByQuery(Query query,
SortElement.Order order) |
QueryBuilder<T> |
withSortByQueryAsc() |
T |
withSortByQueryAsc(Query query) |
QueryBuilder<T> |
withSortByQueryDesc() |
T |
withSortByQueryDesc(Query query) |
T |
withSortByRelevancy() |
T |
withSortDesc(String value) |
T |
withSortExpressionAsc(String expression) |
T |
withSortExpressionDesc(String expression) |
public T withSort(SortElement sort)
public T withSort(List<SortElement> sorts)
public T withSortByRelevancy()
public T withSortAsc(String value)
public T withSortDesc(String value)
public T withSortExpressionAsc(String expression)
public T withSortExpressionDesc(String expression)
public QueryBuilder<T> withSortByQueryDesc()
public T withSortByQueryDesc(Query query)
public QueryBuilder<T> withSortByQueryAsc()
public T withSortByQueryAsc(Query query)
public T withSortByQuery(Query query, SortElement.Order order)
public T withSort(SortElement.Type type, String value, SortElement.Order order, Query query)