Package com.aerospike.client
Class Operation
java.lang.Object
com.aerospike.client.Operation
Database operation definition. The class is used in client's operate() method.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Operation
Create integer/double add database operation.static Operation
Create string append database operation.static Operation[]
Create array of operations from varargs.static Operation
delete()
Create delete record database operation.static Operation
get()
Create read all record bins database operation.static Operation
Create read bin database operation.static Operation
Create read record header database operation.static Operation
Create string prepend database operation.static Operation
Create set database operation.static Operation
touch()
Create touch record database operation.
-
Field Details
-
type
Type of operation. -
binName
Optional bin name used in operation. -
value
Optional argument to operation.
-
-
Constructor Details
-
Operation
-
-
Method Details
-
get
Create read bin database operation. -
get
Create read all record bins database operation. -
getHeader
Create read record header database operation. -
put
Create set database operation. -
append
Create string append database operation. -
prepend
Create string prepend database operation. -
add
Create integer/double add database operation. If the record or bin does not exist, the record/bin will be created by default with the value to be added. -
touch
Create touch record database operation. -
delete
Create delete record database operation. -
array
Create array of operations from varargs. This method can be useful when its important to save identical array pointer references. Using varargs directly always generates new references.
-