Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecompressAndLoad ¶ added in v0.5.0
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 ¶ added in v0.5.0
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 ¶ added in v0.7.0
func QuadReaderFor(path, typ string) (quad.ReadCloser, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.