public class GraphSONUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BYTECODE_GRAPHSON_GRAPH_LANGUAGE |
static Function<Row,GraphNode> |
ROW_TO_GRAPHSON2_TINKERPOP_OBJECTGRAPHNODE |
Constructor and Description |
---|
GraphSONUtils() |
Modifier and Type | Method and Description |
---|---|
static GraphStatement |
getStatementFromBytecode(org.apache.tinkerpop.gremlin.process.traversal.Bytecode bytecode) |
static GraphStatement |
getStatementFromBytecodeRemoteSource(org.apache.tinkerpop.gremlin.process.traversal.Bytecode bytecode) |
static GraphStatement |
getStatementFromBytecodes(Collection<org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal> traversals) |
static <V> V |
readStringAs(String json,
Class<V> destClass) |
static String |
writeValueAsString(Object valueToWrite) |
public static final String BYTECODE_GRAPHSON_GRAPH_LANGUAGE
public static <V> V readStringAs(String json, Class<V> destClass) throws IOException
IOException
public static String writeValueAsString(Object valueToWrite) throws IOException
IOException
public static GraphStatement getStatementFromBytecodes(Collection<org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal> traversals)
public static GraphStatement getStatementFromBytecode(org.apache.tinkerpop.gremlin.process.traversal.Bytecode bytecode)
public static GraphStatement getStatementFromBytecodeRemoteSource(org.apache.tinkerpop.gremlin.process.traversal.Bytecode bytecode)
Copyright © 2012–2019. All rights reserved.