public static class DefaultQueryParams.Builder
extends java.lang.Object
Constructor and Description |
---|
DefaultQueryParams.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
DefaultQueryParams.Builder |
addCollectionIds(java.lang.String collectionIds)
Adds an collectionIds to collectionIds.
|
DefaultQueryParams.Builder |
addXReturn(java.lang.String xReturn)
Adds an xReturn to xReturn.
|
DefaultQueryParams.Builder |
aggregation(java.lang.String aggregation)
Set the aggregation.
|
DefaultQueryParams |
build()
Builds a DefaultQueryParams.
|
DefaultQueryParams.Builder |
collectionIds(java.util.List<java.lang.String> collectionIds)
Set the collectionIds.
|
DefaultQueryParams.Builder |
count(long count)
Set the count.
|
DefaultQueryParams.Builder |
highlight(java.lang.Boolean highlight)
Set the highlight.
|
DefaultQueryParams.Builder |
passages(DefaultQueryParamsPassages passages)
Set the passages.
|
DefaultQueryParams.Builder |
sort(java.lang.String sort)
Set the sort.
|
DefaultQueryParams.Builder |
spellingSuggestions(java.lang.Boolean spellingSuggestions)
Set the spellingSuggestions.
|
DefaultQueryParams.Builder |
suggestedRefinements(DefaultQueryParamsSuggestedRefinements suggestedRefinements)
Set the suggestedRefinements.
|
DefaultQueryParams.Builder |
tableResults(DefaultQueryParamsTableResults tableResults)
Set the tableResults.
|
DefaultQueryParams.Builder |
xReturn(java.util.List<java.lang.String> xReturn)
Set the xReturn.
|
public DefaultQueryParams.Builder()
public DefaultQueryParams build()
public DefaultQueryParams.Builder addCollectionIds(java.lang.String collectionIds)
collectionIds
- the new collectionIdspublic DefaultQueryParams.Builder addXReturn(java.lang.String xReturn)
xReturn
- the new xReturnpublic DefaultQueryParams.Builder collectionIds(java.util.List<java.lang.String> collectionIds)
collectionIds
- the collectionIdspublic DefaultQueryParams.Builder passages(DefaultQueryParamsPassages passages)
passages
- the passagespublic DefaultQueryParams.Builder tableResults(DefaultQueryParamsTableResults tableResults)
tableResults
- the tableResultspublic DefaultQueryParams.Builder aggregation(java.lang.String aggregation)
aggregation
- the aggregationpublic DefaultQueryParams.Builder suggestedRefinements(DefaultQueryParamsSuggestedRefinements suggestedRefinements)
suggestedRefinements
- the suggestedRefinementspublic DefaultQueryParams.Builder spellingSuggestions(java.lang.Boolean spellingSuggestions)
spellingSuggestions
- the spellingSuggestionspublic DefaultQueryParams.Builder highlight(java.lang.Boolean highlight)
highlight
- the highlightpublic DefaultQueryParams.Builder count(long count)
count
- the countpublic DefaultQueryParams.Builder sort(java.lang.String sort)
sort
- the sortpublic DefaultQueryParams.Builder xReturn(java.util.List<java.lang.String> xReturn)
xReturn
- the xReturn