apache / apache/incubator-graphar

feat(java,info): Add remove method in java-info

Open
#765 3 comments 0 reactions 1 assignee Claimed by @sapienza88 View on GitHub
Component:Java enhancement good first issue
Dominant language
C++
Stars
373
Forks
93
Avg merge
7d 21h
Merged PRs (30d)
7

Description

### Describe the enhancement requested

Users can add or delete `vertexInfos`/`edgeInfos` in `graphInfo`, or add or delete `propertyGroups`/`adjacentLists` in `vertexInfos`/`edgeInfos`, in order to achieve on-demand loading of chunk files.

For example, in a `GraphInfo` yaml, there are two vertexes, person and company, but some tasks can be completed by just a person.

SO we need implements some delete methods just like [add methods](https://github.com/apache/incubator-graphar/blob/049d8f2eff229c21beb3a6a1d5916f59c53cedb1/maven-projects/info/src/main/java/org/apache/graphar/info/GraphInfo.java#L137).

You can submit one or more PRs, but please add unit tests and update [docs](https://github.com/apache/incubator-graphar/blob/main/docs/specification/implementation-status.md) in each one.

### Component(s)

Java

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.