public class ArangoVertexCollectionAsyncImpl extends InternalArangoVertexCollection<ArangoDBAsyncImpl,ArangoDatabaseAsyncImpl,ArangoGraphAsyncImpl,ArangoExecutorAsync> implements ArangoVertexCollectionAsync
executor, serde| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
deleteVertex(String key)
Removes a vertex
|
CompletableFuture<Void> |
deleteVertex(String key,
VertexDeleteOptions options)
Removes a vertex
|
CompletableFuture<Void> |
drop()
Removes a vertex collection from the graph and optionally deletes the collection, if it is not used in any other
graph
|
<T> CompletableFuture<T> |
getVertex(String key,
Class<T> type)
Fetches an existing vertex
|
<T> CompletableFuture<T> |
getVertex(String key,
Class<T> type,
GraphDocumentReadOptions options)
Fetches an existing vertex
|
CompletableFuture<VertexEntity> |
insertVertex(Object value)
Creates a new vertex in the collection
|
CompletableFuture<VertexEntity> |
insertVertex(Object value,
VertexCreateOptions options)
Creates a new vertex in the collection
|
CompletableFuture<VertexUpdateEntity> |
replaceVertex(String key,
Object value)
Replaces the vertex with key with the one in the body, provided there is such a vertex and no precondition is
violated
|
CompletableFuture<VertexUpdateEntity> |
replaceVertex(String key,
Object value,
VertexReplaceOptions options)
Replaces the vertex with key with the one in the body, provided there is such a vertex and no precondition is
violated
|
CompletableFuture<VertexUpdateEntity> |
updateVertex(String key,
Object value)
Partially updates the vertex identified by document-key.
|
CompletableFuture<VertexUpdateEntity> |
updateVertex(String key,
Object value,
VertexUpdateOptions options)
Partially updates the vertex identified by document-key.
|
deleteVertexRequest, dropRequest, getVertexRequest, getVertexResponseDeserializer, graph, insertVertexRequest, insertVertexResponseDeserializer, name, replaceVertexRequest, replaceVertexResponseDeserializer, updateVertexRequest, updateVertexResponseDeserializercreatePath, executor, getSerde, requestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgraph, namegetSerdepublic CompletableFuture<Void> drop()
ArangoVertexCollectionAsyncdrop in interface ArangoVertexCollectionAsyncpublic CompletableFuture<VertexEntity> insertVertex(Object value)
ArangoVertexCollectionAsyncinsertVertex in interface ArangoVertexCollectionAsyncvalue - A representation of a single vertex (POJO or RawData)public CompletableFuture<VertexEntity> insertVertex(Object value, VertexCreateOptions options)
ArangoVertexCollectionAsyncinsertVertex in interface ArangoVertexCollectionAsyncvalue - A representation of a single vertex (POJO or RawData)options - Additional options, can be nullpublic <T> CompletableFuture<T> getVertex(String key, Class<T> type)
ArangoVertexCollectionAsyncgetVertex in interface ArangoVertexCollectionAsynckey - The key of the vertextype - The type of the vertex-document (POJO or RawData)public <T> CompletableFuture<T> getVertex(String key, Class<T> type, GraphDocumentReadOptions options)
ArangoVertexCollectionAsyncgetVertex in interface ArangoVertexCollectionAsynckey - The key of the vertextype - The type of the vertex-document (POJO or RawData)options - Additional options, can be nullpublic CompletableFuture<VertexUpdateEntity> replaceVertex(String key, Object value)
ArangoVertexCollectionAsyncreplaceVertex in interface ArangoVertexCollectionAsynckey - The key of the vertexpublic CompletableFuture<VertexUpdateEntity> replaceVertex(String key, Object value, VertexReplaceOptions options)
ArangoVertexCollectionAsyncreplaceVertex in interface ArangoVertexCollectionAsynckey - The key of the vertexoptions - Additional options, can be nullpublic CompletableFuture<VertexUpdateEntity> updateVertex(String key, Object value)
ArangoVertexCollectionAsyncupdateVertex in interface ArangoVertexCollectionAsynckey - The key of the vertexpublic CompletableFuture<VertexUpdateEntity> updateVertex(String key, Object value, VertexUpdateOptions options)
ArangoVertexCollectionAsyncupdateVertex in interface ArangoVertexCollectionAsynckey - The key of the vertexoptions - Additional options, can be nullpublic CompletableFuture<Void> deleteVertex(String key)
ArangoVertexCollectionAsyncdeleteVertex in interface ArangoVertexCollectionAsynckey - The key of the vertexpublic CompletableFuture<Void> deleteVertex(String key, VertexDeleteOptions options)
ArangoVertexCollectionAsyncdeleteVertex in interface ArangoVertexCollectionAsynckey - The key of the vertexoptions - Additional options, can be nullCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.