public class ArangoEdgeCollectionAsyncImpl extends com.arangodb.internal.InternalArangoEdgeCollection<ArangoDBAsyncImpl,ArangoDatabaseAsyncImpl,ArangoGraphAsyncImpl,ArangoExecutorAsync> implements ArangoEdgeCollectionAsync
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
deleteEdge(String key)
Removes a edge
|
CompletableFuture<Void> |
deleteEdge(String key,
EdgeDeleteOptions options)
Removes a edge
|
<T> CompletableFuture<T> |
getEdge(String key,
Class<T> type)
Fetches an existing edge
|
<T> CompletableFuture<T> |
getEdge(String key,
Class<T> type,
GraphDocumentReadOptions options)
Fetches an existing edge
|
<T> CompletableFuture<EdgeEntity> |
insertEdge(T value)
Creates a new edge in the collection
|
<T> CompletableFuture<EdgeEntity> |
insertEdge(T value,
EdgeCreateOptions options)
Creates a new edge in the collection
|
<T> CompletableFuture<EdgeUpdateEntity> |
replaceEdge(String key,
T value)
Replaces the edge with key with the one in the body, provided there is such a edge and no precondition is
violated
|
<T> CompletableFuture<EdgeUpdateEntity> |
replaceEdge(String key,
T value,
EdgeReplaceOptions options)
Replaces the edge with key with the one in the body, provided there is such a edge and no precondition is
violated
|
<T> CompletableFuture<EdgeUpdateEntity> |
updateEdge(String key,
T value)
Partially updates the edge identified by document-key.
|
<T> CompletableFuture<EdgeUpdateEntity> |
updateEdge(String key,
T value,
EdgeUpdateOptions options)
Partially updates the edge identified by document-key.
|
deleteEdgeRequest, getEdgeRequest, getEdgeResponseDeserializer, graph, insertEdgeRequest, insertEdgeResponseDeserializer, name, replaceEdgeRequest, replaceEdgeResponseDeserializer, updateEdgeRequest, updateEdgeResponseDeserializercreatePath, executor, request, util, utilclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgraph, nameutil, utilpublic <T> CompletableFuture<EdgeEntity> insertEdge(T value)
ArangoEdgeCollectionAsyncinsertEdge in interface ArangoEdgeCollectionAsyncvalue - A representation of a single edge (POJO, VPackSlice or String for Json)public <T> CompletableFuture<EdgeEntity> insertEdge(T value, EdgeCreateOptions options)
ArangoEdgeCollectionAsyncinsertEdge in interface ArangoEdgeCollectionAsyncvalue - A representation of a single edge (POJO, VPackSlice or String for Json)options - Additional options, can be nullpublic <T> CompletableFuture<T> getEdge(String key, Class<T> type)
ArangoEdgeCollectionAsyncgetEdge in interface ArangoEdgeCollectionAsynckey - The key of the edgetype - The type of the edge-document (POJO class, VPackSlice or String for Json)public <T> CompletableFuture<T> getEdge(String key, Class<T> type, GraphDocumentReadOptions options)
ArangoEdgeCollectionAsyncgetEdge in interface ArangoEdgeCollectionAsynckey - The key of the edgetype - The type of the edge-document (POJO class, VPackSlice or String for Json)options - Additional options, can be nullpublic <T> CompletableFuture<EdgeUpdateEntity> replaceEdge(String key, T value)
ArangoEdgeCollectionAsyncreplaceEdge in interface ArangoEdgeCollectionAsynckey - The key of the edgepublic <T> CompletableFuture<EdgeUpdateEntity> replaceEdge(String key, T value, EdgeReplaceOptions options)
ArangoEdgeCollectionAsyncreplaceEdge in interface ArangoEdgeCollectionAsynckey - The key of the edgeoptions - Additional options, can be nullpublic <T> CompletableFuture<EdgeUpdateEntity> updateEdge(String key, T value)
ArangoEdgeCollectionAsyncupdateEdge in interface ArangoEdgeCollectionAsynckey - The key of the edgepublic <T> CompletableFuture<EdgeUpdateEntity> updateEdge(String key, T value, EdgeUpdateOptions options)
ArangoEdgeCollectionAsyncupdateEdge in interface ArangoEdgeCollectionAsynckey - The key of the edgeoptions - Additional options, can be nullpublic CompletableFuture<Void> deleteEdge(String key)
ArangoEdgeCollectionAsyncdeleteEdge in interface ArangoEdgeCollectionAsynckey - The key of the edgepublic CompletableFuture<Void> deleteEdge(String key, EdgeDeleteOptions options)
ArangoEdgeCollectionAsyncdeleteEdge in interface ArangoEdgeCollectionAsynckey - The key of the edgeoptions - Additional options, can be nullCopyright © 2016–2022 ArangoDB GmbH. All rights reserved.