【文件属性】:
文件名称:janusgraph-gremlin-driver:janusgraph-gremlin
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-01 03:55:54
Java
janusgraph-gremlin-driver
此包中对janusgraph-gremlin-driver作了简单包装, 仅供学习参考使用.
demo:
查询总数
@org.junit.Test
public void getLong() {
Connection connection = new Connection.ClientConnection("src/resource/gremlin-driver.yaml", false);
Execute execute = new Execute(connection);
Long count = execute.getLong("c.V().count()", null);
println(count);
connection.close();
}
查询某个点或边
@org.j
【文件预览】:
janusgraph-gremlin-driver-master
----src()
--------resource()
--------test()
--------main()
----README.md(2KB)
----pom.xml(3KB)
----.gitignore(335B)