Package com.couchbase.client.java.search
Class SearchOptions.Built
- java.lang.Object
-
- com.couchbase.client.java.CommonOptions.BuiltCommonOptions
-
- com.couchbase.client.java.search.SearchOptions.Built
-
- All Implemented Interfaces:
CoreSearchOptions
,CoreCommonOptions
- Enclosing class:
- SearchOptions
public class SearchOptions.Built extends CommonOptions.BuiltCommonOptions implements CoreSearchOptions
-
-
Field Summary
-
Fields inherited from interface com.couchbase.client.core.endpoint.http.CoreCommonOptions
DEFAULT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
collections()
CoreCommonOptions
commonOptions()
CoreSearchScanConsistency
consistency()
CoreMutationState
consistentWith()
Boolean
disableScoring()
Boolean
explain()
Map<String,CoreSearchFacet>
facets()
List<String>
fields()
List<String>
highlightFields()
CoreHighlightStyle
highlightStyle()
Boolean
includeLocations()
Integer
limit()
com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonNode
raw()
JsonSerializer
serializer()
Integer
skip()
List<CoreSearchSort>
sort()
-
Methods inherited from class com.couchbase.client.java.CommonOptions.BuiltCommonOptions
clientContext, parentSpan, retryStrategy, timeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.couchbase.client.core.endpoint.http.CoreCommonOptions
withParentSpan
-
Methods inherited from interface com.couchbase.client.core.api.search.CoreSearchOptions
searchAfter, searchBefore, validate
-
-
-
-
Method Detail
-
serializer
public JsonSerializer serializer()
-
collections
public List<String> collections()
- Specified by:
collections
in interfaceCoreSearchOptions
-
consistency
public CoreSearchScanConsistency consistency()
- Specified by:
consistency
in interfaceCoreSearchOptions
-
consistentWith
public CoreMutationState consistentWith()
- Specified by:
consistentWith
in interfaceCoreSearchOptions
-
disableScoring
public Boolean disableScoring()
- Specified by:
disableScoring
in interfaceCoreSearchOptions
-
explain
public Boolean explain()
- Specified by:
explain
in interfaceCoreSearchOptions
-
facets
public Map<String,CoreSearchFacet> facets()
- Specified by:
facets
in interfaceCoreSearchOptions
-
fields
public List<String> fields()
- Specified by:
fields
in interfaceCoreSearchOptions
-
highlightFields
public List<String> highlightFields()
- Specified by:
highlightFields
in interfaceCoreSearchOptions
-
highlightStyle
public CoreHighlightStyle highlightStyle()
- Specified by:
highlightStyle
in interfaceCoreSearchOptions
-
limit
public Integer limit()
- Specified by:
limit
in interfaceCoreSearchOptions
-
raw
public com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonNode raw()
- Specified by:
raw
in interfaceCoreSearchOptions
-
skip
public Integer skip()
- Specified by:
skip
in interfaceCoreSearchOptions
-
sort
public List<CoreSearchSort> sort()
- Specified by:
sort
in interfaceCoreSearchOptions
-
includeLocations
public Boolean includeLocations()
- Specified by:
includeLocations
in interfaceCoreSearchOptions
-
commonOptions
public CoreCommonOptions commonOptions()
- Specified by:
commonOptions
in interfaceCoreSearchOptions
-
-