renamed nquad quad, added gml/graphml, changed default to quad

This commit is contained in:
David Schor 2015-08-11 02:32:43 -04:00
parent 19f5b090e6
commit f1566ba182
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ var (
databasePath = flag.String("dbpath", "/tmp/testdb", "Path to the database.")
databaseBackend = flag.String("db", "memstore", "Database Backend.")
dumpFile = flag.String("dump", "dbdump.nq", `Quad file to dump the database to (".gz" supported, "-" for stdout).`)
dumpType = flag.String("dump_type", "json", `Quad file format ("json", "nquad").`)
dumpType = flag.String("dump_type", "quad", `Quad file format ("json", "quad", "gml", "graphml").`)
replicationBackend = flag.String("replication", "single", "Replication method.")
host = flag.String("host", "127.0.0.1", "Host to listen on (defaults to all).")
loadSize = flag.Int("load_size", 10000, "Size of quadsets to load")

View file

@ -37,7 +37,7 @@ func Dump(qs graph.QuadStore, outFile, typ string) error {
//TODO: add possible support for exporting specific queries only
switch typ {
case "nquad":
case "quad":
export.ExportNquad()
case "json":
export.ExportJson()