public class DriverRemoteAcceptor extends Object implements org.apache.tinkerpop.gremlin.jsr223.console.RemoteAcceptor
RemoteAcceptor that takes input from the console and sends it to Gremlin Server over the standard
Java driver.| Modifier and Type | Field and Description |
|---|---|
static int |
NO_TIMEOUT |
static String |
USER_AGENT |
RESULT| Constructor and Description |
|---|
DriverRemoteAcceptor(org.apache.tinkerpop.gremlin.jsr223.console.GremlinShellEnvironment shellEnvironment) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowRemoteConsole() |
void |
close() |
Object |
configure(List<String> args) |
Object |
connect(List<String> args) |
static String |
getScript(String submittedScript,
org.apache.tinkerpop.gremlin.jsr223.console.GremlinShellEnvironment shellEnvironment)
Retrieve a script as defined in the shell context.
|
int |
getTimeout() |
Object |
submit(List<String> args) |
String |
toString() |
public static final int NO_TIMEOUT
public static final String USER_AGENT
public DriverRemoteAcceptor(org.apache.tinkerpop.gremlin.jsr223.console.GremlinShellEnvironment shellEnvironment)
public Object connect(List<String> args) throws org.apache.tinkerpop.gremlin.jsr223.console.RemoteException
connect in interface org.apache.tinkerpop.gremlin.jsr223.console.RemoteAcceptororg.apache.tinkerpop.gremlin.jsr223.console.RemoteExceptionpublic Object configure(List<String> args) throws org.apache.tinkerpop.gremlin.jsr223.console.RemoteException
configure in interface org.apache.tinkerpop.gremlin.jsr223.console.RemoteAcceptororg.apache.tinkerpop.gremlin.jsr223.console.RemoteExceptionpublic Object submit(List<String> args) throws org.apache.tinkerpop.gremlin.jsr223.console.RemoteException
submit in interface org.apache.tinkerpop.gremlin.jsr223.console.RemoteAcceptororg.apache.tinkerpop.gremlin.jsr223.console.RemoteExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic int getTimeout()
public boolean allowRemoteConsole()
allowRemoteConsole in interface org.apache.tinkerpop.gremlin.jsr223.console.RemoteAcceptorpublic static String getScript(String submittedScript, org.apache.tinkerpop.gremlin.jsr223.console.GremlinShellEnvironment shellEnvironment)
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.