Skip to content

The Java client uses' ExecuteJsonWithParameter 'to parse the returned JSON #629

@DreamChaserChao

Description

@DreamChaserChao

我使用的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。想问一下有没有具体的文档说明,或者我这两种判断方式是否正确

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions