vesoft-inc / vesoft-inc/nebula-java
The Java client uses' ExecuteJsonWithParameter 'to parse the returned JSON
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 199
- Forks
- 125
- Avg merge
- 5h 6m
- Merged PRs (30d)
- 3
Description
我使用的nebula是3.8.0,客户端版本也是3.8.0,里面的execute带参数化的方法提示过期,就使用了executeJsonWithParameter方法,返回的json格式字符串,我未在官网上找到对于该json的解释,根据解析这个json,发现数据都在row里面,但是我怎么通过row里面的数据判断哪一个是Vertex哪一个是Edge。目前有两种方式,1.通过meta里的type去和对应row下标的数据对应,得到类型。2.根据规律总结,data中的row[0]是Vertex,row[1]是edge。想问一下有没有具体的文档说明,或者我这两种判断方式是否正确
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing executeJsonWithParameter and the returned JSON structure described in the issue, especially the meta and row fields. Check existing nebula-java documentation for parameterized execution and explain how to distinguish Vertex and Edge data, including whether the reported approaches are valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100