public class ArangoGraphAsyncImpl extends com.arangodb.internal.InternalArangoGraph<ArangoDBAsyncImpl,ArangoDatabaseAsyncImpl,ArangoExecutorAsync> implements ArangoGraphAsync
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<GraphEntity> |
addEdgeDefinition(EdgeDefinition definition)
Add a new edge definition to the graph
|
CompletableFuture<GraphEntity> |
addVertexCollection(String name)
Adds a vertex collection to the set of collections of the graph.
|
CompletableFuture<GraphEntity> |
create(Collection<EdgeDefinition> edgeDefinitions)
Creates the graph in the graph module.
|
CompletableFuture<GraphEntity> |
createGraph(Collection<EdgeDefinition> edgeDefinitions,
GraphCreateOptions options)
Creates the graph in the graph module.
|
CompletableFuture<Void> |
drop()
Delete an existing graph
|
CompletableFuture<Void> |
drop(boolean dropCollections)
Delete an existing graph including
|
ArangoEdgeCollectionAsync |
edgeCollection(String name)
Returns a handler of the edge collection by the given name
|
CompletableFuture<Boolean> |
exists()
Checks whether the graph exists
|
CompletableFuture<Collection<String>> |
getEdgeDefinitions()
Lists all edge collections used in this graph
|
CompletableFuture<GraphEntity> |
getInfo()
Get a graph from the graph module
|
CompletableFuture<Collection<String>> |
getVertexCollections()
Lists all vertex collections used in this graph
|
CompletableFuture<GraphEntity> |
removeEdgeDefinition(String definitionName)
Remove one edge definition from the graph.
|
CompletableFuture<GraphEntity> |
replaceEdgeDefinition(EdgeDefinition definition)
Change one specific edge definition.
|
ArangoVertexCollectionAsync |
vertexCollection(String name)
Returns a handler of the vertex collection by the given name
|
addEdgeDefinitionRequest, addEdgeDefinitionResponseDeserializer, addVertexCollectionRequest, addVertexCollectionResponseDeserializer, db, dropRequest, dropRequest, getEdgeDefinitionsDeserializer, getEdgeDefinitionsRequest, getInfoRequest, getInfoResponseDeserializer, getVertexCollectionsRequest, getVertexCollectionsResponseDeserializer, name, removeEdgeDefinitionRequest, removeEdgeDefinitionResponseDeserializer, replaceEdgeDefinitionRequest, replaceEdgeDefinitionResponseDeserializercreatePath, executor, request, util, utilclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdb, nameutil, utilpublic CompletableFuture<Boolean> exists()
ArangoGraphAsyncexists in interface ArangoGraphAsyncpublic CompletableFuture<GraphEntity> create(Collection<EdgeDefinition> edgeDefinitions)
ArangoGraphAsynccreate in interface ArangoGraphAsyncedgeDefinitions - An array of definitions for the edgepublic CompletableFuture<GraphEntity> createGraph(Collection<EdgeDefinition> edgeDefinitions, GraphCreateOptions options)
ArangoGraphAsynccreateGraph in interface ArangoGraphAsyncedgeDefinitions - An array of definitions for the edgeoptions - Additional options, can be nullpublic CompletableFuture<Void> drop()
ArangoGraphAsyncdrop in interface ArangoGraphAsyncpublic CompletableFuture<Void> drop(boolean dropCollections)
ArangoGraphAsyncdrop in interface ArangoGraphAsyncdropCollections - Drop collections of this graph as well. Collections will only be dropped if they are not used in other
graphs.public CompletableFuture<GraphEntity> getInfo()
ArangoGraphAsyncgetInfo in interface ArangoGraphAsyncpublic CompletableFuture<Collection<String>> getVertexCollections()
ArangoGraphAsyncgetVertexCollections in interface ArangoGraphAsyncpublic CompletableFuture<GraphEntity> addVertexCollection(String name)
ArangoGraphAsyncaddVertexCollection in interface ArangoGraphAsyncname - The name of the collectionpublic ArangoVertexCollectionAsync vertexCollection(String name)
ArangoGraphAsyncvertexCollection in interface ArangoGraphAsyncname - Name of the vertex collectionpublic ArangoEdgeCollectionAsync edgeCollection(String name)
ArangoGraphAsyncedgeCollection in interface ArangoGraphAsyncname - Name of the edge collectionpublic CompletableFuture<Collection<String>> getEdgeDefinitions()
ArangoGraphAsyncgetEdgeDefinitions in interface ArangoGraphAsyncpublic CompletableFuture<GraphEntity> addEdgeDefinition(EdgeDefinition definition)
ArangoGraphAsyncaddEdgeDefinition in interface ArangoGraphAsyncpublic CompletableFuture<GraphEntity> replaceEdgeDefinition(EdgeDefinition definition)
ArangoGraphAsyncreplaceEdgeDefinition in interface ArangoGraphAsyncdefinition - The edge definitionpublic CompletableFuture<GraphEntity> removeEdgeDefinition(String definitionName)
ArangoGraphAsyncremoveEdgeDefinition in interface ArangoGraphAsyncdefinitionName - The name of the edge collection used in the definitionCopyright © 2016–2021 ArangoDB GmbH. All rights reserved.