Class: BatchReadPolicy

BatchReadPolicy

A policy affecting the behavior of batch read operations.


new BatchReadPolicy( [props])

Initializes a new BatchReadPolicy from the provided policy values.

Parameters:
Name Type Argument Description
props Object <optional>

Policy values

Since:
  • v5.0.0
Source:

Members


filterExpression

Optional expression filter. If filter exp exists and evaluates to false, the transaction is ignored. This can be used to eliminate a client/server roundtrip in some cases.

Source:

readModeAP :number

Read policy for AP (availability) namespaces.

Type:
  • number
Default Value:
  • Aerospike.policy.readModeAP.ONE
Source:
See:

readModeSC :number

Read policy for SC (strong consistency) namespaces.

Type:
  • number
Default Value:
  • Aerospike.policy.readModeSC.SESSION
Source:
See: