Class StarGraphGraphSONDeserializer
java.lang.Object
org.apache.tinkerpop.gremlin.structure.util.star.StarGraphGraphSONDeserializer
Provides helper functions for reading vertex and edges from their serialized GraphSON forms.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidreadStarGraphEdges(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 StarGraphreadStarGraphVertex(Map<String, Object> vertexData) A helper function for reading a serializedStarGraphfrom aMapgenerated byStarGraphGraphSONSerializerV1.
-
Constructor Details
-
StarGraphGraphSONDeserializer
public StarGraphGraphSONDeserializer()
-
-
Method Details
-
readStarGraphEdges
public static void readStarGraphEdges(Function<Attachable<Edge>, Edge> edgeMaker, StarGraph starGraph, Map<String, throws IOExceptionObject> vertexData, String direction) A helper function for reading vertex edges from a serializedStarGraph(i.e. aMap) generated byStarGraphGraphSONSerializerV1.- Throws:
IOException
-
readStarGraphVertex
A helper function for reading a serializedStarGraphfrom aMapgenerated byStarGraphGraphSONSerializerV1.- Throws:
IOException
-