Package | Description |
---|---|
com.couchbase.client.java.transactions |
Modifier and Type | Method and Description |
---|---|
TransactionQueryOptions |
TransactionQueryOptions.adhoc(boolean adhoc)
Allows turning this request into a prepared statement query.
|
TransactionQueryOptions |
TransactionQueryOptions.clientContextId(String clientContextId)
Supports providing a custom client context ID for this query.
|
TransactionQueryOptions |
TransactionQueryOptions.flexIndex(boolean flexIndex)
Tells the query engine to use a flex index (utilizing the search service).
|
TransactionQueryOptions |
TransactionQueryOptions.parameters(JsonArray positional)
Sets positional parameters for this query.
|
TransactionQueryOptions |
TransactionQueryOptions.parameters(JsonObject named)
Sets named parameters for this query.
|
TransactionQueryOptions |
TransactionQueryOptions.pipelineBatch(int pipelineBatch)
Supports customizing the number of items execution operators can batch for fetch from the KV layer on the server.
|
TransactionQueryOptions |
TransactionQueryOptions.pipelineCap(int pipelineCap)
Allows customizing the maximum number of items each execution operator can buffer between various operators on the
server.
|
TransactionQueryOptions |
TransactionQueryOptions.profile(QueryProfile profile)
Customizes the server profiling level for this query.
|
static TransactionQueryOptions |
TransactionQueryOptions.queryOptions()
Creates new
QueryOptions with all default params set. |
TransactionQueryOptions |
TransactionQueryOptions.raw(String key,
Object value)
Allows providing custom JSON key/value pairs for advanced usage.
|
TransactionQueryOptions |
TransactionQueryOptions.readonly(boolean readonly)
Allows explicitly marking a query as being readonly and not mutating and documents on the server side.
|
TransactionQueryOptions |
TransactionQueryOptions.scanCap(int scanCap)
Supports customizing the maximum buffered channel size between the indexer and the query service.
|
TransactionQueryOptions |
TransactionQueryOptions.scanConsistency(QueryScanConsistency scanConsistency)
Customizes the consistency guarantees for this query.
|
TransactionQueryOptions |
TransactionQueryOptions.scanWait(Duration wait)
Allows customizing how long the query engine is willing to wait until the index catches up to whatever scan
consistency is asked for in this query.
|
TransactionQueryOptions |
TransactionQueryOptions.serializer(JsonSerializer serializer)
Provides a custom
JsonSerializer to be used for decoding the rows as they return from the server. |
Modifier and Type | Method and Description |
---|---|
Mono<TransactionQueryResult> |
ReactiveTransactionAttemptContext.query(ReactiveScope scope,
String statement,
TransactionQueryOptions options)
Runs a N1QL query and returns the result.
|
TransactionQueryResult |
TransactionAttemptContext.query(Scope scope,
String statement,
TransactionQueryOptions options)
Runs a N1QL query and returns the result.
|
TransactionQueryResult |
TransactionAttemptContext.query(String statement,
TransactionQueryOptions options)
Runs a N1QL query and returns the result.
|
Mono<TransactionQueryResult> |
ReactiveTransactionAttemptContext.query(String statement,
TransactionQueryOptions options)
Runs a N1QL query and returns the result.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.