public class InternalKVSDriverImpl extends BaseArangoDriver implements InternalKVSDriver
Modifier and Type | Field and Description |
---|---|
protected String |
baseUrl |
protected ArangoConfigure |
configure |
protected HttpManager |
httpManager |
Modifier and Type | Method and Description |
---|---|
KeyValueEntity |
createKeyValue(String database,
String collectionName,
String key,
Object value,
Map<String,Object> attributes,
Date expiredDate) |
HttpManager |
getHttpManager() |
void |
setHttpManager(HttpManager httpManager) |
KeyValueEntity |
updateKeyValue(String database,
String collectionName,
String key,
Object value,
Map<String,Object> attributes,
Date expiredDate,
boolean create) |
createDocumentHandle, createDocumentHandle, createEndpointUrl, createEntity, createEntity, createEntity, createEntity, createEntityImpl, setKeyValueHeader, setStatusCode, toReplicationDumpHeader, validate, validateCollectionName, validateDatabaseName, validateDocumentHandle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHttpManager, setHttpManager
protected ArangoConfigure configure
protected HttpManager httpManager
protected String baseUrl
public KeyValueEntity createKeyValue(String database, String collectionName, String key, Object value, Map<String,Object> attributes, Date expiredDate) throws ArangoException
createKeyValue
in interface InternalKVSDriver
ArangoException
public KeyValueEntity updateKeyValue(String database, String collectionName, String key, Object value, Map<String,Object> attributes, Date expiredDate, boolean create) throws ArangoException
updateKeyValue
in interface InternalKVSDriver
ArangoException
public HttpManager getHttpManager()
getHttpManager
in interface BaseDriverInterface
public void setHttpManager(HttpManager httpManager)
setHttpManager
in interface BaseDriverInterface
Copyright © 2012–2015 ArangoDB GmbH. All rights reserved.