sh /opt/bigdata/janusgraph-0.4.1-hadoop2/bin/gremlin.sh
:remote connect tinkerpop.server conf/remote.yaml session
:remote console
graph = ConfiguredGraphFactory.open("graph_test_new");
g = graph.traversal();
mgmt = graph.openManagement();
g.V().valueMap(true);
mgmt.getVertexLabels();
mgmt.getRelationTypes(EdgeLabel.class);
mgmt.printPropertyKeys();
mgmt.printSchema();
mgmt.printIndexes();
g.V().count()
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交