Uses of Class
com.couchbase.client.java.transactions.TransactionQueryOptions
Packages that use TransactionQueryOptions
-
Uses of TransactionQueryOptions in com.couchbase.client.java.transactions
Methods in com.couchbase.client.java.transactions that return TransactionQueryOptionsModifier and TypeMethodDescriptionTransactionQueryOptions.adhoc
(boolean adhoc) Allows turning this request into a prepared statement query.TransactionQueryOptions.clientContextId
(String clientContextId) Supports providing a custom client context ID for this query.TransactionQueryOptions.flexIndex
(boolean flexIndex) Tells the query engine to use a flex index (utilizing the search service).TransactionQueryOptions.parameters
(JsonArray positional) Sets positional parameters for this query.TransactionQueryOptions.parameters
(JsonObject named) Sets named parameters for this query.TransactionQueryOptions.pipelineBatch
(int pipelineBatch) Supports customizing the number of items execution operators can batch for fetch from the KV layer on the server.TransactionQueryOptions.pipelineCap
(int pipelineCap) Allows customizing the maximum number of items each execution operator can buffer between various operators on the server.TransactionQueryOptions.profile
(QueryProfile profile) Customizes the server profiling level for this query.static TransactionQueryOptions
TransactionQueryOptions.queryOptions()
Creates newQueryOptions
with all default params set.Allows providing custom JSON key/value pairs for advanced usage.TransactionQueryOptions.readonly
(boolean readonly) Allows explicitly marking a query as being readonly and not mutating and documents on the server side.TransactionQueryOptions.scanCap
(int scanCap) Supports customizing the maximum buffered channel size between the indexer and the query service.TransactionQueryOptions.scanConsistency
(QueryScanConsistency scanConsistency) Customizes the consistency guarantees for this query.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.serializer
(JsonSerializer serializer) Provides a customJsonSerializer
to be used for decoding the rows as they return from the server.Methods in com.couchbase.client.java.transactions with parameters of type TransactionQueryOptionsModifier and TypeMethodDescriptionReactiveTransactionAttemptContext.query
(ReactiveScope scope, String statement, TransactionQueryOptions options) Runs a N1QL query and returns the result.ReactiveTransactionAttemptContext.query
(String statement, TransactionQueryOptions options) Runs a N1QL query and returns the result.TransactionAttemptContext.query
(Scope scope, String statement, TransactionQueryOptions options) Runs a N1QL query and returns the result.TransactionAttemptContext.query
(String statement, TransactionQueryOptions options) Runs a N1QL query and returns the result.