BatchReadPolicy
in package
BatchReadPolicy attributes used in batch read commands.
Table of Contents
Properties
- $filter_expression : mixed
- $read_mode_ap : mixed
- $read_mode_sc : mixed
Methods
- __construct() : mixed
- getFilterExpression() : Expression|null
- FilterExpression is the optional expression filter. If FilterExpression exists and evaluates to false, the specific batch key request is not performed and BatchRecord.ResultCode is set to types.FILTERED_OUT.
- getReadModeAp() : ReadModeAP
- ReadModeAP indicates read policy for AP (availability) namespaces.
- getReadModeSc() : ReadModeSC
- ReadModeSC indicates read policy for SC (strong consistency) namespaces.
- setFilterExpression() : mixed
- setReadModeAp() : mixed
- setReadModeSc() : mixed
Properties
$filter_expression
public
mixed
$filter_expression
$read_mode_ap
public
mixed
$read_mode_ap
$read_mode_sc
public
mixed
$read_mode_sc
Methods
__construct()
public
__construct() : mixed
getFilterExpression()
FilterExpression is the optional expression filter. If FilterExpression exists and evaluates to false, the specific batch key request is not performed and BatchRecord.ResultCode is set to types.FILTERED_OUT.
public
getFilterExpression() : Expression|null
Default: null
Return values
Expression|nullgetReadModeAp()
ReadModeAP indicates read policy for AP (availability) namespaces.
public
getReadModeAp() : ReadModeAP
Return values
ReadModeAPgetReadModeSc()
ReadModeSC indicates read policy for SC (strong consistency) namespaces.
public
getReadModeSc() : ReadModeSC
Return values
ReadModeSCsetFilterExpression()
public
setFilterExpression(mixed $filter_expression) : mixed
Parameters
- $filter_expression : mixed
setReadModeAp()
public
setReadModeAp(mixed $read_mode_ap) : mixed
Parameters
- $read_mode_ap : mixed
setReadModeSc()
public
setReadModeSc(mixed $read_mode_sc) : mixed
Parameters
- $read_mode_sc : mixed