public interface Maps
| Modifier and Type | Method and Description |
|---|---|
void |
create(String namespace)
Create a new namespace.
|
int |
delete(String namespace,
Map<String,String> query)
Delete and return the count of all maps matching the given query object.
|
void |
drop(String namespace)
Drop a namespace.
|
Collection<Map<String,String>> |
get(String namespace,
Map<String,String> query)
Get all maps matching the given query object.
|
Collection<String> |
namespaces()
Get list of all namespaces.
|
void |
store(String namespace,
Map<String,String> map)
Store a map in the given namespace.
|
Collection<String> namespaces() throws IOException
IOException - exception thrown from the underlying storage implementationvoid create(String namespace) throws IOException
namespace - the namespace identifierIOException - exception thrown from the underlying storage implementationvoid drop(String namespace) throws IOException
namespace - the namespace identifierIOException - exception thrown from the underlying storage implementationvoid store(String namespace, Map<String,String> map) throws IOException
namespace - the namespace identifiermap - the map to storeIOException - exception thrown from the underlying storage implementationCollection<Map<String,String>> get(String namespace, Map<String,String> query) throws IOException
namespace - the namespace identifierquery - query object to match againstIOException - exception thrown from the underlying storage implementationint delete(String namespace, Map<String,String> query) throws IOException
namespace - the namespace identifierquery - query object to match againstIOException - exception thrown from the underlying storage implementationCopyright © 2019. All rights reserved.