Package com.arangodb.internal
Class ArangoGraphAsyncImpl
java.lang.Object
com.arangodb.internal.ArangoExecuteable
com.arangodb.internal.InternalArangoGraph
com.arangodb.internal.ArangoGraphAsyncImpl
- All Implemented Interfaces:
ArangoGraphAsync
,ArangoSerdeAccessor
-
Field Summary
Fields inherited from class com.arangodb.internal.InternalArangoGraph
dbName, name, PATH_API_GHARIAL
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
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()
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 class com.arangodb.internal.InternalArangoGraph
addEdgeDefinitionRequest, addEdgeDefinitionResponseDeserializer, addVertexCollectionRequest, addVertexCollectionResponseDeserializer, dropRequest, dropRequest, getEdgeDefinitionsDeserializer, getEdgeDefinitionsRequest, getInfoRequest, getInfoResponseDeserializer, getVertexCollectionsRequest, getVertexCollectionsResponseDeserializer, name, replaceEdgeDefinitionRequest, replaceEdgeDefinitionResponseDeserializer
Methods inherited from class com.arangodb.internal.ArangoExecuteable
createPath, executorAsync, executorSync, getSerde, request
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.arangodb.ArangoGraphAsync
name
Methods inherited from interface com.arangodb.ArangoSerdeAccessor
getSerde
-
Constructor Details
-
ArangoGraphAsyncImpl
-
-
Method Details
-
db
- Specified by:
db
in interfaceArangoGraphAsync
- Returns:
- database async API
-
exists
Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.exists()
- Specified by:
exists
in interfaceArangoGraphAsync
-
create
Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.create(Iterable)
- Specified by:
create
in interfaceArangoGraphAsync
-
create
public CompletableFuture<GraphEntity> create(Iterable<EdgeDefinition> edgeDefinitions, GraphCreateOptions options) Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.create(Iterable, GraphCreateOptions)
- Specified by:
create
in interfaceArangoGraphAsync
-
drop
Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.drop()
- Specified by:
drop
in interfaceArangoGraphAsync
-
drop
Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.drop(boolean)
- Specified by:
drop
in interfaceArangoGraphAsync
-
getInfo
Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.getInfo()
- Specified by:
getInfo
in interfaceArangoGraphAsync
-
getVertexCollections
Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.getVertexCollections()
- Specified by:
getVertexCollections
in interfaceArangoGraphAsync
-
addVertexCollection
Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.addVertexCollection(String)
- Specified by:
addVertexCollection
in interfaceArangoGraphAsync
-
addVertexCollection
public CompletableFuture<GraphEntity> addVertexCollection(String name, VertexCollectionCreateOptions options) Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.addVertexCollection(String, VertexCollectionCreateOptions)
- Specified by:
addVertexCollection
in interfaceArangoGraphAsync
-
vertexCollection
Description copied from interface:ArangoGraphAsync
Returns aArangoVertexCollectionAsync
instance for the given vertex collection name.- Specified by:
vertexCollection
in interfaceArangoGraphAsync
- Parameters:
name
- Name of the vertex collection- Returns:
- collection handler
-
edgeCollection
Description copied from interface:ArangoGraphAsync
Returns aArangoEdgeCollectionAsync
instance for the given edge collection name.- Specified by:
edgeCollection
in interfaceArangoGraphAsync
- Parameters:
name
- Name of the edge collection- Returns:
- collection handler
-
getEdgeDefinitions
Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.getEdgeDefinitions()
- Specified by:
getEdgeDefinitions
in interfaceArangoGraphAsync
-
addEdgeDefinition
Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.addEdgeDefinition(EdgeDefinition)
- Specified by:
addEdgeDefinition
in interfaceArangoGraphAsync
-
replaceEdgeDefinition
Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.replaceEdgeDefinition(EdgeDefinition)
- Specified by:
replaceEdgeDefinition
in interfaceArangoGraphAsync
-
replaceEdgeDefinition
public CompletableFuture<GraphEntity> replaceEdgeDefinition(EdgeDefinition definition, ReplaceEdgeDefinitionOptions options) Description copied from interface:ArangoGraphAsync
Asynchronous version ofArangoGraph.replaceEdgeDefinition(EdgeDefinition, ReplaceEdgeDefinitionOptions)
- Specified by:
replaceEdgeDefinition
in interfaceArangoGraphAsync
-