Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage interface doc #31

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Storage 接口

在本文档中,我们将介绍 **Nebula Graph** 的 Java 客户端接口。

## Storage 客户端

一段说明
给个例子

## Async 客户端

一段说明
给个例子

## 扫边接口(ScanEdgeInSpace)

扫描所选分区的所有边。使用扫边接口前请先插入数据,或运行 `GraphClientExample` 以插入数据。schema 如下:

```ngql
nebula> CREATE EDGE select(grade int);

# 插入边
nebula> INSERT EDGE select(grade) VALUES 201 -> 102:(3);
```

## 扫点接口(ScanVertexInPart)

扫描所选分区的所有点。使用扫边接口前请先插入数据,或运行 `GraphClientExample` 以插入数据。schema 如下:

```ngql
nebula> CREATE TAG student(name string, age int, gender string);

# 插入点
nebula> INSERT VERTEX student(name, age, gender) VALUES 201:("a", 16, "female");
```