public class SearchOptions extends BaseHttpRequestOptions
Modifier and Type | Class and Description |
---|---|
static class |
SearchOptions.Builder |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
SearchOptions() |
Modifier and Type | Method and Description |
---|---|
SearchOptions |
query(String query)
A valid search string.
|
SearchOptions |
rows(int rows)
The number of rows to return.
|
SearchOptions |
sort(String sort)
A sort string, such as 'name DESC'.
|
SearchOptions |
start(int start)
The result number to start from.
|
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public SearchOptions query(String query)
public SearchOptions sort(String sort)
public SearchOptions rows(int rows)
public SearchOptions start(int start)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.