Class VariableResolverPlugin
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.jsr223.AbstractGremlinPlugin
-
- org.apache.tinkerpop.gremlin.jsr223.VariableResolverPlugin
-
- All Implemented Interfaces:
GremlinPlugin
public class VariableResolverPlugin extends AbstractGremlinPlugin
A plugin that allows for the configuration of aVariableResolver
implementation to be used by theGremlinLangScriptEngine
. By default, it will use theVariableResolver.DirectVariableResolver
which directly resolves variable name to a value from the binding in the script engine context. This is the most common usage relevant for most users and providers. Other options are reserved for more advanced use cases.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VariableResolverPlugin.Builder
-
Field Summary
Fields Modifier and Type Field Description static Map<String,Function<Map<String,Object>,VariableResolver>>
VARIABLE_RESOLVERS
-
Fields inherited from class org.apache.tinkerpop.gremlin.jsr223.AbstractGremlinPlugin
appliesTo, customizers, moduleName
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VariableResolverPlugin.Builder
build()
Builds a set of static bindings.-
Methods inherited from class org.apache.tinkerpop.gremlin.jsr223.AbstractGremlinPlugin
getCustomizers, getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.jsr223.GremlinPlugin
getCustomizers, requireRestart
-
-
-
-
Method Detail
-
build
public static VariableResolverPlugin.Builder build()
Builds a set of static bindings.
-
-