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() |
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
ArangoDBException
public void validateDocumentId(String id) throws ArangoDBException
ArangoDBException
protected void validateName(String type, String regex, CharSequence name) throws ArangoDBException
ArangoDBException
protected <T> T deserialize(VPackSlice vpack, Type type) throws ArangoDBException
ArangoDBException
protected VPackSlice serialize(Object entity) throws ArangoDBException
ArangoDBException
protected VPackSlice serialize(Object entity, boolean serializeNullValues) throws ArangoDBException
ArangoDBException
protected VPackSlice serialize(Object entity, Type type) throws ArangoDBException
ArangoDBException
protected VPackSlice serialize(Object entity, Type type, boolean serializeNullValues) throws ArangoDBException
ArangoDBException
protected VPackSlice serialize(Object entity, Type type, Map<String,Object> additionalFields) throws ArangoDBException
ArangoDBException
Copyright © 2016–2017 ArangoDB GmbH. All rights reserved.