public tdbquery(String[] argv) { super(argv) ; // Because this inherits from an ARQ command super.modVersion.addClass(TDB.class) ; }
public tdbquery(String[] argv) { super(argv) ; // Because this inherits from an ARQ command super.modVersion.addClass(TDB.class) ; }
public tdbupdate(String[] argv) { super(argv); // Because this inherits from an ARQ command CmdTDB.init(); super.modVersion.addClass(TDB2.class); }
public tdbupdate(String[] argv) { super(argv); // Because this inherits from an ARQ command CmdTDB.init(); super.modVersion.addClass(TDB.class); }
public tdbupdate(String[] argv) { super(argv); // Because this inherits from an ARQ command CmdTDB.init(); super.modVersion.addClass(TDB.class); }
public tdbupdate(String[] argv) { super(argv); // Because this inherits from an ARQ command CmdTDB.init(); super.modVersion.addClass(TDB2.class); }
protected CmdARQ(String[] argv) { super(argv) ; modVersion.addClass(Jena.class) ; // These are the same. // modVersion.addClass(ARQ.class) ; // modVersion.addClass(RIOT.class) ; super.add(strictDecl, "--strict", "Operate in strict SPARQL mode (no extensions of any kind)") ; addModule(modContext) ; }
protected CmdARQ(String[] argv) { super(argv) ; modVersion.addClass(Jena.class) ; // These are the same. // modVersion.addClass(ARQ.class) ; // modVersion.addClass(RIOT.class) ; super.add(strictDecl, "--strict", "Operate in strict SPARQL mode (no extensions of any kind)") ; addModule(modContext) ; }
protected CmdLangParse(String[] argv) { super(argv) ; addModule(modContext) ; addModule(modTime) ; addModule(modLangOutput) ; addModule(modLangParse) ; super.modVersion.addClass(Jena.class) ; // Force - sometimes initialization does not cause these // to initialized early enough for reflection. String x1 = ARQ.VERSION ; String x2 = ARQ.BUILD_DATE ; super.modVersion.addClass(RIOT.class) ; }
@Override protected void exec() { System.out.println("-- "+DateTimeUtils.nowAsString()+" --") ; ModVersion v = new ModVersion(true) ; v.addClass(TDB.class) ; v.printVersionAndExit() ; }
protected CmdLangParse(String[] argv) { super(argv) ; addModule(modContext) ; addModule(modTime) ; addModule(modLangOutput) ; addModule(modLangParse) ; super.modVersion.addClass(Jena.class) ; // Force - sometimes initialization does not cause these // to initialized early enough for reflection. String x1 = ARQ.VERSION ; String x2 = ARQ.BUILD_DATE ; super.modVersion.addClass(RIOT.class) ; }
@Override protected void exec() { System.out.println("-- "+DateTimeUtils.nowAsString()+" --") ; ModVersion v = new ModVersion(true) ; v.addClass(TDB.class) ; v.printVersionAndExit() ; }
public rdflangtest(String[] argv) { super(argv) ; super.add(strictDecl, "--strict", "Operate in strict mode (no extensions of any kind)") ; super.modVersion.addClass(ARQ.class) ; //add(allDecl, "--all", "run all tests") ; getUsage().startCategory("Tests (execute test manifest)") ; getUsage().addUsage("<manifest>", "run the tests specified in the given manifest") ; add(earlDecl, "--earl", "create EARL report") ; addModule(modContext) ; }
public rdflangtest(String[] argv) { super(argv) ; super.add(strictDecl, "--strict", "Operate in strict mode (no extensions of any kind)") ; super.modVersion.addClass(ARQ.class) ; //add(allDecl, "--all", "run all tests") ; getUsage().startCategory("Tests (execute test manifest)") ; getUsage().addUsage("<manifest>", "run the tests specified in the given manifest") ; add(earlDecl, "--earl", "create EARL report") ; addModule(modContext) ; }
public tarql(String[] args) { super(args); getUsage().startCategory("Output options"); add(testQueryArg, "--test", "Show CONSTRUCT template and first rows only (for query debugging)"); add(writeBaseArg, "--write-base", "Write @base if output is Turtle"); add(nTriplesArg, "--ntriples", "Write N-Triples instead of Turtle"); add(dedupArg, "--dedup", "Window size in which to remove duplicate triples"); getUsage().startCategory("Input options"); add(stdinArg, "--stdin", "Read input from STDIN instead of file"); add(delimiterArg, "-d --delimiter", "Delimiting character of the input file"); add(tabsArg, "-t --tabs", "Specifies that the input is tab-separagted (TSV)"); add(quoteArg, "--quotechar", "Quote character used in the input file, or \"none\""); add(escapeArg, "-p --escapechar", "Character used to escape quotes in the input file, or \"none\""); add(encodingArg, "-e --encoding", "Override input file encoding (e.g., utf-8 or latin-1)"); add(withoutHeaderArg, "-H --no-header-row", "Input file has no header row; use variable names ?a, ?b, ..."); add(withHeaderArg, "--header-row", "Input file's first row is a header with variable names (default)"); add(baseArg, "--base", "Base IRI for resolving relative IRIs"); getUsage().startCategory("Main arguments"); getUsage().addUsage("query.sparql", "File containing a SPARQL query to be applied to an input file"); getUsage().addUsage("table.csv", "CSV/TSV file to be processed; can be omitted if specified in FROM clause"); modVersion.addClass(tarql.class); }