-
TransactionQueryOptions.adhoc(boolean adhoc)
Allows turning this request into a prepared statement query.
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).
Sets positional parameters for this query.
Sets named parameters for this query.
Supports customizing the number of items execution operators can batch for fetch from the KV layer on the server.
Allows customizing the maximum number of items each execution operator can buffer between various operators on the
server.
Customizes the server profiling level for this query.
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.
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.
Provides a custom
JsonSerializer
to be used for decoding the rows as they return from the server.
Runs a N1QL query and returns the result.
Runs a N1QL query and returns the result.
Runs a N1QL query and returns the result.
Runs a N1QL query and returns the result.