public class GraqlShellOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
static ai.grakn.Keyspace |
DEFAULT_KEYSPACE |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.cli.CommandLine |
cmd() |
static GraqlShellOptions |
create(String[] args) |
static GraqlShellOptions |
create(String[] args,
org.apache.commons.cli.Options additionalOptions) |
boolean |
displayHelp() |
boolean |
displayVersion() |
Path |
getBatchLoadPath() |
List<Path> |
getFiles() |
ai.grakn.Keyspace |
getKeyspace() |
OutputFormat |
getOutputFormat() |
String |
getQuery() |
ai.grakn.util.SimpleURI |
getUri() |
void |
printUsage(PrintStream sout) |
boolean |
shouldInfer() |
public static GraqlShellOptions create(String[] args) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseExceptionpublic static GraqlShellOptions create(String[] args, org.apache.commons.cli.Options additionalOptions) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseExceptionpublic org.apache.commons.cli.CommandLine cmd()
public void printUsage(PrintStream sout)
public boolean shouldInfer()
public OutputFormat getOutputFormat()
@Nullable public ai.grakn.util.SimpleURI getUri()
public boolean displayVersion()
public boolean displayHelp()
public ai.grakn.Keyspace getKeyspace()
Copyright © 2018 Grakn Labs Ltd. All rights reserved.