com.intel.hadoop.graphbuilder.graph
Interface EdgeFormatter
- All Known Implementing Classes:
- GLJsonFormatter, SimpleJsonFormatter
public interface EdgeFormatter
Controls the low level string representation of the graph output.
structWriter
java.io.StringWriter structWriter(Graph g)
- Parameters:
g
- the graph to output.
- Returns:
- a
StringWriter
with the string representation of the
graph's adjacency structure.
edataWriter
java.io.StringWriter edataWriter(Graph g)
- Parameters:
g
- the graph to output.
- Returns:
StringWriter
with the string representation of the graph's
all edge data. The output edge data should be aligned with its
adjacency structure.