Documentation

TransactionQueryOptions
in package

Table of Contents

$adHoc  : bool|null
$clientContextId  : string|null
$consistentWith  : MutationState|null
$maxParallelism  : int|null
$metrics  : bool|null
$namedParameters  : array<string|int, mixed>|null
$pipelineBatch  : int|null
$pipelineCap  : int|null
$positionalParameters  : array<string|int, mixed>|null
$profile  : int|null
$raw  : array<string|int, mixed>|null
$readonly  : bool|null
$scanCap  : int|null
$scanConsistency  : string|null
$scanWaitMilliseconds  : int|null
$scopeName  : string|null
$scopeQualifier  : string|null
$timeoutMilliseconds  : int|null
$transcoder  : Transcoder
__construct()  : mixed
adhoc()  : TransactionQueryOptions
Sets whether this query is adhoc.
build()  : TransactionQueryOptions
Static helper to keep code more readable
clientContextId()  : TransactionQueryOptions
Sets the client context id for this query.
consistentWith()  : TransactionQueryOptions
Sets the mutation state to achieve consistency with for read your own writes (RYOW).
export()  : array<string|int, mixed>
getTranscoder()  : Transcoder
Returns associated transcoder.
maxParallelism()  : TransactionQueryOptions
Sets the maximum number of index partitions, for computing aggregation in parallel.
metrics()  : TransactionQueryOptions
Sets whether to return metrics with the query.
namedParameters()  : TransactionQueryOptions
Sets the named parameters for this query.
pipelineBatch()  : TransactionQueryOptions
Sets the number of items execution operators can batch for fetch from the KV service.
pipelineCap()  : TransactionQueryOptions
Sets the maximum number of items each execution operator can buffer between various operators.
positionalParameters()  : TransactionQueryOptions
Sets the positional parameters for this query.
profile()  : TransactionQueryOptions
Sets the query profile mode to use.
raw()  : TransactionQueryOptions
Sets any extra query parameters that the SDK does not provide an option for.
readonly()  : TransactionQueryOptions
Sets whether this query is readonly.
scanCap()  : TransactionQueryOptions
Sets the maximum buffered channel size between the indexer client and the query service for index scans.
scanConsistency()  : TransactionQueryOptions
Sets the scan consistency.
scanWait()  : TransactionQueryOptions
This is an advanced option, see the query service reference for more information on the proper use and tuning of this option.
scopeName()  : TransactionQueryOptions
Associate scope name with query
scopeQualifier()  : TransactionQueryOptions
Associate scope qualifier (also known as `query_context`) with the query.
timeout()  : TransactionQueryOptions
Sets the operation timeout in milliseconds.
transcoder()  : TransactionQueryOptions
Associate custom transcoder with the request.

Properties

Methods

scanConsistency()

Sets the scan consistency.

public scanConsistency(string $consistencyLevel) : TransactionQueryOptions
Parameters
$consistencyLevel : string

the scan consistency level.

Tags
see
TransactionQueryOptions::SCAN_CONSISTENCY_REQUEST_PLUS
see
TransactionQueryOptions::SCAN_CONSISTENCY_NOT_BOUNDED
since
4.0.0
Return values
TransactionQueryOptions

scopeQualifier()

Associate scope qualifier (also known as `query_context`) with the query.

public scopeQualifier(string $qualifier) : TransactionQueryOptions

The qualifier must be in form ${bucketName}.${scopeName} or default:${bucketName}.${scopeName}

Parameters
$qualifier : string

the scope qualifier

Tags
deprecated
since
4.0.0
Return values
TransactionQueryOptions

        

Search results