public class ArangoEdgeCollectionImpl extends InternalArangoEdgeCollection<ArangoDBImpl,ArangoDatabaseImpl,ArangoGraphImpl,ArangoExecutorSync> implements ArangoEdgeCollection
executor, serde| Modifier | Constructor and Description |
|---|---|
protected |
ArangoEdgeCollectionImpl(ArangoGraphImpl graph,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteEdge(String key)
Removes a edge
|
void |
deleteEdge(String key,
EdgeDeleteOptions options)
Removes a edge
|
<T> T |
getEdge(String key,
Class<T> type)
Fetches an existing edge
|
<T> T |
getEdge(String key,
Class<T> type,
GraphDocumentReadOptions options)
Fetches an existing edge
|
EdgeEntity |
insertEdge(Object value)
Creates a new edge in the collection
|
EdgeEntity |
insertEdge(Object value,
EdgeCreateOptions options)
Creates a new edge in the collection
|
EdgeUpdateEntity |
replaceEdge(String key,
Object value)
Replaces the edge with key with the one in the body, provided there is such a edge and no precondition is
violated
|
EdgeUpdateEntity |
replaceEdge(String key,
Object 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
|
EdgeUpdateEntity |
updateEdge(String key,
Object value)
Partially updates the edge identified by document-key.
|
EdgeUpdateEntity |
updateEdge(String key,
Object value,
EdgeUpdateOptions options)
Partially updates the edge identified by document-key.
|
deleteEdgeRequest, getEdgeRequest, getEdgeResponseDeserializer, graph, insertEdgeRequest, insertEdgeResponseDeserializer, name, replaceEdgeRequest, replaceEdgeResponseDeserializer, updateEdgeRequest, updateEdgeResponseDeserializercreatePath, executor, getSerde, requestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgraph, namegetSerdeprotected ArangoEdgeCollectionImpl(ArangoGraphImpl graph, String name)
public EdgeEntity insertEdge(Object value)
ArangoEdgeCollectioninsertEdge in interface ArangoEdgeCollectionvalue - A representation of a single edge (POJO or RawData)public EdgeEntity insertEdge(Object value, EdgeCreateOptions options)
ArangoEdgeCollectioninsertEdge in interface ArangoEdgeCollectionvalue - A representation of a single edge (POJO or RawData)options - Additional options, can be nullpublic <T> T getEdge(String key, Class<T> type)
ArangoEdgeCollectiongetEdge in interface ArangoEdgeCollectionkey - The key of the edgetype - The type of the edge-document (POJO or RawData)public <T> T getEdge(String key, Class<T> type, GraphDocumentReadOptions options)
ArangoEdgeCollectiongetEdge in interface ArangoEdgeCollectionkey - The key of the edgetype - The type of the edge-document (POJO or RawData)options - Additional options, can be nullpublic EdgeUpdateEntity replaceEdge(String key, Object value)
ArangoEdgeCollectionreplaceEdge in interface ArangoEdgeCollectionkey - The key of the edgevalue - A representation of a single edge (POJO or RawData)public EdgeUpdateEntity replaceEdge(String key, Object value, EdgeReplaceOptions options)
ArangoEdgeCollectionreplaceEdge in interface ArangoEdgeCollectionkey - The key of the edgevalue - A representation of a single edge (POJO or RawData)options - Additional options, can be nullpublic EdgeUpdateEntity updateEdge(String key, Object value)
ArangoEdgeCollectionupdateEdge in interface ArangoEdgeCollectionkey - The key of the edgevalue - A representation of a single edge (POJO or RawData)public EdgeUpdateEntity updateEdge(String key, Object value, EdgeUpdateOptions options)
ArangoEdgeCollectionupdateEdge in interface ArangoEdgeCollectionkey - The key of the edgevalue - A representation of a single edge (POJO or RawData)options - Additional options, can be nullpublic void deleteEdge(String key)
ArangoEdgeCollectiondeleteEdge in interface ArangoEdgeCollectionkey - The key of the edgepublic void deleteEdge(String key, EdgeDeleteOptions options)
ArangoEdgeCollectiondeleteEdge in interface ArangoEdgeCollectionkey - The key of the edgeoptions - Additional options, can be nullCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.