Package | Description |
---|---|
com.aerospike.client | |
com.aerospike.client.async | |
com.aerospike.client.cdt | |
com.aerospike.client.large | |
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) |
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(String binName,
Value value)
Create 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,
MapReturnType returnType)
Create map get by key operation.
|
static Operation |
MapOperation.getByKeyRange(String binName,
Value keyBegin,
Value keyEnd,
MapReturnType returnType)
Create map get by key range operation.
|
static Operation |
MapOperation.getByValue(String binName,
Value value,
MapReturnType returnType)
Create map get by value operation.
|
static Operation |
MapOperation.getByValueRange(String binName,
Value valueBegin,
Value valueEnd,
MapReturnType returnType)
Create map get by value range operation.
|
static Operation |
MapOperation.increment(MapPolicy policy,
String binName,
Value key,
Value incr)
Create map increment operation.
|
static Operation |
ListOperation.insert(String binName,
int index,
Value value)
Create 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,
MapReturnType returnType)
Create map remove operation.
|
static Operation |
MapOperation.removeByKeyRange(String binName,
Value keyBegin,
Value keyEnd,
MapReturnType returnType)
Create map remove operation.
|
static Operation |
MapOperation.removeByValue(String binName,
Value value,
MapReturnType returnType)
Create map remove operation.
|
static Operation |
MapOperation.removeByValueRange(String binName,
Value valueBegin,
Value valueEnd,
MapReturnType returnType)
Create map remove operation.
|
static Operation |
ListOperation.set(String binName,
int index,
Value value)
Create list set operation.
|
Modifier and Type | Method and Description |
---|---|
static Operation |
ListOperation.appendItems(String binName,
List<Value> list)
Create list append items operation.
|
static Operation |
ListOperation.insertItems(String binName,
int index,
List<Value> list)
Create 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,
MapReturnType returnType)
Create map remove operation.
|
static Operation |
MapOperation.removeByValueList(String binName,
List<Value> values,
MapReturnType returnType)
Create map remove operation.
|
Modifier and Type | Method and Description |
---|---|
void |
LargeList.add(Value... values)
Add values to list.
|
void |
LargeSet.add(Value... values)
Add values to the set.
|
void |
LargeList.add(Value value)
Add value to list.
|
void |
LargeSet.add(Value value)
Add a value to the set.
|
boolean |
LargeList.exists(Value keyValue)
Does key value exist?
|
boolean |
LargeMap.exists(Value keyValue)
Check existence of key in the map.
|
boolean |
LargeSet.exists(Value value)
Check existence of value in the set.
|
List<?> |
LargeStack.filter(int peekCount,
String filterModule,
String filterName,
Value... filterArgs)
Select items from top of stack.
|
List<?> |
LargeList.filter(String filterModule,
String filterName,
Value... filterArgs)
Select values from list and apply specified Lua filter.
|
Map<?,?> |
LargeMap.filter(String filterModule,
String filterName,
Value... filterArgs)
Select items from map.
|
List<?> |
LargeSet.filter(String filterModule,
String filterName,
Value... filterArgs)
Select values from set and apply specified Lua filter.
|
List<?> |
LargeList.find(Value value)
Select values from list.
|
List<?> |
LargeList.findFirst(int count,
String filterModule,
String filterName,
Value... filterArgs)
Select values from the beginning of list up to a maximum count after applying lua filter.
|
List<?> |
LargeList.findFrom(Value begin,
int count)
Select values from the begin key up to a maximum count.
|
List<?> |
LargeList.findFrom(Value begin,
int count,
String filterModule,
String filterName,
Value... filterArgs)
Select values from the begin key up to a maximum count after applying lua filter.
|
List<?> |
LargeList.findFrom(Value begin,
int count,
String filterModule,
String filterName,
Value... filterArgs)
Select values from the begin key up to a maximum count after applying lua filter.
|
List<?> |
LargeList.findLast(int count,
String filterModule,
String filterName,
Value... filterArgs)
Select values from the end of list up to a maximum count after applying lua filter.
|
List<?> |
LargeList.findThenFilter(Value value,
String filterModule,
String filterName,
Value... filterArgs)
Select values from list and apply specified Lua filter.
|
List<?> |
LargeList.findThenFilter(Value value,
String filterModule,
String filterName,
Value... filterArgs)
Select values from list and apply specified Lua filter.
|
Map<?,?> |
LargeMap.get(Value name)
Get value from map given name key.
|
Object |
LargeSet.get(Value value)
Select value from set.
|
void |
LargeStack.push(Value... values)
Push values onto stack.
|
void |
LargeStack.push(Value value)
Push value onto stack.
|
void |
LargeMap.put(Value name,
Value value)
Add entry to map.
|
List<?> |
LargeList.range(Value begin,
Value end)
Select a range of values from the large list.
|
List<?> |
LargeList.range(Value begin,
Value end,
int count)
Select a range of values from the large list.
|
List<?> |
LargeList.range(Value begin,
Value end,
int count,
String filterModule,
String filterName,
Value... filterArgs)
Select a range of values from the large list, then apply a lua filter.
|
List<?> |
LargeList.range(Value begin,
Value end,
int count,
String filterModule,
String filterName,
Value... filterArgs)
Select a range of values from the large list, then apply a lua filter.
|
List<?> |
LargeList.range(Value begin,
Value end,
String filterModule,
String filterName,
Value... filterArgs)
Select a range of values from the large list, then apply a Lua filter.
|
List<?> |
LargeList.range(Value begin,
Value end,
String filterModule,
String filterName,
Value... filterArgs)
Select a range of values from the large list, then apply a Lua filter.
|
void |
LargeList.remove(Value value)
Delete value from list.
|
void |
LargeMap.remove(Value name)
Remove entry from map.
|
void |
LargeSet.remove(Value value)
Delete value from set.
|
int |
LargeList.remove(Value begin,
Value end)
Delete values from list between range.
|
void |
LargeList.update(Value... values)
Update/Add each value in array depending if key exists or not.
|
void |
LargeList.update(Value value)
Update value in list if key exists.
|
Modifier and Type | Method and Description |
---|---|
List<Boolean> |
LargeList.exists(List<Value> keyValues)
Do key values exist? Return list of results in one batch call.
|
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–2017 Aerospike, Inc. All rights reserved.