public class ResultsBuilder extends ResultsAbstractBuilder<ResultsBuilder>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ResultsBuilder.Nested<R>  | 
| Modifier and Type | Method and Description | 
|---|---|
Results | 
build()  | 
static ResultsBuilder | 
builder()  | 
static <S> ResultsBuilder.Nested<S> | 
builder(Consumer<Results> callback,
       S parent)  | 
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)  | 
withCursor, withGroup, withGroup, withHighlight, withHighlight, withIncludeRawResponse, withReturnScorewithField, withFields, withSize, withStartpublic static ResultsBuilder builder()
public Results build()
public static <S> ResultsBuilder.Nested<S> builder(Consumer<Results> callback, S parent)
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)