public interface ArangoVertexCollectionAsync extends ArangoSerializationAccessor
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
|
ArangoGraphAsync |
graph()
The the handler of the named graph the edge collection is within
|
<T> CompletableFuture<VertexEntity> |
insertVertex(T value)
Creates a new vertex in the collection
|
<T> CompletableFuture<VertexEntity> |
insertVertex(T value,
VertexCreateOptions options)
Creates a new vertex in the collection
|
String |
name()
The name of the edge collection
|
<T> CompletableFuture<VertexUpdateEntity> |
replaceVertex(String key,
T value)
Replaces the vertex with key with the one in the body, provided there is such a vertex and no precondition is
violated
|
<T> CompletableFuture<VertexUpdateEntity> |
replaceVertex(String key,
T 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
|
<T> CompletableFuture<VertexUpdateEntity> |
updateVertex(String key,
T value)
Partially updates the vertex identified by document-key.
|
<T> CompletableFuture<VertexUpdateEntity> |
updateVertex(String key,
T value,
VertexUpdateOptions options)
Partially updates the vertex identified by document-key.
|
util, util
ArangoGraphAsync graph()
String name()
CompletableFuture<Void> drop()
<T> CompletableFuture<VertexEntity> insertVertex(T value)
value
- A representation of a single vertex (POJO, VPackSlice or String for Json)<T> CompletableFuture<VertexEntity> insertVertex(T value, VertexCreateOptions options)
value
- A representation of a single vertex (POJO, VPackSlice or String for Json)options
- Additional options, can be null<T> CompletableFuture<T> getVertex(String key, Class<T> type)
key
- The key of the vertextype
- The type of the vertex-document (POJO class, VPackSlice or String for Json)<T> CompletableFuture<T> getVertex(String key, Class<T> type, GraphDocumentReadOptions options)
key
- The key of the vertextype
- The type of the vertex-document (POJO class, VPackSlice or String for Json)options
- Additional options, can be null<T> CompletableFuture<VertexUpdateEntity> replaceVertex(String key, T value)
key
- The key of the vertex<T> CompletableFuture<VertexUpdateEntity> replaceVertex(String key, T value, VertexReplaceOptions options)
key
- The key of the vertexoptions
- Additional options, can be null<T> CompletableFuture<VertexUpdateEntity> updateVertex(String key, T value)
key
- The key of the vertex<T> CompletableFuture<VertexUpdateEntity> updateVertex(String key, T value, VertexUpdateOptions options)
key
- The key of the vertexoptions
- Additional options, can be nullCompletableFuture<Void> deleteVertex(String key)
key
- The key of the vertexCompletableFuture<Void> deleteVertex(String key, VertexDeleteOptions options)
key
- The key of the vertexoptions
- Additional options, can be nullCopyright © 2016–2022 ArangoDB GmbH. All rights reserved.