JanusGraph教程

打开Graph

graph = JanusGraphFactory.open('conf/janusgraph-cassandra-es.properties');
g = graph.traversal();

查看Schema
mgmt = graph.openManagement()
mgmt.getVertexLabels() 
mgmt.getRelationTypes(EdgeLabel.class)
mgmt.getRelationTypes(PropertyKey.class)
mgmt.getGraphIndexes(Vertex.class)







个人资料
时海
等级:8
文章:272篇
访问:16.0w
排名: 2
上一篇: JanusGraph 数据模型
下一篇:java面试题
标签: mgmt、graph、getrelationtypes、janusgraph、getvertexlabels、面试题
隐藏