Class VariableResolver.DefaultVariableResolver
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.language.grammar.VariableResolver.DefaultVariableResolver
 
- 
- All Implemented Interfaces:
- BiFunction<String,GremlinParser.VariableContext,Object>,- VariableResolver
 - Enclosing interface:
- VariableResolver
 
 public static class VariableResolver.DefaultVariableResolver extends Object implements VariableResolver Allows for a provided variable set in the form of aMap, where the keys are variable names and the values are the parameter values to be injected into the traversal in their place.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.language.grammar.VariableResolverVariableResolver.DefaultVariableResolver, VariableResolver.NoVariableResolver, VariableResolver.NullVariableResolver
 
- 
 - 
Constructor SummaryConstructors Constructor Description DefaultVariableResolver(Map<String,Object> variables)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectapply(String s, GremlinParser.VariableContext variableContext)This function resolves a variable name and the given parsers context to an object.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.function.BiFunctionandThen
 
- 
 
- 
- 
- 
Method Detail- 
applypublic Object apply(String s, GremlinParser.VariableContext variableContext) Description copied from interface:VariableResolverThis function resolves a variable name and the given parsers context to an object.- Specified by:
- applyin interface- BiFunction<String,GremlinParser.VariableContext,Object>
- Specified by:
- applyin interface- VariableResolver
 
 
- 
 
-