[Feature] java client GraphManager是否可以支持批量删除vertex和edge?
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 636
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 14
Description
## Feature Description:
当前GraphManager提供了两个方法分别删除vertex和edge
```
void removeVertex(Object vertexId)
void removeEdge(String edgeId)
```
请问可以提供相应的批量删除接口吗?类似于这样的接口:
```
void removeVertices(Collection vertexIds)
void removeEdges(Collection edgeIds)
```
,这样批量删除时效率应该高点
另外,是否可以提供一个根据两端的vertex id,edge label,sort key为条件的删除接口。我们的场景是知道两端的节点和链路信息,但是不知道edge的id(除非查一次数据库或用gremlin语句)
Contributor guide
Research direction
Start at the Java client's GraphManager entry point and inspect the existing removeVertex(Object) and removeEdge(String) methods and their implementations. Determine how batch deletion and deletion by endpoint vertex IDs, edge label, and sort key should fit the current API; done means the requested interfaces and corresponding behavior are defined and covered by the project's relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100