public final class Operation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Operation.Type |
Modifier and Type | Field and Description |
---|---|
String |
binName
Optional bin name used in operation.
|
Operation.Type |
type
Type of operation.
|
Value |
value
Optional argument to operation.
|
Constructor and Description |
---|
Operation(Operation.Type type,
String binName,
Value value) |
Modifier and Type | Method and Description |
---|---|
static Operation |
add(Bin bin)
Create integer/double add database operation.
|
static Operation |
append(Bin bin)
Create string append database operation.
|
static Operation[] |
array(Operation... ops)
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 |
get(String binName)
Create read bin database operation.
|
static Operation |
getHeader()
Create read record header database operation.
|
static Operation |
prepend(Bin bin)
Create string prepend database operation.
|
static Operation |
put(Bin bin)
Create set database operation.
|
static Operation |
touch()
Create touch record database operation.
|
public final Operation.Type type
public final String binName
public final Value value
public Operation(Operation.Type type, String binName, Value value)
public static Operation get()
public static Operation getHeader()
public static Operation touch()
public static Operation delete()
Copyright © 2012–2022 Aerospike, Inc. All rights reserved.