public class QueryOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
QueryOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
aggregation |
protected java.lang.String |
bias |
protected java.lang.String |
collectionId |
protected java.lang.Long |
count |
protected java.lang.Boolean |
deduplicate |
protected java.lang.String |
deduplicateField |
protected java.lang.String |
environmentId |
protected java.lang.String |
filter |
protected java.lang.Boolean |
highlight |
protected java.lang.String |
naturalLanguageQuery |
protected java.lang.Long |
offset |
protected java.lang.Boolean |
passages |
protected java.lang.Long |
passagesCharacters |
protected java.lang.Long |
passagesCount |
protected java.lang.String |
passagesFields |
protected java.lang.String |
query |
protected java.lang.Boolean |
similar |
protected java.lang.String |
similarDocumentIds |
protected java.lang.String |
similarFields |
protected java.lang.String |
sort |
protected java.lang.Boolean |
spellingSuggestions |
protected java.lang.String |
xReturn |
protected java.lang.Boolean |
xWatsonLoggingOptOut |
Modifier | Constructor and Description |
---|---|
protected |
QueryOptions(QueryOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
aggregation()
Gets the aggregation.
|
java.lang.String |
bias()
Gets the bias.
|
java.lang.String |
collectionId()
Gets the collectionId.
|
java.lang.Long |
count()
Gets the count.
|
java.lang.Boolean |
deduplicate()
Gets the deduplicate.
|
java.lang.String |
deduplicateField()
Gets the deduplicateField.
|
java.lang.String |
environmentId()
Gets the environmentId.
|
java.lang.String |
filter()
Gets the filter.
|
java.lang.Boolean |
highlight()
Gets the highlight.
|
java.lang.String |
naturalLanguageQuery()
Gets the naturalLanguageQuery.
|
QueryOptions.Builder |
newBuilder()
New builder.
|
java.lang.Long |
offset()
Gets the offset.
|
java.lang.Boolean |
passages()
Gets the passages.
|
java.lang.Long |
passagesCharacters()
Gets the passagesCharacters.
|
java.lang.Long |
passagesCount()
Gets the passagesCount.
|
java.lang.String |
passagesFields()
Gets the passagesFields.
|
java.lang.String |
query()
Gets the query.
|
java.lang.Boolean |
similar()
Gets the similar.
|
java.lang.String |
similarDocumentIds()
Gets the similarDocumentIds.
|
java.lang.String |
similarFields()
Gets the similarFields.
|
java.lang.String |
sort()
Gets the sort.
|
java.lang.Boolean |
spellingSuggestions()
Gets the spellingSuggestions.
|
java.lang.String |
xReturn()
Gets the xReturn.
|
java.lang.Boolean |
xWatsonLoggingOptOut()
Gets the xWatsonLoggingOptOut.
|
protected java.lang.String environmentId
protected java.lang.String collectionId
protected java.lang.String filter
protected java.lang.String query
protected java.lang.String naturalLanguageQuery
protected java.lang.Boolean passages
protected java.lang.String aggregation
protected java.lang.Long count
protected java.lang.String xReturn
protected java.lang.Long offset
protected java.lang.String sort
protected java.lang.Boolean highlight
protected java.lang.String passagesFields
protected java.lang.Long passagesCount
protected java.lang.Long passagesCharacters
protected java.lang.Boolean deduplicate
protected java.lang.String deduplicateField
protected java.lang.Boolean similar
protected java.lang.String similarDocumentIds
protected java.lang.String similarFields
protected java.lang.String bias
protected java.lang.Boolean spellingSuggestions
protected java.lang.Boolean xWatsonLoggingOptOut
protected QueryOptions(QueryOptions.Builder builder)
public QueryOptions.Builder newBuilder()
public java.lang.String environmentId()
public java.lang.String collectionId()
public java.lang.String filter()
public java.lang.String query()
public java.lang.String naturalLanguageQuery()
public java.lang.Boolean passages()
public java.lang.String aggregation()
public java.lang.Long count()
public java.lang.String xReturn()
public java.lang.Long offset()
public java.lang.String sort()
public java.lang.Boolean highlight()
public java.lang.String passagesFields()
public java.lang.Long passagesCount()
public java.lang.Long passagesCharacters()
public java.lang.Boolean deduplicate()
public java.lang.String deduplicateField()
public java.lang.Boolean similar()
public java.lang.String similarDocumentIds()
public java.lang.String similarFields()
public java.lang.String bias()
public java.lang.Boolean spellingSuggestions()
public java.lang.Boolean xWatsonLoggingOptOut()