public final class BatchDeletePolicy extends Object
Modifier and Type | Field and Description |
---|---|
CommitLevel |
commitLevel
Desired consistency guarantee when committing a transaction on the server.
|
boolean |
durableDelete
If the transaction results in a record deletion, leave a tombstone for the record.
|
Expression |
filterExp
Optional expression filter.
|
int |
generation
Expected generation.
|
GenerationPolicy |
generationPolicy
Qualify how to handle record deletes based on record generation.
|
boolean |
sendKey
Send user defined key in addition to hash digest.
|
Constructor and Description |
---|
BatchDeletePolicy()
Default constructor.
|
BatchDeletePolicy(BatchDeletePolicy 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 CommitLevel commitLevel
Default: CommitLevel.COMMIT_ALL
public GenerationPolicy generationPolicy
Default: GenerationPolicy.NONE
public int generation
Default: 0
public boolean durableDelete
Default: false (do not tombstone deleted records).
public boolean sendKey
Default: false (do not send the user defined key)
public BatchDeletePolicy(BatchDeletePolicy other)
public BatchDeletePolicy()
Copyright © 2012–2022 Aerospike, Inc. All rights reserved.