public interface GremlinScriptEngine extends ScriptEngine
GremlinScriptEngine
is an extension of the standard ScriptEngine
and provides some specific
methods that are important to the TinkerPop environment.ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME
Modifier and Type | Method and Description |
---|---|
default Traversal.Admin |
eval(Bytecode bytecode)
|
Traversal.Admin |
eval(Bytecode bytecode,
Bindings bindings)
|
GremlinScriptEngineFactory |
getFactory() |
createBindings, eval, eval, eval, eval, eval, eval, get, getBindings, getContext, put, setBindings, setContext
GremlinScriptEngineFactory getFactory()
getFactory
in interface ScriptEngine
default Traversal.Admin eval(Bytecode bytecode) throws ScriptException
ScriptException
Traversal.Admin eval(Bytecode bytecode, Bindings bindings) throws ScriptException
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.ScriptException
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.