RecordExistsAction
in package
RecordExistsAction determines how to handle writes when the record already exists.
Table of Contents
Methods
- CreateOnly() : RecordExistsAction
- CreateOnly means: Create only. Fail if record exists.
- Replace() : RecordExistsAction
- Replace means: Create or replace record.
- ReplaceOnly() : RecordExistsAction
- ReplaceOnly means: Replace record only. Fail if record does not exist.
- Update() : RecordExistsAction
- Update means: Create or update record.
- UpdateOnly() : RecordExistsAction
- UpdateOnly means: Update record only. Fail if record does not exist.
Methods
CreateOnly()
CreateOnly means: Create only. Fail if record exists.
public
static CreateOnly() : RecordExistsAction
Return values
RecordExistsActionReplace()
Replace means: Create or replace record.
public
static Replace() : RecordExistsAction
Delete existing bins not referenced by write command bins. Supported by Aerospike 2 server versions >= 2.7.5 and Aerospike 3 server versions >= 3.1.6.
Return values
RecordExistsActionReplaceOnly()
ReplaceOnly means: Replace record only. Fail if record does not exist.
public
static ReplaceOnly() : RecordExistsAction
Delete existing bins not referenced by write command bins. Supported by Aerospike 2 server versions >= 2.7.5 and Aerospike 3 server versions >= 3.1.6.
Return values
RecordExistsActionUpdate()
Update means: Create or update record.
public
static Update() : RecordExistsAction
Merge write command bins with existing bins.
Return values
RecordExistsActionUpdateOnly()
UpdateOnly means: Update record only. Fail if record does not exist.
public
static UpdateOnly() : RecordExistsAction
Merge write command bins with existing bins.