Interface EdgeInterface
-
- All Known Subinterfaces:
Session
- All Known Implementing Classes:
DefaultSession
public interface EdgeInterface
Interface for Create/Read/Update/Delete edge.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Result<String>
addEdge(String graphName, List<com.alibaba.graphscope.interactive.models.EdgeRequest> edgeRequest)
Result<String>
deleteEdge(String graphName, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue)
Result<com.alibaba.graphscope.interactive.models.EdgeData>
getEdge(String graphName, String edgeLabel, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue)
Result<String>
updateEdge(String graphName, com.alibaba.graphscope.interactive.models.EdgeRequest edgeRequest)
-
-
-
Method Detail
-
getEdge
Result<com.alibaba.graphscope.interactive.models.EdgeData> getEdge(String graphName, String edgeLabel, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue)
-
addEdge
Result<String> addEdge(String graphName, List<com.alibaba.graphscope.interactive.models.EdgeRequest> edgeRequest)
-
deleteEdge
Result<String> deleteEdge(String graphName, String srcLabel, Object srcPrimaryKeyValue, String dstLabel, Object dstPrimaryKeyValue)
-
-