public class InternalDocumentDriverImpl extends BaseArangoDriver implements InternalDocumentDriver
| Modifier and Type | Field and Description |
|---|---|
protected String |
baseUrl |
protected ArangoConfigure |
configure |
protected HttpManager |
httpManager |
| Modifier and Type | Method and Description |
|---|---|
long |
checkDocument(String database,
String documentHandle) |
<T> DocumentEntity<T> |
createDocument(String database,
String collectionName,
String documentKey,
Object value,
Boolean createCollection,
Boolean waitForSync) |
<T> DocumentEntity<T> |
createDocumentRaw(String database,
String collectionName,
String documentKey,
String rawJsonString,
Boolean createCollection,
Boolean waitForSync) |
DocumentEntity<?> |
deleteDocument(String database,
String documentHandle,
Long rev,
Policy policy) |
<T> DocumentEntity<T> |
getDocument(String database,
String documentHandle,
Class<?> clazz,
Long ifNoneMatchRevision,
Long ifMatchRevision) |
List<String> |
getDocuments(String database,
String collectionName,
boolean handleConvert) |
HttpManager |
getHttpManager() |
<T> DocumentEntity<T> |
replaceDocument(String database,
String documentHandle,
Object value,
Long rev,
Policy policy,
Boolean waitForSync) |
void |
setHttpManager(HttpManager httpManager) |
<T> DocumentEntity<T> |
updateDocument(String database,
String documentHandle,
Object value,
Long rev,
Policy policy,
Boolean waitForSync,
Boolean keepNull) |
createDocumentHandle, createDocumentHandle, createEndpointUrl, createEntity, createEntity, createEntity, createEntity, createEntityImpl, setKeyValueHeader, setStatusCode, toReplicationDumpHeader, validate, validateCollectionName, validateDatabaseName, validateDocumentHandleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHttpManager, setHttpManagerprotected ArangoConfigure configure
protected HttpManager httpManager
protected String baseUrl
public <T> DocumentEntity<T> createDocument(String database, String collectionName, String documentKey, Object value, Boolean createCollection, Boolean waitForSync) throws ArangoException
createDocument in interface InternalDocumentDriverArangoExceptionpublic <T> DocumentEntity<T> createDocumentRaw(String database, String collectionName, String documentKey, String rawJsonString, Boolean createCollection, Boolean waitForSync) throws ArangoException
createDocumentRaw in interface InternalDocumentDriverArangoExceptionpublic <T> DocumentEntity<T> replaceDocument(String database, String documentHandle, Object value, Long rev, Policy policy, Boolean waitForSync) throws ArangoException
replaceDocument in interface InternalDocumentDriverArangoExceptionpublic <T> DocumentEntity<T> updateDocument(String database, String documentHandle, Object value, Long rev, Policy policy, Boolean waitForSync, Boolean keepNull) throws ArangoException
updateDocument in interface InternalDocumentDriverArangoExceptionpublic List<String> getDocuments(String database, String collectionName, boolean handleConvert) throws ArangoException
getDocuments in interface InternalDocumentDriverArangoExceptionpublic long checkDocument(String database, String documentHandle) throws ArangoException
checkDocument in interface InternalDocumentDriverArangoExceptionpublic <T> DocumentEntity<T> getDocument(String database, String documentHandle, Class<?> clazz, Long ifNoneMatchRevision, Long ifMatchRevision) throws ArangoException
getDocument in interface InternalDocumentDriverArangoExceptionpublic DocumentEntity<?> deleteDocument(String database, String documentHandle, Long rev, Policy policy) throws ArangoException
deleteDocument in interface InternalDocumentDriverArangoExceptionpublic HttpManager getHttpManager()
getHttpManager in interface BaseDriverInterfacepublic void setHttpManager(HttpManager httpManager)
setHttpManager in interface BaseDriverInterfaceCopyright © 2012–2015 ArangoDB GmbH. All rights reserved.