Package | Description |
---|---|
com.aerospike.client | |
com.aerospike.client.cdt | |
com.aerospike.client.exp | |
com.aerospike.client.operation | |
com.aerospike.client.query |
Modifier and Type | Field and Description |
---|---|
Operation[] |
BatchRead.ops
Optional operations for this key.
|
Operation[] |
BatchWrite.ops
Required operations for this key.
|
Modifier and Type | Method and Description |
---|---|
static Operation |
Operation.add(Bin bin)
Create integer/double add database operation.
|
static Operation |
Operation.append(Bin bin)
Create string append database operation.
|
static Operation[] |
Operation.array(Operation... ops)
Create array of operations from varargs.
|
static Operation |
Operation.delete()
Create delete record database operation.
|
static Operation |
Operation.get()
Create read all record bins database operation.
|
static Operation |
Operation.get(String binName)
Create read bin database operation.
|
static Operation |
Operation.getHeader()
Create read record header database operation.
|
static Operation |
Operation.prepend(Bin bin)
Create string prepend database operation.
|
static Operation |
Operation.put(Bin bin)
Create set database operation.
|
static Operation |
Operation.touch()
Create touch record database operation.
|
Modifier and Type | Method and Description |
---|---|
static Operation[] |
Operation.array(Operation... ops)
Create array of operations from varargs.
|
ExecuteTask |
AerospikeClient.execute(WritePolicy policy,
Statement statement,
Operation... operations)
Apply operations on records that match the background query statement filter.
|
ExecuteTask |
IAerospikeClient.execute(WritePolicy policy,
Statement statement,
Operation... operations)
Apply operations on records that match the background query statement filter.
|
Record[] |
AerospikeClient.get(BatchPolicy policy,
Key[] keys,
Operation... ops)
Read multiple records for specified keys using read operations in one batch call.
|
Record[] |
IAerospikeClient.get(BatchPolicy policy,
Key[] keys,
Operation... ops)
Read multiple records for specified keys using read operations in one batch call.
|
void |
AerospikeClient.get(EventLoop eventLoop,
RecordArrayListener listener,
BatchPolicy policy,
Key[] keys,
Operation... ops)
Asynchronously read multiple records for specified keys using read operations in one batch call.
|
void |
IAerospikeClient.get(EventLoop eventLoop,
RecordArrayListener listener,
BatchPolicy policy,
Key[] keys,
Operation... ops)
Asynchronously read multiple records for specified keys using read operations in one batch call.
|
void |
AerospikeClient.get(EventLoop eventLoop,
RecordSequenceListener listener,
BatchPolicy policy,
Key[] keys,
Operation... ops)
Asynchronously read multiple records for specified keys using read operations in one batch call.
|
void |
IAerospikeClient.get(EventLoop eventLoop,
RecordSequenceListener listener,
BatchPolicy policy,
Key[] keys,
Operation... ops)
Asynchronously read multiple records for specified keys using read operations in one batch call.
|
BatchResults |
AerospikeClient.operate(BatchPolicy batchPolicy,
BatchWritePolicy writePolicy,
Key[] keys,
Operation... ops)
Perform read/write operations on multiple keys.
|
BatchResults |
IAerospikeClient.operate(BatchPolicy batchPolicy,
BatchWritePolicy writePolicy,
Key[] keys,
Operation... ops)
Perform read/write operations on multiple keys.
|
void |
AerospikeClient.operate(EventLoop eventLoop,
BatchRecordArrayListener listener,
BatchPolicy batchPolicy,
BatchWritePolicy writePolicy,
Key[] keys,
Operation... ops)
Asynchronously perform read/write operations on multiple keys.
|
void |
IAerospikeClient.operate(EventLoop eventLoop,
BatchRecordArrayListener listener,
BatchPolicy batchPolicy,
BatchWritePolicy writePolicy,
Key[] keys,
Operation... ops)
Asynchronously perform read/write operations on multiple keys.
|
void |
AerospikeClient.operate(EventLoop eventLoop,
BatchRecordSequenceListener listener,
BatchPolicy batchPolicy,
BatchWritePolicy writePolicy,
Key[] keys,
Operation... ops)
Asynchronously perform read/write operations on multiple keys.
|
void |
IAerospikeClient.operate(EventLoop eventLoop,
BatchRecordSequenceListener listener,
BatchPolicy batchPolicy,
BatchWritePolicy writePolicy,
Key[] keys,
Operation... ops)
Asynchronously perform read/write operations on multiple keys.
|
void |
AerospikeClient.operate(EventLoop eventLoop,
RecordListener listener,
WritePolicy policy,
Key key,
Operation... operations)
Asynchronously perform multiple read/write operations on a single key in one batch call.
|
void |
IAerospikeClient.operate(EventLoop eventLoop,
RecordListener listener,
WritePolicy policy,
Key key,
Operation... operations)
Asynchronously perform multiple read/write operations on a single key in one batch call.
|
Record |
AerospikeClient.operate(WritePolicy policy,
Key key,
Operation... operations)
Perform multiple read/write operations on a single key in one batch call.
|
Record |
IAerospikeClient.operate(WritePolicy policy,
Key key,
Operation... operations)
Perform multiple read/write operations on a single key in one batch call.
|
Constructor and Description |
---|
BatchRead(BatchReadPolicy policy,
Key key,
Operation[] ops)
Initialize batch policy, key and read operations.
|
BatchRead(Key key,
Operation[] ops)
Initialize batch key and read operations.
|
BatchWrite(BatchWritePolicy policy,
Key key,
Operation[] ops)
Initialize policy, batch key and read/write operations.
|
BatchWrite(Key key,
Operation[] ops)
Initialize batch key and read/write operations.
|
Modifier and Type | Method and Description |
---|---|
static Operation |
ListOperation.append(ListPolicy policy,
String binName,
Value value,
CTX... ctx)
Create list append operation with policy.
|
static Operation |
ListOperation.append(String binName,
Value value,
CTX... ctx)
Create default list append operation.
|
static Operation |
ListOperation.appendItems(ListPolicy policy,
String binName,
List<Value> list,
CTX... ctx)
Create list append items operation with policy.
|
static Operation |
ListOperation.appendItems(String binName,
List<Value> list,
CTX... ctx)
Create default list append items operation.
|
static Operation |
ListOperation.clear(String binName,
CTX... ctx)
Create list clear operation.
|
static Operation |
MapOperation.clear(String binName,
CTX... ctx)
Create map clear operation.
|
static Operation |
ListOperation.create(String binName,
ListOrder order,
boolean pad,
CTX... ctx)
Create list create operation.
|
static Operation |
MapOperation.create(String binName,
MapOrder order,
boolean persistIndex,
CTX... ctx)
Create map create operation.
|
static Operation |
MapOperation.create(String binName,
MapOrder order,
CTX... ctx)
Create map create operation.
|
static Operation |
MapOperation.decrement(MapPolicy policy,
String binName,
Value key,
Value decr,
CTX... ctx)
Deprecated.
|
static Operation |
ListOperation.get(String binName,
int index,
CTX... ctx)
Create list get operation.
|
static Operation |
ListOperation.getByIndex(String binName,
int index,
int returnType,
CTX... ctx)
Create list get by index operation.
|
static Operation |
MapOperation.getByIndex(String binName,
int index,
int returnType,
CTX... ctx)
Create map get by index operation.
|
static Operation |
ListOperation.getByIndexRange(String binName,
int index,
int returnType,
CTX... ctx)
Create list get by index range operation.
|
static Operation |
MapOperation.getByIndexRange(String binName,
int index,
int returnType,
CTX... ctx)
Create map get by index range operation.
|
static Operation |
ListOperation.getByIndexRange(String binName,
int index,
int count,
int returnType,
CTX... ctx)
Create list get by index range operation.
|
static Operation |
MapOperation.getByIndexRange(String binName,
int index,
int count,
int returnType,
CTX... ctx)
Create map get by index range operation.
|
static Operation |
MapOperation.getByKey(String binName,
Value key,
int returnType,
CTX... ctx)
Create map get by key operation.
|
static Operation |
MapOperation.getByKeyList(String binName,
List<Value> keys,
int returnType,
CTX... ctx)
Create map get by key list operation.
|
static Operation |
MapOperation.getByKeyRange(String binName,
Value keyBegin,
Value keyEnd,
int returnType,
CTX... ctx)
Create map get by key range operation.
|
static Operation |
MapOperation.getByKeyRelativeIndexRange(String binName,
Value key,
int index,
int returnType,
CTX... ctx)
Create map get by key relative to index range operation.
|
static Operation |
MapOperation.getByKeyRelativeIndexRange(String binName,
Value key,
int index,
int count,
int returnType,
CTX... ctx)
Create map get by key relative to index range operation.
|
static Operation |
ListOperation.getByRank(String binName,
int rank,
int returnType,
CTX... ctx)
Create list get by rank operation.
|
static Operation |
MapOperation.getByRank(String binName,
int rank,
int returnType,
CTX... ctx)
Create map get by rank operation.
|
static Operation |
ListOperation.getByRankRange(String binName,
int rank,
int returnType,
CTX... ctx)
Create list get by rank range operation.
|
static Operation |
MapOperation.getByRankRange(String binName,
int rank,
int returnType,
CTX... ctx)
Create map get by rank range operation.
|
static Operation |
ListOperation.getByRankRange(String binName,
int rank,
int count,
int returnType,
CTX... ctx)
Create list get by rank range operation.
|
static Operation |
MapOperation.getByRankRange(String binName,
int rank,
int count,
int returnType,
CTX... ctx)
Create map get by rank range operation.
|
static Operation |
ListOperation.getByValue(String binName,
Value value,
int returnType,
CTX... ctx)
Create list get by value operation.
|
static Operation |
MapOperation.getByValue(String binName,
Value value,
int returnType,
CTX... ctx)
Create map get by value operation.
|
static Operation |
ListOperation.getByValueList(String binName,
List<Value> values,
int returnType,
CTX... ctx)
Create list get by value list operation.
|
static Operation |
MapOperation.getByValueList(String binName,
List<Value> values,
int returnType,
CTX... ctx)
Create map get by value list operation.
|
static Operation |
ListOperation.getByValueRange(String binName,
Value valueBegin,
Value valueEnd,
int returnType,
CTX... ctx)
Create list get by value range operation.
|
static Operation |
MapOperation.getByValueRange(String binName,
Value valueBegin,
Value valueEnd,
int returnType,
CTX... ctx)
Create map get by value range operation.
|
static Operation |
ListOperation.getByValueRelativeRankRange(String binName,
Value value,
int rank,
int returnType,
CTX... ctx)
Create list get by value relative to rank range operation.
|
static Operation |
MapOperation.getByValueRelativeRankRange(String binName,
Value value,
int rank,
int returnType,
CTX... ctx)
Create map get by value relative to rank range operation.
|
static Operation |
ListOperation.getByValueRelativeRankRange(String binName,
Value value,
int rank,
int count,
int returnType,
CTX... ctx)
Create list get by value relative to rank range operation.
|
static Operation |
MapOperation.getByValueRelativeRankRange(String binName,
Value value,
int rank,
int count,
int returnType,
CTX... ctx)
Create map get by value relative to rank range operation.
|
static Operation |
ListOperation.getRange(String binName,
int index,
CTX... ctx)
Create list get range operation.
|
static Operation |
ListOperation.getRange(String binName,
int index,
int count,
CTX... ctx)
Create list get range operation.
|
static Operation |
ListOperation.increment(ListPolicy policy,
String binName,
int index,
CTX... ctx)
Create list increment operation with policy.
|
static Operation |
ListOperation.increment(ListPolicy policy,
String binName,
int index,
Value value,
CTX... ctx)
Create list increment operation.
|
static Operation |
MapOperation.increment(MapPolicy policy,
String binName,
Value key,
Value incr,
CTX... ctx)
Create map increment operation.
|
static Operation |
ListOperation.increment(String binName,
int index,
CTX... ctx)
Create default list increment operation.
|
static Operation |
ListOperation.increment(String binName,
int index,
Value value,
CTX... ctx)
Create default list increment operation.
|
static Operation |
ListOperation.insert(ListPolicy policy,
String binName,
int index,
Value value,
CTX... ctx)
Create list insert operation with policy.
|
static Operation |
ListOperation.insert(String binName,
int index,
Value value,
CTX... ctx)
Create default list insert operation.
|
static Operation |
ListOperation.insertItems(ListPolicy policy,
String binName,
int index,
List<Value> list,
CTX... ctx)
Create list insert items operation with policy.
|
static Operation |
ListOperation.insertItems(String binName,
int index,
List<Value> list,
CTX... ctx)
Create default list insert items operation.
|
static Operation |
ListOperation.pop(String binName,
int index,
CTX... ctx)
Create list pop operation.
|
static Operation |
ListOperation.popRange(String binName,
int index,
CTX... ctx)
Create list pop range operation.
|
static Operation |
ListOperation.popRange(String binName,
int index,
int count,
CTX... ctx)
Create list pop range operation.
|
static Operation |
MapOperation.put(MapPolicy policy,
String binName,
Value key,
Value value,
CTX... ctx)
Create map put operation.
|
static Operation |
MapOperation.putItems(MapPolicy policy,
String binName,
Map<Value,Value> map,
CTX... ctx)
Create map put items operation
Server writes each map item to map bin and returns map size.
|
static Operation |
ListOperation.remove(String binName,
int index,
CTX... ctx)
Create list remove operation.
|
static Operation |
ListOperation.removeByIndex(String binName,
int index,
int returnType,
CTX... ctx)
Create list remove operation.
|
static Operation |
MapOperation.removeByIndex(String binName,
int index,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
ListOperation.removeByIndexRange(String binName,
int index,
int returnType,
CTX... ctx)
Create list remove operation.
|
static Operation |
MapOperation.removeByIndexRange(String binName,
int index,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
ListOperation.removeByIndexRange(String binName,
int index,
int count,
int returnType,
CTX... ctx)
Create list remove operation.
|
static Operation |
MapOperation.removeByIndexRange(String binName,
int index,
int count,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
MapOperation.removeByKey(String binName,
Value key,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
MapOperation.removeByKeyList(String binName,
List<Value> keys,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
MapOperation.removeByKeyRange(String binName,
Value keyBegin,
Value keyEnd,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
MapOperation.removeByKeyRelativeIndexRange(String binName,
Value key,
int index,
int returnType,
CTX... ctx)
Create map remove by key relative to index range operation.
|
static Operation |
MapOperation.removeByKeyRelativeIndexRange(String binName,
Value key,
int index,
int count,
int returnType,
CTX... ctx)
Create map remove by key relative to index range operation.
|
static Operation |
ListOperation.removeByRank(String binName,
int rank,
int returnType,
CTX... ctx)
Create list remove operation.
|
static Operation |
MapOperation.removeByRank(String binName,
int rank,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
ListOperation.removeByRankRange(String binName,
int rank,
int returnType,
CTX... ctx)
Create list remove operation.
|
static Operation |
MapOperation.removeByRankRange(String binName,
int rank,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
ListOperation.removeByRankRange(String binName,
int rank,
int count,
int returnType,
CTX... ctx)
Create list remove operation.
|
static Operation |
MapOperation.removeByRankRange(String binName,
int rank,
int count,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
ListOperation.removeByValue(String binName,
Value value,
int returnType,
CTX... ctx)
Create list remove operation.
|
static Operation |
MapOperation.removeByValue(String binName,
Value value,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
ListOperation.removeByValueList(String binName,
List<Value> values,
int returnType,
CTX... ctx)
Create list remove operation.
|
static Operation |
MapOperation.removeByValueList(String binName,
List<Value> values,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
ListOperation.removeByValueRange(String binName,
Value valueBegin,
Value valueEnd,
int returnType,
CTX... ctx)
Create list remove operation.
|
static Operation |
MapOperation.removeByValueRange(String binName,
Value valueBegin,
Value valueEnd,
int returnType,
CTX... ctx)
Create map remove operation.
|
static Operation |
ListOperation.removeByValueRelativeRankRange(String binName,
Value value,
int rank,
int returnType,
CTX... ctx)
Create list remove by value relative to rank range operation.
|
static Operation |
MapOperation.removeByValueRelativeRankRange(String binName,
Value value,
int rank,
int returnType,
CTX... ctx)
Create map remove by value relative to rank range operation.
|
static Operation |
ListOperation.removeByValueRelativeRankRange(String binName,
Value value,
int rank,
int count,
int returnType,
CTX... ctx)
Create list remove by value relative to rank range operation.
|
static Operation |
MapOperation.removeByValueRelativeRankRange(String binName,
Value value,
int rank,
int count,
int returnType,
CTX... ctx)
Create map remove by value relative to rank range operation.
|
static Operation |
ListOperation.removeRange(String binName,
int index,
CTX... ctx)
Create list remove range operation.
|
static Operation |
ListOperation.removeRange(String binName,
int index,
int count,
CTX... ctx)
Create list remove range operation.
|
static Operation |
ListOperation.set(ListPolicy policy,
String binName,
int index,
Value value,
CTX... ctx)
Create list set operation with policy.
|
static Operation |
ListOperation.set(String binName,
int index,
Value value,
CTX... ctx)
Create list set operation.
|
static Operation |
MapOperation.setMapPolicy(MapPolicy policy,
String binName,
CTX... ctx)
Create set map policy operation.
|
static Operation |
ListOperation.setOrder(String binName,
ListOrder order,
CTX... ctx)
Create set list order operation.
|
static Operation |
ListOperation.size(String binName,
CTX... ctx)
Create list size operation.
|
static Operation |
MapOperation.size(String binName,
CTX... ctx)
Create map size operation.
|
static Operation |
ListOperation.sort(String binName,
int sortFlags,
CTX... ctx)
Create list sort operation.
|
static Operation |
ListOperation.trim(String binName,
int index,
int count,
CTX... ctx)
Create list trim operation.
|
Modifier and Type | Method and Description |
---|---|
static Operation |
ExpOperation.read(String name,
Expression exp,
int flags)
Create operation that performs a read expression.
|
static Operation |
ExpOperation.write(String binName,
Expression exp,
int flags)
Create operation that performs an expression that writes to a record bin.
|
Modifier and Type | Method and Description |
---|---|
static Operation |
BitOperation.add(BitPolicy policy,
String binName,
int bitOffset,
int bitSize,
long value,
boolean signed,
BitOverflowAction action)
Create bit "add" operation.
|
static Operation |
HLLOperation.add(HLLPolicy policy,
String binName,
List<Value> list)
Create HLL add operation.
|
static Operation |
HLLOperation.add(HLLPolicy policy,
String binName,
List<Value> list,
int indexBitCount)
Create HLL add operation.
|
static Operation |
HLLOperation.add(HLLPolicy policy,
String binName,
List<Value> list,
int indexBitCount,
int minHashBitCount)
Create HLL add operation with minhash bits.
|
static Operation |
BitOperation.and(BitPolicy policy,
String binName,
int bitOffset,
int bitSize,
byte[] value)
Create bit "and" operation.
|
static Operation |
BitOperation.count(String binName,
int bitOffset,
int bitSize)
Create bit "count" operation.
|
static Operation |
HLLOperation.describe(String binName)
Create HLL describe operation.
|
static Operation |
HLLOperation.fold(String binName,
int indexBitCount)
Create HLL fold operation.
|
static Operation |
BitOperation.get(String binName,
int bitOffset,
int bitSize)
Create bit "get" operation.
|
static Operation |
HLLOperation.getCount(String binName)
Create HLL getCount operation.
|
static Operation |
BitOperation.getInt(String binName,
int bitOffset,
int bitSize,
boolean signed)
Create bit "get integer" operation.
|
static Operation |
HLLOperation.getIntersectCount(String binName,
List<Value.HLLValue> list)
Create HLL getIntersectCount operation.
|
static Operation |
HLLOperation.getSimilarity(String binName,
List<Value.HLLValue> list)
Create HLL getSimilarity operation.
|
static Operation |
HLLOperation.getUnion(String binName,
List<Value.HLLValue> list)
Create HLL getUnion operation.
|
static Operation |
HLLOperation.getUnionCount(String binName,
List<Value.HLLValue> list)
Create HLL getUnionCount operation.
|
static Operation |
HLLOperation.init(HLLPolicy policy,
String binName,
int indexBitCount)
Create HLL init operation.
|
static Operation |
HLLOperation.init(HLLPolicy policy,
String binName,
int indexBitCount,
int minHashBitCount)
Create HLL init operation with minhash bits.
|
static Operation |
BitOperation.insert(BitPolicy policy,
String binName,
int byteOffset,
byte[] value)
Create byte "insert" operation.
|
static Operation |
BitOperation.lscan(String binName,
int bitOffset,
int bitSize,
boolean value)
Create bit "left scan" operation.
|
static Operation |
BitOperation.lshift(BitPolicy policy,
String binName,
int bitOffset,
int bitSize,
int shift)
Create bit "left shift" operation.
|
static Operation |
BitOperation.not(BitPolicy policy,
String binName,
int bitOffset,
int bitSize)
Create bit "not" operation.
|
static Operation |
BitOperation.or(BitPolicy policy,
String binName,
int bitOffset,
int bitSize,
byte[] value)
Create bit "or" operation.
|
static Operation |
HLLOperation.refreshCount(String binName)
Create HLL refresh operation.
|
static Operation |
BitOperation.remove(BitPolicy policy,
String binName,
int byteOffset,
int byteSize)
Create byte "remove" operation.
|
static Operation |
BitOperation.resize(BitPolicy policy,
String binName,
int byteSize,
int resizeFlags)
Create byte "resize" operation.
|
static Operation |
BitOperation.rscan(String binName,
int bitOffset,
int bitSize,
boolean value)
Create bit "right scan" operation.
|
static Operation |
BitOperation.rshift(BitPolicy policy,
String binName,
int bitOffset,
int bitSize,
int shift)
Create bit "right shift" operation.
|
static Operation |
BitOperation.set(BitPolicy policy,
String binName,
int bitOffset,
int bitSize,
byte[] value)
Create bit "set" operation.
|
static Operation |
BitOperation.setInt(BitPolicy policy,
String binName,
int bitOffset,
int bitSize,
long value)
Create bit "setInt" operation.
|
static Operation |
HLLOperation.setUnion(HLLPolicy policy,
String binName,
List<Value.HLLValue> list)
Create HLL set union operation.
|
static Operation |
BitOperation.subtract(BitPolicy policy,
String binName,
int bitOffset,
int bitSize,
long value,
boolean signed,
BitOverflowAction action)
Create bit "subtract" operation.
|
static Operation |
BitOperation.xor(BitPolicy policy,
String binName,
int bitOffset,
int bitSize,
byte[] value)
Create bit "exclusive or" operation.
|
Modifier and Type | Method and Description |
---|---|
Operation[] |
Statement.getOperations()
Return operations to be performed on a background query.
|
Modifier and Type | Method and Description |
---|---|
void |
Statement.setOperations(Operation[] operations)
Set operations to be performed on a background query
AerospikeClient.execute(com.aerospike.client.policy.WritePolicy, Statement, Operation...)
A foreground query that returns records to the client will silently ignore these operations. |
Copyright © 2012–2023 Aerospike, Inc. All rights reserved.