use of org.apache.tinkerpop.gremlin.console.Console in project cypher-for-gremlin by opencypher.
the class EmbeddedGremlinConsole method start.
public void start() {
System.setProperty("plugins", "v3d3");
PipedInputStream in = new PipedInputStream();
replaceSystemIn(in);
try {
input = new PrintWriter(new PipedOutputStream(in));
} catch (IOException e) {
throw new RuntimeException(e);
}
console = new Thread(() -> new Console(new IO(), new ArrayList<>(), true));
console.start();
}
Aggregations