|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.hadoop.graphbuilder.graph.glgraph.GLJsonFormatter
public class GLJsonFormatter
A JSON encoding of GLGraph.
Constructor Summary | |
---|---|
GLJsonFormatter()
|
Method Summary | |
---|---|
java.io.StringWriter |
edataWriter(Graph g)
|
java.io.StringWriter |
structWriter(Graph graph)
|
java.io.StringWriter |
vid2lvidWriter(GLGraph g)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GLJsonFormatter()
Method Detail |
---|
public java.io.StringWriter vid2lvidWriter(GLGraph g)
g
-
public java.io.StringWriter edataWriter(Graph g)
edataWriter
in interface EdgeFormatter
g
- the graph to output.
StringWriter
with the string representation of the graph's
all edge data. The output edge data should be aligned with its
adjacency structure.public java.io.StringWriter structWriter(Graph graph)
structWriter
in interface EdgeFormatter
graph
- the graph to output.
StringWriter
with the string representation of the
graph's adjacency structure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |