public class GraqlShell extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
COMMANDS
Array of available commands in shell
|
| Modifier and Type | Method and Description |
|---|---|
Json |
getAutocompleteCandidates(String queryString,
int cursorPosition) |
void |
interrupt()
Interrupt the shell.
|
static void |
main(String[] args)
Run a Graql REPL
|
void |
onClose(int statusCode,
String reason) |
void |
onMessage(String msg) |
static void |
runShell(String[] args,
String version,
String historyFilename,
GraqlClient client) |
public static final String[] COMMANDS
public static void main(String[] args)
args - arguments to the Graql shell. Possible arguments can be listed by running graql.sh --helppublic static void runShell(String[] args, String version, String historyFilename, GraqlClient client)
public void onClose(int statusCode,
String reason)
throws IOException,
ExecutionException,
InterruptedException
public void onMessage(String msg)
public void interrupt()
public Json getAutocompleteCandidates(String queryString, int cursorPosition) throws InterruptedException, ExecutionException, IOException
Copyright © 2016. All rights reserved.