Skip to content

Instantly share code, notes, and snippets.

@onelson

onelson/out.txt Secret

Last active August 20, 2019 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save onelson/e3eae4f43ba52c5573544b6ee35db3d4 to your computer and use it in GitHub Desktop.
Save onelson/e3eae4f43ba52c5573544b6ee35db3d4 to your computer and use it in GitHub Desktop.
Output from the rust port of the dse cpp driver graph example
Who does 'marko' know?
[
"vadas",
"josh",
]
What vertices are connected to 'marko'?
[
{
"id":
{
"~label": "person",
"community_id": 405489152,
"member_id": 3,
},
"label": "person",
"type": "vertex",
"properties":
{
"name":
[
{
"id":
{
"~label": "name",
"~out_vertex":
{
"~label": "person",
"community_id": 405489152,
"member_id": 3,
},
"~local_id": "00000000-0000-7fff-0000-000000000000",
},
"value": "vadas",
},
],
"age":
[
{
"id":
{
"~label": "age",
"~out_vertex":
{
"~label": "person",
"community_id": 405489152,
"member_id": 3,
},
"~local_id": "00000000-0000-8000-0000-000000000000",
},
"value": 27,
},
],
},
},
{
"id":
{
"~label": "person",
"community_id": 405489152,
"member_id": 4,
},
"label": "person",
"type": "vertex",
"properties":
{
"name":
[
{
"id":
{
"~label": "name",
"~out_vertex":
{
"~label": "person",
"community_id": 405489152,
"member_id": 4,
},
"~local_id": "00000000-0000-7fff-0000-000000000000",
},
"value": "josh",
},
],
"age":
[
{
"id":
{
"~label": "age",
"~out_vertex":
{
"~label": "person",
"community_id": 405489152,
"member_id": 4,
},
"~local_id": "00000000-0000-8000-0000-000000000000",
},
"value": 32,
},
],
},
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment