public abstract class AbstractBaseObjectsOnJdbc extends Object implements Objects
| Modifier and Type | Method and Description |
|---|---|
void |
create(String namespace) |
void |
delete(String namespace,
Collection<String> objects) |
boolean |
delete(String namespace,
String key) |
void |
drop(String namespace) |
Map<String,byte[]> |
get(String namespace,
Collection<String> keys) |
byte[] |
get(String namespace,
String key) |
Collection<String> |
keys(String namespace,
int start,
int count) |
Collection<String> |
namespaces() |
int |
size(String namespace) |
void |
store(String namespace,
Map<String,byte[]> batch) |
void |
store(String namespace,
String key,
byte[] value) |
public Collection<String> namespaces() throws IOException
namespaces in interface NamespaceableIOExceptionpublic void create(String namespace) throws IOException
create in interface NamespaceableIOExceptionpublic void drop(String namespace) throws IOException
drop in interface NamespaceableIOExceptionpublic Collection<String> keys(String namespace, int start, int count) throws IOException
keys in interface ObjectsIOExceptionpublic void store(String namespace, String key, byte[] value) throws IOException
store in interface ObjectsIOExceptionpublic void store(String namespace, Map<String,byte[]> batch) throws IOException
store in interface ObjectsIOExceptionpublic byte[] get(String namespace, String key) throws IOException
get in interface ObjectsIOExceptionpublic Map<String,byte[]> get(String namespace, Collection<String> keys) throws IOException
get in interface ObjectsIOExceptionpublic int size(String namespace) throws IOException
size in interface ObjectsIOExceptionpublic boolean delete(String namespace, String key) throws IOException
delete in interface ObjectsIOExceptionpublic void delete(String namespace, Collection<String> objects) throws IOException
delete in interface ObjectsIOExceptionCopyright © 2021. All rights reserved.