public interface TupleStore extends Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(String key)
Returns true of there exist tuples with the specified key
|
<T> Tuple<T> |
get(String key)
Retrieves the first tuple returned for the specified key.
|
Collection<Tuple> |
getAll(String key)
Retrieves all the tuples for the specified key.
|
Collection<Tuple> |
getTuples()
Retrieves all the getTuples.
|
Set<String> |
keys()
Returns the keys in the current object
|
void |
put(Tuple tuple)
Puts a single tuple in the current data store
|
void |
putAll(Iterable<Tuple> tuples)
Adds all the given getTuples to the current data store
|
<T> Tuple<T> |
remove(String key)
Removes the first tuple belonging to the specified key.
|
<T> Tuple<T> |
remove(Tuple<T> t)
Removes the specified tuple
|
Collection<Tuple> |
removeAll(Collection<Tuple> tuples) |
Collection<Tuple> |
removeAll(String key)
Revoves all the tuples with the given key.
|
int |
size()
Returns the size of the tuplestore.
|
void put(Tuple tuple)
Collection<Tuple> getTuples()
Collection<Tuple> getAll(String key)
<T> Tuple<T> get(String key)
boolean containsKey(String key)
<T> Tuple<T> remove(String key)
Collection<Tuple> removeAll(String key)
Collection<Tuple> removeAll(Collection<Tuple> tuples)
int size()
Copyright © 2017 Calrissian. All rights reserved.