Package com.couchbase.client.java.query
Class QueryOptions.Built
- java.lang.Object
-
- com.couchbase.client.java.CommonOptions.BuiltCommonOptions
-
- com.couchbase.client.java.query.QueryOptions.Built
-
- All Implemented Interfaces:
com.couchbase.client.core.api.query.CoreQueryOptions
,CoreCommonOptions
- Enclosing class:
- QueryOptions
@Internal public class QueryOptions.Built extends CommonOptions.BuiltCommonOptions implements com.couchbase.client.core.api.query.CoreQueryOptions
-
-
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 boolean
adhoc()
boolean
asTransaction()
CoreSingleQueryTransactionOptions
asTransactionOptions()
String
clientContextId()
CoreCommonOptions
commonOptions()
com.couchbase.client.core.api.shared.CoreMutationState
consistentWith()
boolean
flexIndex()
Integer
maxParallelism()
boolean
metrics()
com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode
namedParameters()
Integer
pipelineBatch()
Integer
pipelineCap()
com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ArrayNode
positionalParameters()
Boolean
preserveExpiry()
com.couchbase.client.core.api.query.CoreQueryProfile
profile()
com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonNode
raw()
boolean
readonly()
Integer
scanCap()
com.couchbase.client.core.api.query.CoreQueryScanConsistency
scanConsistency()
Duration
scanWait()
JsonSerializer
serializer()
-
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
-
-
-
-
Method Detail
-
readonly
public boolean readonly()
- Specified by:
readonly
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
scanWait
public Duration scanWait()
- Specified by:
scanWait
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
scanCap
public Integer scanCap()
- Specified by:
scanCap
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
scanConsistency
public com.couchbase.client.core.api.query.CoreQueryScanConsistency scanConsistency()
- Specified by:
scanConsistency
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
flexIndex
public boolean flexIndex()
- Specified by:
flexIndex
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
preserveExpiry
public Boolean preserveExpiry()
- Specified by:
preserveExpiry
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
serializer
public JsonSerializer serializer()
-
adhoc
public boolean adhoc()
- Specified by:
adhoc
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
clientContextId
public String clientContextId()
- Specified by:
clientContextId
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
consistentWith
public com.couchbase.client.core.api.shared.CoreMutationState consistentWith()
- Specified by:
consistentWith
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
maxParallelism
public Integer maxParallelism()
- Specified by:
maxParallelism
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
metrics
public boolean metrics()
- Specified by:
metrics
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
namedParameters
public com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode namedParameters()
- Specified by:
namedParameters
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
pipelineBatch
public Integer pipelineBatch()
- Specified by:
pipelineBatch
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
pipelineCap
public Integer pipelineCap()
- Specified by:
pipelineCap
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
positionalParameters
public com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ArrayNode positionalParameters()
- Specified by:
positionalParameters
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
profile
public com.couchbase.client.core.api.query.CoreQueryProfile profile()
- Specified by:
profile
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
raw
public com.couchbase.client.core.deps.com.fasterxml.jackson.databind.JsonNode raw()
- Specified by:
raw
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
asTransaction
public boolean asTransaction()
- Specified by:
asTransaction
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
asTransactionOptions
public CoreSingleQueryTransactionOptions asTransactionOptions()
- Specified by:
asTransactionOptions
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
commonOptions
public CoreCommonOptions commonOptions()
- Specified by:
commonOptions
in interfacecom.couchbase.client.core.api.query.CoreQueryOptions
-
-