|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aerospike.client.LargeSet
public final class LargeSet
Create and manage a list within a single bin.
Constructor Summary | |
---|---|
LargeSet(AerospikeClient client,
Policy policy,
Key key,
java.lang.String binName)
Initialize large set operator. |
Method Summary | |
---|---|
void |
create(java.lang.String configName)
Create a list in a single record bin. |
void |
delete(Value value)
Delete value from list. |
java.util.Map<?,?> |
getConfig()
Return map of list configuration parameters. |
void |
insert(java.lang.String configName,
Value value)
Insert value into list. |
void |
insert(Value value)
Insert value into list. |
java.util.List<?> |
search(Value value)
Select value from list. |
java.util.List<?> |
search(Value value,
java.lang.String filterName,
Value... filterArgs)
Select value from list and apply specified Lua filter. |
int |
size()
Return size of list. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LargeSet(AerospikeClient client, Policy policy, Key key, java.lang.String binName)
client
- clientpolicy
- generic configuration parameters, pass in null for defaultskey
- unique record identifierbinName
- bin nameMethod Detail |
---|
public final void create(java.lang.String configName) throws AerospikeException
configName
- Lua function name that initializes list configuration parameters, pass null for default list
AerospikeException
public final void insert(java.lang.String configName, Value value) throws AerospikeException
configName
- Lua function name that initializes list configuration parameters, pass null for default listvalue
- value to insert
AerospikeException
public final void insert(Value value) throws AerospikeException
value
- value to insert
AerospikeException
public final void delete(Value value) throws AerospikeException
value
- value to delete
AerospikeException
public final java.util.List<?> search(Value value) throws AerospikeException
value
- value to select
AerospikeException
public final java.util.List<?> search(Value value, java.lang.String filterName, Value... filterArgs) throws AerospikeException
value
- value to selectfilterName
- Lua function name which applies filter to returned listfilterArgs
- arguments to Lua function name
AerospikeException
public final int size() throws AerospikeException
AerospikeException
public final java.util.Map<?,?> getConfig() throws AerospikeException
AerospikeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |