Package com.arangodb
Interface ArangoGraphAsync
- All Superinterfaces:
ArangoSerdeAccessor
- All Known Implementing Classes:
ArangoGraphAsyncImpl
Asynchronous version of
ArangoGraph
-
Method Summary
Modifier and TypeMethodDescriptionaddEdgeDefinition
(EdgeDefinition definition) Asynchronous version ofArangoGraph.addEdgeDefinition(EdgeDefinition)
addVertexCollection
(String name) Asynchronous version ofArangoGraph.addVertexCollection(String)
addVertexCollection
(String name, VertexCollectionCreateOptions options) Asynchronous version ofArangoGraph.addVertexCollection(String, VertexCollectionCreateOptions)
create
(Iterable<EdgeDefinition> edgeDefinitions) Asynchronous version ofArangoGraph.create(Iterable)
create
(Iterable<EdgeDefinition> edgeDefinitions, GraphCreateOptions options) Asynchronous version ofArangoGraph.create(Iterable, GraphCreateOptions)
db()
drop()
Asynchronous version ofArangoGraph.drop()
drop
(boolean dropCollections) Asynchronous version ofArangoGraph.drop(boolean)
edgeCollection
(String name) Returns aArangoEdgeCollectionAsync
instance for the given edge collection name.exists()
Asynchronous version ofArangoGraph.exists()
Asynchronous version ofArangoGraph.getEdgeDefinitions()
getInfo()
Asynchronous version ofArangoGraph.getInfo()
Asynchronous version ofArangoGraph.getVertexCollections()
name()
replaceEdgeDefinition
(EdgeDefinition definition) Asynchronous version ofArangoGraph.replaceEdgeDefinition(EdgeDefinition)
replaceEdgeDefinition
(EdgeDefinition definition, ReplaceEdgeDefinitionOptions options) Asynchronous version ofArangoGraph.replaceEdgeDefinition(EdgeDefinition, ReplaceEdgeDefinitionOptions)
vertexCollection
(String name) Returns aArangoVertexCollectionAsync
instance for the given vertex collection name.Methods inherited from interface com.arangodb.ArangoSerdeAccessor
getSerde
-
Method Details
-
db
ArangoDatabaseAsync db()- Returns:
- database async API
-
name
String name()- Returns:
- graph name
-
exists
CompletableFuture<Boolean> exists()Asynchronous version ofArangoGraph.exists()
-
create
Asynchronous version ofArangoGraph.create(Iterable)
-
create
CompletableFuture<GraphEntity> create(Iterable<EdgeDefinition> edgeDefinitions, GraphCreateOptions options) Asynchronous version ofArangoGraph.create(Iterable, GraphCreateOptions)
-
drop
CompletableFuture<Void> drop()Asynchronous version ofArangoGraph.drop()
-
drop
Asynchronous version ofArangoGraph.drop(boolean)
-
getInfo
CompletableFuture<GraphEntity> getInfo()Asynchronous version ofArangoGraph.getInfo()
-
getVertexCollections
CompletableFuture<Collection<String>> getVertexCollections()Asynchronous version ofArangoGraph.getVertexCollections()
-
addVertexCollection
Asynchronous version ofArangoGraph.addVertexCollection(String)
-
addVertexCollection
CompletableFuture<GraphEntity> addVertexCollection(String name, VertexCollectionCreateOptions options) Asynchronous version ofArangoGraph.addVertexCollection(String, VertexCollectionCreateOptions)
-
vertexCollection
Returns aArangoVertexCollectionAsync
instance for the given vertex collection name.- Parameters:
name
- Name of the vertex collection- Returns:
- collection handler
-
edgeCollection
Returns aArangoEdgeCollectionAsync
instance for the given edge collection name.- Parameters:
name
- Name of the edge collection- Returns:
- collection handler
-
getEdgeDefinitions
CompletableFuture<Collection<String>> getEdgeDefinitions()Asynchronous version ofArangoGraph.getEdgeDefinitions()
-
addEdgeDefinition
Asynchronous version ofArangoGraph.addEdgeDefinition(EdgeDefinition)
-
replaceEdgeDefinition
Asynchronous version ofArangoGraph.replaceEdgeDefinition(EdgeDefinition)
-
replaceEdgeDefinition
CompletableFuture<GraphEntity> replaceEdgeDefinition(EdgeDefinition definition, ReplaceEdgeDefinitionOptions options) Asynchronous version ofArangoGraph.replaceEdgeDefinition(EdgeDefinition, ReplaceEdgeDefinitionOptions)
-