gremlin-server

How to get a subgraph consisting of all vertices, that satisfy specific condition

蓝咒 提交于 2019-12-04 16:53:49
The Document and the Revision are two objects that reside in our domain logic specific layer. The Document represents an abstraction around any material piece of paper that you could think of. That is - every contract, invoice or drawing could be called a Document . On the other hand, the material representation of the Document is the Revision : the list of paper, that construction engineer receives on site, represents a Revision of the Document that designer has created. If something in a drawing has to be changed, due to an error or changed requirements, then a new revision will show up on

IllegalStateException : Gremlin Server must be configured to use the JanusGraphManager

流过昼夜 提交于 2019-12-04 05:53:30
问题 Set<String> graphNames = JanusGraphFactory.getGraphNames(); for(String name:graphNames) { System.out.println(name); } The above snippet produces the following exception java.lang.IllegalStateException: Gremlin Server must be configured to use the JanusGraphManager. at com.google.common.base.Preconditions.checkState(Preconditions.java:173) at org.janusgraph.core.JanusGraphFactory.getGraphNames(JanusGraphFactory.java:175) at com.JanusTest.controllers.JanusController.getPersonDetail

JanusGraph : Please add a key named “ConfigurationManagementGraph” to the “graphs”

≡放荡痞女 提交于 2019-11-29 16:10:15
I get the this error in gremlin console cegprakash@cegprakash:~/workspace/janusgraph-0.2.1-hadoop2$ ./bin/gremlin.sh \,,,/ (o o) -----oOOo-(3)-oOOo----- plugin activated: janusgraph.imports plugin activated: tinkerpop.server plugin activated: tinkerpop.utilities SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/cegprakash/workspace/janusgraph-0.2.1-hadoop2/lib/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/cegprakash/workspace/janusgraph-0.2.1-hadoop2/lib/logback-classic-1.1.2.jar!/org/slf4j

store gremlin graph in local dynamodb

家住魔仙堡 提交于 2019-11-29 15:23:54
Hey instead of using aws web I am using its local available database and creating a graph in the gremlin console My PC is using Gremlin-version=3.0.1.incubating and Titan-version=1.0.0 My question: How to save a graph in my local DynamoDB so that i can retrieve it back whenever i wish (after pc restart). I have tried as many and give a lot time by using save() or commit() graph but in order that i always have error g.commit() No signature of method: org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource.commit() is applicable for argument types: () values: [] Possible

JanusGraph : Please add a key named “ConfigurationManagementGraph” to the “graphs”

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-28 08:56:22
问题 I get the this error in gremlin console cegprakash@cegprakash:~/workspace/janusgraph-0.2.1-hadoop2$ ./bin/gremlin.sh \,,,/ (o o) -----oOOo-(3)-oOOo----- plugin activated: janusgraph.imports plugin activated: tinkerpop.server plugin activated: tinkerpop.utilities SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/cegprakash/workspace/janusgraph-0.2.1-hadoop2/lib/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in

Store Gremlin graph in local DynamoDB

走远了吗. 提交于 2019-11-28 08:50:17
问题 Instead of using AWS, I am using its local available DynamoDB database and creating a graph in the Gremlin console. My PC is using Gremlin-version=3.0.1.incubating and Titan-version=1.0.0 My question: How to save a graph in my local DynamoDB so that I can retrieve it back whenever I wish? (E.g. after computer restart). I have tried a lot, using save() or commit() graph. But I always got an error: g.commit() No signature of method: org.apache.tinkerpop.gremlin.process.traversal.dsl.graph