@Deprecated public class GremlinJythonScriptEngine extends Object implements GremlinScriptEngine
HIDDEN_G
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME
Constructor and Description |
---|
GremlinJythonScriptEngine(Customizer... customizers)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Bindings |
createBindings()
Deprecated.
|
Traversal.Admin |
eval(Bytecode bytecode,
Bindings bindings,
String traversalSource)
Deprecated.
|
Object |
eval(Reader reader)
Deprecated.
|
Object |
eval(Reader reader,
Bindings n)
Deprecated.
|
Object |
eval(Reader reader,
ScriptContext context)
Deprecated.
|
Object |
eval(String script)
Deprecated.
|
Object |
eval(String script,
Bindings n)
Deprecated.
|
Object |
eval(String script,
ScriptContext context)
Deprecated.
|
Object |
get(String key)
Deprecated.
|
Bindings |
getBindings(int scope)
Deprecated.
|
ScriptContext |
getContext()
Deprecated.
|
GremlinScriptEngineFactory |
getFactory()
Deprecated.
|
void |
put(String key,
Object value)
Deprecated.
|
void |
setBindings(Bindings bindings,
int scope)
Deprecated.
|
void |
setContext(ScriptContext context)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
eval
public GremlinJythonScriptEngine(Customizer... customizers)
public Traversal.Admin eval(Bytecode bytecode, Bindings bindings, String traversalSource) throws ScriptException
GremlinScriptEngine
Traversal
Bytecode
with the specified Bindings
. These Bindings
supplied to this method will be merged with global engine bindings and override them where keys match.eval
in interface GremlinScriptEngine
ScriptException
public Object eval(String script, ScriptContext context) throws ScriptException
eval
in interface ScriptEngine
ScriptException
public Object eval(Reader reader, ScriptContext context) throws ScriptException
eval
in interface ScriptEngine
ScriptException
public Object eval(String script) throws ScriptException
eval
in interface ScriptEngine
ScriptException
public Object eval(Reader reader) throws ScriptException
eval
in interface ScriptEngine
ScriptException
public Object eval(String script, Bindings n) throws ScriptException
eval
in interface ScriptEngine
ScriptException
public Object eval(Reader reader, Bindings n) throws ScriptException
eval
in interface ScriptEngine
ScriptException
public void put(String key, Object value)
put
in interface ScriptEngine
public Object get(String key)
get
in interface ScriptEngine
public Bindings getBindings(int scope)
getBindings
in interface ScriptEngine
public void setBindings(Bindings bindings, int scope)
setBindings
in interface ScriptEngine
public Bindings createBindings()
createBindings
in interface ScriptEngine
public ScriptContext getContext()
getContext
in interface ScriptEngine
public void setContext(ScriptContext context)
setContext
in interface ScriptEngine
public GremlinScriptEngineFactory getFactory()
getFactory
in interface ScriptEngine
getFactory
in interface GremlinScriptEngine
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.