|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.hadoop.graphbuilder.graph.simplegraph.SimpleJsonFormatter
public class SimpleJsonFormatter
A JSON encoding of SimpleGraph
or SimpleSubGraph
.
Constructor Summary | |
---|---|
SimpleJsonFormatter()
|
Method Summary | |
---|---|
java.io.StringWriter |
edataWriter(Graph g)
|
java.io.StringWriter |
structWriter(Graph g)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleJsonFormatter()
Method Detail |
---|
public java.io.StringWriter structWriter(Graph g)
structWriter
in interface EdgeFormatter
g
- the graph to output.
StringWriter
with the string representation of the
graph's adjacency structure.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |