org.mulgara.mrg.parser
Interface GraphParser

All Known Implementing Classes:
N3GraphParser, XMLGraphParser

public interface GraphParser

Parses the contents of a stream into a graph representation.


Method Summary
 WritableGraph getGraph()
          Gets the parsed graph.
 long getProcessedRows()
          Return the number of rows parsed.
 

Method Detail

getGraph

WritableGraph getGraph()
Gets the parsed graph.

Returns:
a writable graph that has been parsed.

getProcessedRows

long getProcessedRows()
Return the number of rows parsed.

Returns:
the number of processed triples. This may be larger than the size of the graph if there are duplicates.


Copyright © 2011. All Rights Reserved.