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

vid.type added in github doc/readm #183

Merged
merged 3 commits into from
Mar 8, 2022
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ schema:

* `index`: **Optional**. The column number in the CSV file. Started with 0. The default value is 0.
* `function`: **Optional**. Functions to generate the VIDs. Currently, we only support function `hash` and `uuid`.
* `type`: **Optional**. The type for VIDs. The default value is `string`.
* `prefix`: **Optional**. Add prefix to the original vid. When `function` is specified also, `prefix` is applied to the original vid before `function`.

##### `schema.vertex.tags`
Expand Down
3 changes: 3 additions & 0 deletions docs/configuration-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@
| files[0].schema.edge | Edge options | - |
| files[0].schema.edge.srcVID.index | Column index of source vertex id of edge | 0 |
| files[0].schema.edge.srcVID.function | The generation function of edge source vertex id | "" |
| files[0].schema.edge.srcVID.type | Type of source vertex id of edge | 0 |
| files[0].schema.edge.dstVID.index | Column index of destination vertex id of edge | 1 |
| files[0].schema.edge.dstVID.function | The generation function of edge destination vertex id | "" |
| files[0].schema.edge.dstVID.type | Type of destination vertex id of edge | 1 |
| files[0].schema.edge.rank.index | Column index of the edge rank | 2 |
| files[0].schema.edge.name | Edge name in above space | "" |
| files[0].schema.edge.props | Properties of the edge | - |
Expand All @@ -45,6 +47,7 @@
| files[0].schema.vertex | Vertex options | - |
| files[0].schema.vertex.vid.index | Column index of vertex vid | 0 |
| files[0].schema.vertex.vid.function | The generation function of vertex vid | "" |
| files[0].schema.vertex.vid.type | The type of vertex vid | "string" |
| files[0].schema.vertex.tags | Vertex tags options | - |
| files[0].schema.vertex.tags[0].name | Vertex tag name | "" |
| files[0].schema.vertex.tags[0].props | Vertex tag's properties | - |
Expand Down