public abstract class GroupAbstractBuilder<T extends GroupAbstractBuilder<T>> extends Object
Constructor and Description |
---|
GroupAbstractBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
withField(String field) |
T |
withGroupLeaderStrategy(GroupLeaderStrategy strategy) |
T |
withMaxFieldStrategy(String fieldName) |
T |
withMinFieldStrategy(String fieldName) |
T |
withSize(Long size) |
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) |
SortStrategyBuilder.Nested<T> |
withSortStrategy() |
T |
withSortStrategy(List<SortElement> sort) |
public T withGroupLeaderStrategy(GroupLeaderStrategy strategy)
public T withSortStrategy(List<SortElement> sort)
public SortStrategyBuilder.Nested<T> withSortStrategy()
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)