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