public final class BatchReadPolicy extends Object
Modifier and Type | Field and Description |
---|---|
Expression |
filterExp
Optional expression filter.
|
ReadModeAP |
readModeAP
Read policy for AP (availability) namespaces.
|
ReadModeSC |
readModeSC
Read policy for SC (strong consistency) namespaces.
|
Constructor and Description |
---|
BatchReadPolicy()
Default constructor.
|
BatchReadPolicy(BatchReadPolicy other)
Copy constructor.
|
public Expression filterExp
BatchRecord.resultCode
is set to
ResultCode.FILTERED_OUT
.
If exists, this filter overrides the batch parent filter Policy.filterExp
for the specific key in batch commands that allow a different policy per key.
Otherwise, this filter is ignored.
Default: null
public ReadModeAP readModeAP
Default: ReadModeAP.ONE
public ReadModeSC readModeSC
Default: ReadModeSC.SESSION
public BatchReadPolicy(BatchReadPolicy other)
public BatchReadPolicy()
Copyright © 2012–2022 Aerospike, Inc. All rights reserved.