[Question] HugeGraph 序列化优化/性能优化任务疑问
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 636
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 14
Description
### Problem Type (问题类型)
others (please edit later)
### Before submit
- [X] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
### Environment (环境信息)
需求疑问,没有环境信息
### Your Question (问题描述)
我想问下这个需求的相关信息

问题1:这个需求优化的接口是不是 org.apache.hugegraph.api.graph.EdgeAPI#list 接口
问题2:如果是该接口的话,那么我理解是如果查询的 label 不为空,那么直接从 schema 中判断是否存在对应的 edgelabel,但是需求描述是“如果顶点类型不具有该类型边”,我的判断好像是直接判断 label,并没有判断到顶点
问题3:如果我上面的理解没有错误的话,那么添加的代码大概如下图1,当 label 不存在时,我返回一个空迭代器,但是当 page != null 成立时,会报错,大致调用大概如下图2,我问了ChatGPT和查阅了部分文档,不知道这里怎么返回空,如果有相关文档的话,请发送一下,我去看看


### Vertex/Edge example (问题点 / 边数据举例)
_No response_
### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.