Class StarGraphGraphSONDeserializer
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.structure.util.star.StarGraphGraphSONDeserializer
-
public class StarGraphGraphSONDeserializer extends Object
Provides helper functions for reading vertex and edges from their serialized GraphSON forms.
-
-
Constructor Summary
Constructors Constructor Description StarGraphGraphSONDeserializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
readStarGraphEdges(Function<Attachable<Edge>,Edge> edgeMaker, StarGraph starGraph, Map<String,Object> vertexData, String direction)
A helper function for reading vertex edges from a serializedStarGraph
(i.e.static StarGraph
readStarGraphVertex(Map<String,Object> vertexData)
A helper function for reading a serializedStarGraph
from aMap
generated byStarGraphGraphSONSerializerV1d0
.
-
-
-
Method Detail
-
readStarGraphEdges
public static void readStarGraphEdges(Function<Attachable<Edge>,Edge> edgeMaker, StarGraph starGraph, Map<String,Object> vertexData, String direction) throws IOException
A helper function for reading vertex edges from a serializedStarGraph
(i.e. aMap
) generated byStarGraphGraphSONSerializerV1d0
.- Throws:
IOException
-
readStarGraphVertex
public static StarGraph readStarGraphVertex(Map<String,Object> vertexData) throws IOException
A helper function for reading a serializedStarGraph
from aMap
generated byStarGraphGraphSONSerializerV1d0
.- Throws:
IOException
-
-