public static class SuggestOutput.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SuggestOutput |
build() |
SuggestOutput.Builder |
commands(List<String> commands)
Context specific list of querylanguage commands if input is seeking command suggestions.
|
SuggestOutput.Builder |
copy(SuggestOutput model) |
SuggestOutput.Builder |
examples(List<String> examples)
Context specific list of querylanguage querystring examples if input is seeking
queryString example suggestions.
|
SuggestOutput.Builder |
fields(List<String> fields)
Context specific list of querylanguage fields / columns if input is seeking field /
column suggestions.
|
SuggestOutput.Builder |
fieldValues(List<String> fieldValues)
Context specific list of field values if input is seeking field value suggestions.
|
SuggestOutput.Builder |
options(List<String> options)
Context specific list of querylanguage command options if input is seeking command option
suggestions.
|
SuggestOutput.Builder |
position(Integer position)
Character position suggestion should be placed in queryString provided as input.
|
SuggestOutput.Builder |
terms(List<String> terms)
Context specific list of terms / phrases if input is seeking terms / phrase suggestions.
|
public SuggestOutput.Builder position(Integer position)
Character position suggestion should be placed in queryString provided as input.
position
- the value to setpublic SuggestOutput.Builder commands(List<String> commands)
Context specific list of querylanguage commands if input is seeking command suggestions.
commands
- the value to setpublic SuggestOutput.Builder fields(List<String> fields)
Context specific list of querylanguage fields / columns if input is seeking field / column suggestions.
fields
- the value to setpublic SuggestOutput.Builder fieldValues(List<String> fieldValues)
Context specific list of field values if input is seeking field value suggestions.
fieldValues
- the value to setpublic SuggestOutput.Builder terms(List<String> terms)
Context specific list of terms / phrases if input is seeking terms / phrase suggestions.
terms
- the value to setpublic SuggestOutput.Builder options(List<String> options)
Context specific list of querylanguage command options if input is seeking command option suggestions.
options
- the value to setpublic SuggestOutput.Builder examples(List<String> examples)
Context specific list of querylanguage querystring examples if input is seeking queryString example suggestions.
examples
- the value to setpublic SuggestOutput build()
public SuggestOutput.Builder copy(SuggestOutput model)
Copyright © 2016–2024. All rights reserved.