@WebSocket 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 |
|---|---|
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)
@OnWebSocketClose
public void onClose(int statusCode,
String reason)
throws IOException,
ExecutionException,
InterruptedException
@OnWebSocketMessage public void onMessage(String msg)
public void interrupt()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.