public abstract class ArangoExecutor<R,C extends Connection> extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ArangoExecutor.ResponseDeserializer<T> |
| Modifier | Constructor and Description |
|---|---|
protected |
ArangoExecutor(Communication<R,C> communication,
VPack vpacker,
VPack vpackerNull,
VPackParser vpackParser,
DocumentCache documentCache,
CollectionCache collectionCache) |
| Modifier and Type | Method and Description |
|---|---|
protected CollectionCache |
collectionCache() |
Communication<R,C> |
communication() |
String |
createDocumentHandle(String collection,
String key) |
protected String |
createPath(String... params) |
protected <T> T |
createResult(Type type,
Response response) |
protected <T> T |
deserialize(VPackSlice vpack,
Type type) |
DocumentCache |
documentCache() |
protected VPackSlice |
serialize(Object entity) |
protected VPackSlice |
serialize(Object entity,
boolean serializeNullValues) |
protected VPackSlice |
serialize(Object entity,
Type type) |
protected VPackSlice |
serialize(Object entity,
Type type,
boolean serializeNullValues) |
protected VPackSlice |
serialize(Object entity,
Type type,
Map<String,Object> additionalFields) |
protected ArangoUtil |
util() |
void |
validateDocumentId(String id) |
void |
validateDocumentKey(String key) |
protected void |
validateName(String type,
String regex,
CharSequence name) |
protected ArangoExecutor(Communication<R,C> communication, VPack vpacker, VPack vpackerNull, VPackParser vpackParser, DocumentCache documentCache, CollectionCache collectionCache)
public Communication<R,C> communication()
public DocumentCache documentCache()
protected CollectionCache collectionCache()
protected ArangoUtil util()
public void validateDocumentKey(String key) throws ArangoDBException
ArangoDBExceptionpublic void validateDocumentId(String id) throws ArangoDBException
ArangoDBExceptionprotected void validateName(String type, String regex, CharSequence name) throws ArangoDBException
ArangoDBExceptionprotected <T> T deserialize(VPackSlice vpack, Type type) throws ArangoDBException
ArangoDBExceptionprotected VPackSlice serialize(Object entity) throws ArangoDBException
ArangoDBExceptionprotected VPackSlice serialize(Object entity, boolean serializeNullValues) throws ArangoDBException
ArangoDBExceptionprotected VPackSlice serialize(Object entity, Type type) throws ArangoDBException
ArangoDBExceptionprotected VPackSlice serialize(Object entity, Type type, boolean serializeNullValues) throws ArangoDBException
ArangoDBExceptionprotected VPackSlice serialize(Object entity, Type type, Map<String,Object> additionalFields) throws ArangoDBException
ArangoDBExceptionCopyright © 2016–2017 ArangoDB GmbH. All rights reserved.