Package | Description |
---|---|
org.apache.tinkerpop.gremlin.groovy.engine |
Modifier and Type | Method and Description |
---|---|
GremlinExecutor.Builder |
GremlinExecutor.Builder.addEngineSettings(String engineName,
List<String> imports,
List<String> staticImports,
List<String> scripts,
Map<String,Object> config)
Deprecated.
As of release 3.2.4, replaced by
addPlugins(String, Map) . |
GremlinExecutor.Builder |
GremlinExecutor.Builder.addPlugins(String engineName,
Map<String,Map<String,Object>> plugins)
Add a configuration for a
GremlinPlugin to the executor. |
GremlinExecutor.Builder |
GremlinExecutor.Builder.afterFailure(BiConsumer<Bindings,Throwable> afterFailure)
A
Consumer to execute in the event of failure. |
GremlinExecutor.Builder |
GremlinExecutor.Builder.afterSuccess(Consumer<Bindings> afterSuccess)
A
Consumer to execute just after successful script evaluation. |
GremlinExecutor.Builder |
GremlinExecutor.Builder.afterTimeout(Consumer<Bindings> afterTimeout)
A
Consumer to execute if the script times out. |
GremlinExecutor.Builder |
GremlinExecutor.Builder.beforeEval(Consumer<Bindings> beforeEval)
A
Consumer to execute just before the script evaluation. |
static GremlinExecutor.Builder |
GremlinExecutor.build()
Create a
Builder with the gremlin-groovy ScriptEngine configured. |
static GremlinExecutor.Builder |
GremlinExecutor.build(String engineName,
List<String> imports,
List<String> staticImports,
List<String> scripts,
Map<String,Object> config)
Deprecated.
As of release 3.2.4, replaced by
GremlinExecutor.build() . |
GremlinExecutor.Builder |
GremlinExecutor.Builder.enabledPlugins(Set<String> enabledPlugins)
Deprecated.
As of release 3.2.4, replaced by
addPlugins(String, Map) though behavior is not quite
the same. |
GremlinExecutor.Builder |
GremlinExecutor.Builder.engineSettings(Map<String,org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor.EngineSettings> settings)
Deprecated.
As of release 3.2.4, replaced by
addPlugins(String, Map) . |
GremlinExecutor.Builder |
GremlinExecutor.Builder.executorService(ExecutorService executorService)
The thread pool used to evaluate scripts.
|
GremlinExecutor.Builder |
GremlinExecutor.Builder.globalBindings(Bindings bindings)
Bindings to apply to every script evaluated.
|
GremlinExecutor.Builder |
GremlinExecutor.Builder.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
The thread pool used to schedule timeouts on scripts.
|
GremlinExecutor.Builder |
GremlinExecutor.Builder.scriptEvaluationTimeout(long scriptEvaluationTimeout)
Amount of time a script has before it times out.
|
GremlinExecutor.Builder |
GremlinExecutor.Builder.use(List<List<String>> use)
Deprecated.
As of release 3.2.4, not replaced.
|
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.