Package | Description |
---|---|
com.aerospike.client | |
com.aerospike.client.async | |
com.aerospike.client.cdt | |
com.aerospike.client.query |
Modifier and Type | Class and Description |
---|---|
static class |
Value.BlobValue
Blob value.
|
static class |
Value.BooleanValue
Boolean value.
|
static class |
Value.ByteSegmentValue
Byte segment value.
|
static class |
Value.BytesValue
Byte array value.
|
static class |
Value.ByteValue
Byte value.
|
static class |
Value.DoubleValue
Double value.
|
static class |
Value.FloatValue
Float value.
|
static class |
Value.GeoJSONValue
GeoJSON value.
|
static class |
Value.IntegerValue
Integer value.
|
static class |
Value.ListValue
List value.
|
static class |
Value.LongValue
Long value.
|
static class |
Value.MapValue
Map value.
|
static class |
Value.NullValue
Empty value.
|
static class |
Value.StringValue
String value.
|
static class |
Value.ValueArray
Value array.
|
Modifier and Type | Field and Description |
---|---|
Value |
Key.userKey
Original user key.
|
Value |
Bin.value
Bin value.
|
Value |
Operation.value
Optional argument to operation.
|
Modifier and Type | Method and Description |
---|---|
static Value |
Value.get(boolean value)
Get boolean value instance.
|
static Value |
Value.get(byte value)
Get byte value instance.
|
static Value |
Value.get(byte[] value)
Get byte array or null value instance.
|
static Value |
Value.get(byte[] value,
int offset,
int length)
Get byte segment or null value instance.
|
static Value |
Value.get(double value)
Get double value instance.
|
static Value |
Value.get(float value)
Get float value instance.
|
static Value |
Value.get(int value)
Get integer value instance.
|
static Value |
Value.get(List<?> value)
Get list or null value instance.
|
static Value |
Value.get(long value)
Get long value instance.
|
static Value |
Value.get(Map<?,?> value)
Get map or null value instance.
|
static Value |
Value.get(Object value)
Determine value given generic object.
|
static Value |
Value.get(String value)
Get string or null value instance.
|
static Value |
Value.get(Value[] value)
Get value array instance.
|
static Value |
Value.getAsBlob(Object value)
Get blob or null value instance.
|
static Value |
Value.getAsGeoJSON(String value)
Get GeoJSON or null value instance.
|
static Value |
Value.getAsNull()
Get null value instance.
|
static Value |
Value.getFromRecordObject(Object value)
Get value from Record object.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
Key.computeDigest(String setName,
Value key)
Generate unique server hash value from set name, key type and user defined key.
|
void |
AerospikeClient.execute(EventLoop eventLoop,
ExecuteListener listener,
WritePolicy policy,
Key key,
String packageName,
String functionName,
Value... functionArgs)
Asynchronously execute user defined function on server.
|
void |
IAerospikeClient.execute(EventLoop eventLoop,
ExecuteListener listener,
WritePolicy policy,
Key key,
String packageName,
String functionName,
Value... functionArgs)
Asynchronously execute user defined function on server.
|
Object |
AerospikeClient.execute(WritePolicy policy,
Key key,
String packageName,
String functionName,
Value... functionArgs)
Execute user defined function on server and return results.
|
Object |
IAerospikeClient.execute(WritePolicy policy,
Key key,
String packageName,
String functionName,
Value... args)
Execute user defined function on server and return results.
|
ExecuteTask |
AerospikeClient.execute(WritePolicy policy,
Statement statement,
String packageName,
String functionName,
Value... functionArgs)
Apply user defined function on records that match the statement filter.
|
ExecuteTask |
IAerospikeClient.execute(WritePolicy policy,
Statement statement,
String packageName,
String functionName,
Value... functionArgs)
Apply user defined function on records that match the statement filter.
|
static Value |
Value.get(Value[] value)
Get value array instance.
|
ResultSet |
AerospikeClient.queryAggregate(QueryPolicy policy,
Statement statement,
String packageName,
String functionName,
Value... functionArgs)
Execute query, apply statement's aggregation function, and return result iterator.
|
ResultSet |
IAerospikeClient.queryAggregate(QueryPolicy policy,
Statement statement,
String packageName,
String functionName,
Value... functionArgs)
Execute query, apply statement's aggregation function, and return result iterator.
|
Constructor and Description |
---|
Bin(String name,
Value value)
Constructor, specifying bin name and value.
|
Key(String namespace,
byte[] digest,
String setName,
Value userKey)
Initialize key from namespace, digest, optional set name and optional userKey.
|
Key(String namespace,
String setName,
Value key)
Initialize key from namespace, optional set name and user key.
|
Operation(Operation.Type type,
String binName,
Value value) |
ValueArray(Value[] array) |
Modifier and Type | Method and Description |
---|---|
void |
AsyncClient.execute(WritePolicy policy,
ExecuteListener listener,
Key key,
String packageName,
String functionName,
Value... functionArgs)
Asynchronously execute user defined function on server and return results.
|
void |
IAsyncClient.execute(WritePolicy policy,
ExecuteListener listener,
Key key,
String packageName,
String functionName,
Value... functionArgs)
Asynchronously execute user defined function on server and return results.
|
Modifier and Type | Method and Description |
---|---|
static Operation |
ListOperation.append(ListPolicy policy,
String binName,
Value value)
Create list append operation with policy.
|
static Operation |
ListOperation.append(String binName,
Value value)
Create default list append operation.
|
static Operation |
MapOperation.decrement(MapPolicy policy,
String binName,
Value key,
Value decr)
Create map decrement operation.
|
static Operation |
MapOperation.getByKey(String binName,
Value key,
int returnType)
Create map get by key operation.
|
static Operation |
MapOperation.getByKeyRange(String binName,
Value keyBegin,
Value keyEnd,
int returnType)
Create map get by key range operation.
|
static Operation |
MapOperation.getByKeyRelativeIndexRange(String binName,
Value key,
int index,
int returnType)
Create map get by key relative to index range operation.
|
static Operation |
MapOperation.getByKeyRelativeIndexRange(String binName,
Value key,
int index,
int count,
int returnType)
Create map get by key relative to index range operation.
|
static Operation |
ListOperation.getByValue(String binName,
Value value,
int returnType)
Create list get by value operation.
|
static Operation |
MapOperation.getByValue(String binName,
Value value,
int returnType)
Create map get by value operation.
|
static Operation |
ListOperation.getByValueRange(String binName,
Value valueBegin,
Value valueEnd,
int returnType)
Create list get by value range operation.
|
static Operation |
MapOperation.getByValueRange(String binName,
Value valueBegin,
Value valueEnd,
int returnType)
Create map get by value range operation.
|
static Operation |
ListOperation.getByValueRelativeRankRange(String binName,
Value value,
int rank,
int returnType)
Create list get by value relative to rank range operation.
|
static Operation |
MapOperation.getByValueRelativeRankRange(String binName,
Value value,
int rank,
int returnType)
Create map get by value relative to rank range operation.
|
static Operation |
ListOperation.getByValueRelativeRankRange(String binName,
Value value,
int rank,
int count,
int returnType)
Create list get by value relative to rank range operation.
|
static Operation |
MapOperation.getByValueRelativeRankRange(String binName,
Value value,
int rank,
int count,
int returnType)
Create map get by value relative to rank range operation.
|
static Operation |
ListOperation.increment(ListPolicy policy,
String binName,
int index,
Value value)
Create list increment operation.
|
static Operation |
MapOperation.increment(MapPolicy policy,
String binName,
Value key,
Value incr)
Create map increment operation.
|
static Operation |
ListOperation.increment(String binName,
int index,
Value value)
Create default list increment operation.
|
static Operation |
ListOperation.insert(ListPolicy policy,
String binName,
int index,
Value value)
Create list insert operation with policy.
|
static Operation |
ListOperation.insert(String binName,
int index,
Value value)
Create default list insert operation.
|
static Operation |
MapOperation.put(MapPolicy policy,
String binName,
Value key,
Value value)
Create map put operation.
|
static Operation |
MapOperation.removeByKey(String binName,
Value key,
int returnType)
Create map remove operation.
|
static Operation |
MapOperation.removeByKeyRange(String binName,
Value keyBegin,
Value keyEnd,
int returnType)
Create map remove operation.
|
static Operation |
MapOperation.removeByKeyRelativeIndexRange(String binName,
Value key,
int index,
int returnType)
Create map remove by key relative to index range operation.
|
static Operation |
MapOperation.removeByKeyRelativeIndexRange(String binName,
Value key,
int index,
int count,
int returnType)
Create map remove by key relative to index range operation.
|
static Operation |
ListOperation.removeByValue(String binName,
Value value,
int returnType)
Create list remove operation.
|
static Operation |
MapOperation.removeByValue(String binName,
Value value,
int returnType)
Create map remove operation.
|
static Operation |
ListOperation.removeByValueRange(String binName,
Value valueBegin,
Value valueEnd,
int returnType)
Create list remove operation.
|
static Operation |
MapOperation.removeByValueRange(String binName,
Value valueBegin,
Value valueEnd,
int returnType)
Create map remove operation.
|
static Operation |
ListOperation.removeByValueRelativeRankRange(String binName,
Value value,
int rank,
int returnType)
Create list remove by value relative to rank range operation.
|
static Operation |
MapOperation.removeByValueRelativeRankRange(String binName,
Value value,
int rank,
int returnType)
Create map remove by value relative to rank range operation.
|
static Operation |
ListOperation.removeByValueRelativeRankRange(String binName,
Value value,
int rank,
int count,
int returnType)
Create list remove by value relative to rank range operation.
|
static Operation |
MapOperation.removeByValueRelativeRankRange(String binName,
Value value,
int rank,
int count,
int returnType)
Create map remove by value relative to rank range operation.
|
static Operation |
ListOperation.set(ListPolicy policy,
String binName,
int index,
Value value)
Create list set operation with policy.
|
static Operation |
ListOperation.set(String binName,
int index,
Value value)
Create list set operation.
|
Modifier and Type | Method and Description |
---|---|
static Operation |
ListOperation.appendItems(ListPolicy policy,
String binName,
List<Value> list)
Create list append items operation with policy.
|
static Operation |
ListOperation.appendItems(String binName,
List<Value> list)
Create default list append items operation.
|
static Operation |
MapOperation.getByKeyList(String binName,
List<Value> keys,
int returnType)
Create map get by key list operation.
|
static Operation |
ListOperation.getByValueList(String binName,
List<Value> values,
int returnType)
Create list get by value list operation.
|
static Operation |
MapOperation.getByValueList(String binName,
List<Value> values,
int returnType)
Create map get by value list operation.
|
static Operation |
ListOperation.insertItems(ListPolicy policy,
String binName,
int index,
List<Value> list)
Create list insert items operation with policy.
|
static Operation |
ListOperation.insertItems(String binName,
int index,
List<Value> list)
Create default list insert items operation.
|
static Operation |
MapOperation.putItems(MapPolicy policy,
String binName,
Map<Value,Value> map)
Create map put items operation
Server writes each map item to map bin and returns map size.
|
static Operation |
MapOperation.putItems(MapPolicy policy,
String binName,
Map<Value,Value> map)
Create map put items operation
Server writes each map item to map bin and returns map size.
|
static Operation |
MapOperation.removeByKeyList(String binName,
List<Value> keys,
int returnType)
Create map remove operation.
|
static Operation |
ListOperation.removeByValueList(String binName,
List<Value> values,
int returnType)
Create list remove operation.
|
static Operation |
MapOperation.removeByValueList(String binName,
List<Value> values,
int returnType)
Create map remove operation.
|
Modifier and Type | Method and Description |
---|---|
Value[] |
Statement.getFunctionArgs()
Return aggregation function arguments.
|
Modifier and Type | Method and Description |
---|---|
void |
Statement.setAggregateFunction(ClassLoader resourceLoader,
String resourcePath,
String packageName,
String functionName,
Value... functionArgs)
Set Lua aggregation function parameters for a Lua package located in a resource file.
|
void |
Statement.setAggregateFunction(String packageName,
String functionName,
Value... functionArgs)
Set Lua aggregation function parameters for a Lua package located on the filesystem.
|
Copyright ? 2012–2018 Aerospike, Inc. All rights reserved.