public class InternalArangoDatabase<A extends InternalArangoDB<E,R,C>,E extends ArangoExecutor,R,C extends Connection> extends ArangoExecuteable<E,R,C>
executor
Constructor and Description |
---|
InternalArangoDatabase(A arango,
E executor,
ArangoSerialization util,
String name) |
executor, util
public InternalArangoDatabase(A arango, E executor, ArangoSerialization util, String name)
public A arango()
public String name()
protected ArangoExecutor.ResponseDeserializer<Collection<String>> getDatabaseResponseDeserializer()
protected Request getAccessibleDatabasesRequest()
protected Request getVersionRequest()
protected Request createCollectionRequest(String name, CollectionCreateOptions options)
protected Request getCollectionsRequest(CollectionsReadOptions options)
protected ArangoExecutor.ResponseDeserializer<Collection<CollectionEntity>> getCollectionsResponseDeserializer()
protected Request dropRequest()
protected ArangoExecutor.ResponseDeserializer<Boolean> createDropResponseDeserializer()
protected Request queryRequest(String query, Map<String,Object> bindVars, AqlQueryOptions options)
protected Request explainQueryRequest(String query, Map<String,Object> bindVars, AqlQueryExplainOptions options)
protected Request clearQueryCacheRequest()
protected Request getQueryCachePropertiesRequest()
protected Request setQueryCachePropertiesRequest(QueryCachePropertiesEntity properties)
protected Request getQueryTrackingPropertiesRequest()
protected Request setQueryTrackingPropertiesRequest(QueryTrackingPropertiesEntity properties)
protected Request getCurrentlyRunningQueriesRequest()
protected Request getSlowQueriesRequest()
protected Request clearSlowQueriesRequest()
protected Request createAqlFunctionRequest(String name, String code, AqlFunctionCreateOptions options)
protected Request deleteAqlFunctionRequest(String name, AqlFunctionDeleteOptions options)
protected Request getAqlFunctionsRequest(AqlFunctionGetOptions options)
protected Request createGraphRequest(String name, Collection<EdgeDefinition> edgeDefinitions, GraphCreateOptions options)
protected ArangoExecutor.ResponseDeserializer<GraphEntity> createGraphResponseDeserializer()
protected Request getGraphsRequest()
protected ArangoExecutor.ResponseDeserializer<Collection<GraphEntity>> getGraphsResponseDeserializer()
protected Request transactionRequest(String action, TransactionOptions options)
protected <T> ArangoExecutor.ResponseDeserializer<T> transactionResponseDeserializer(Class<T> type)
protected Request getInfoRequest()
protected ArangoExecutor.ResponseDeserializer<DatabaseEntity> getInfoResponseDeserializer()
protected Request executeTraversalRequest(TraversalOptions options)
protected <E,V> ArangoExecutor.ResponseDeserializer<TraversalEntity<V,E>> executeTraversalResponseDeserializer(Class<V> vertexClass, Class<E> edgeClass)
protected <V> Collection<V> deserializeVertices(Class<V> vertexClass, com.arangodb.velocypack.VPackSlice vpack) throws com.arangodb.velocypack.exception.VPackException
com.arangodb.velocypack.exception.VPackException
protected <E> Collection<E> deserializeEdges(Class<E> edgeClass, com.arangodb.velocypack.VPackSlice next) throws com.arangodb.velocypack.exception.VPackException
com.arangodb.velocypack.exception.VPackException
protected Request reloadRoutingRequest()
Copyright © 2016–2017 ArangoDB GmbH. All rights reserved.