Package | Description |
---|---|
com.aerospike.client | |
com.aerospike.client.large | |
com.aerospike.client.query |
Modifier and Type | Class and Description |
---|---|
static class |
Value.BlobValue
Blob value.
|
static class |
Value.ByteSegmentValue
Byte segment value.
|
static class |
Value.BytesValue
Byte array value.
|
static class |
Value.DoubleValue
Double value.
|
static class |
Value.FloatValue
Float 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 |
Operation.binValue
Optional bin value used in operation.
|
Value |
Key.userKey
Original user key.
|
Value |
Bin.value
Bin value.
|
Modifier and Type | Method and Description |
---|---|
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(long value)
Get long 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.getAsList(List<?> value)
Get list or null value instance.
|
static Value |
Value.getAsMap(Map<?,?> value)
Get map or null value instance.
|
static Value |
Value.getAsNull()
Get null value instance.
|
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.
|
Object |
AerospikeClient.execute(Policy policy,
Key key,
String packageName,
String functionName,
Value... args)
|
Object |
IAerospikeClient.execute(Policy policy,
Key key,
String packageName,
String functionName,
Value... args)
|
ExecuteTask |
AerospikeClient.execute(Policy policy,
Statement statement,
String packageName,
String functionName,
Value... functionArgs)
|
ExecuteTask |
IAerospikeClient.execute(Policy policy,
Statement statement,
String packageName,
String functionName,
Value... functionArgs)
|
Object |
AerospikeClient.execute(WritePolicy policy,
Key key,
String packageName,
String functionName,
Value... args)
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.
|
Value.ValueArray(Value[] array) |
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 |
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.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,
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 |
---|---|
Value[] |
Statement.getFunctionArgs()
Return aggregation function arguments.
|
Modifier and Type | Method and Description |
---|---|
static Filter |
Filter.equal(String name,
Value value)
Deprecated.
|
static Filter |
Filter.range(String name,
Value begin,
Value end)
Deprecated.
|
void |
Statement.setAggregateFunction(String packageName,
String functionName,
Value[] functionArgs,
boolean returnData)
Set Lua aggregation function parameters.
|
Copyright © 2012–2015 Aerospike, Inc. All rights reserved.