public final class Store
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected okhttp3.OkHttpClient |
okHttp |
| Modifier | Constructor and Description |
|---|---|
protected |
Store() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(java.lang.String key) |
StoreEntry |
get(java.lang.String key) |
StoreEntry |
insert(java.lang.String key,
java.lang.Object value) |
StoreQueryResponse |
query() |
StoreQueryResponse |
query(java.lang.String filters) |
StoreQueryResponse |
query(java.lang.String filters,
int limit) |
StoreQueryResponse |
query(java.lang.String filters,
int limit,
int offset) |
void |
update(java.lang.String key,
java.lang.Object value) |
public StoreEntry insert(java.lang.String key, java.lang.Object value) throws StoreException
StoreExceptionpublic StoreEntry get(java.lang.String key) throws StoreException
StoreExceptionpublic StoreQueryResponse query() throws StoreException
StoreExceptionpublic StoreQueryResponse query(java.lang.String filters) throws StoreException
StoreExceptionpublic StoreQueryResponse query(java.lang.String filters, int limit) throws StoreException
StoreExceptionpublic StoreQueryResponse query(java.lang.String filters, int limit, int offset) throws StoreException
StoreExceptionpublic void update(java.lang.String key,
java.lang.Object value)
throws StoreException
StoreExceptionpublic void delete(java.lang.String key)
throws java.lang.Exception
java.lang.Exception