Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecompressAndLoad ¶
func DecompressAndLoad(qw graph.QuadWriter, batch int, path, typ string, writerFunc func(graph.QuadWriter) graph.BatchWriter) error
DecompressAndLoad will load or fetch a graph from the given path, decompress it, and then call the given load function to process the decompressed graph. If no loadFn is provided, db.Load is called.
func Load ¶
func Load(qw graph.QuadWriter, batch int, path, typ string) error
Load loads a graph from the given path and write it to qw. See DecompressAndLoad for more information.
func QuadReaderFor ¶
func QuadReaderFor(path, typ string) (quad.ReadCloser, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.