Documentation

ScanOptions
in package

Table of Contents

$batchByteLimit  : int|null
$batchItemLimit  : int|null
$concurrency  : int|null
$consistentWith  : MutationState|null
$idsOnly  : bool|null
$timeoutMilliseconds  : int|null
$transcoder  : Transcoder
__construct()  : mixed
batchByteLimit()  : ScanOptions
Sets the limit applied to the number of bytes returned from the server for each partition batch
batchItemLimit()  : ScanOptions
Sets the limit applied to the number of items returned from the server for each partition batch
build()  : ScanOptions
Static helper to keep code more readable
concurrency()  : ScanOptions
Specifies the number of vBuckets which the client should scan in parallel
consistentWith()  : ScanOptions
Sets the mutation state to achieve consistency with for read your own writes (RYOW).
getTranscoder()  : Transcoder
Returns associated transcoder.
idsOnly()  : ScanOptions
Sets if the scan should only return document ids.
timeout()  : ScanOptions
Sets the operation timeout in milliseconds.
transcoder()  : ScanOptions
Associate custom transcoder with the request.

Properties

$batchByteLimit

private int|null $batchByteLimit = null

$batchItemLimit

private int|null $batchItemLimit = null

$timeoutMilliseconds

private int|null $timeoutMilliseconds = null

Methods

__construct()

public __construct() : mixed
Tags
since
4.1.6
Return values
mixed

batchByteLimit()

Sets the limit applied to the number of bytes returned from the server for each partition batch

public batchByteLimit(int $batchByteLimit) : ScanOptions
Parameters
$batchByteLimit : int
Tags
since
4.1.6
Return values
ScanOptions

batchItemLimit()

Sets the limit applied to the number of items returned from the server for each partition batch

public batchItemLimit(int $batchItemLimit) : ScanOptions
Parameters
$batchItemLimit : int
Tags
since
4.1.6
Return values
ScanOptions

idsOnly()

Sets if the scan should only return document ids.

public idsOnly(bool $idsOnly) : ScanOptions
Parameters
$idsOnly : bool
Tags
since
4.1.6
Return values
ScanOptions

timeout()

Sets the operation timeout in milliseconds.

public timeout(int $milliseconds) : ScanOptions
Parameters
$milliseconds : int

the operation timeout to apply

Tags
since
4.1.6
Return values
ScanOptions

        

Search results