Interface VariableResolver
- 
- All Superinterfaces:
- BiFunction<String,GremlinParser.VariableContext,Object>
 - All Known Implementing Classes:
- VariableResolver.DefaultVariableResolver,- VariableResolver.NoVariableResolver,- VariableResolver.NullVariableResolver
 
 public interface VariableResolver extends BiFunction<String,GremlinParser.VariableContext,Object> Resolves parameters in Gremlin to objects.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classVariableResolver.DefaultVariableResolverAllows 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.static classVariableResolver.NoVariableResolverThisVariableResolverimplementation throws exceptions for all variable names.static classVariableResolver.NullVariableResolverThisVariableResolversimply provides anullvalue for all variable names.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectapply(String varName, GremlinParser.VariableContext variableContext)This function resolves a variable name and the given parsers context to an object.- 
Methods inherited from interface java.util.function.BiFunctionandThen
 
- 
 
- 
- 
- 
Method Detail- 
applyObject apply(String varName, GremlinParser.VariableContext variableContext) This function resolves a variable name and the given parsers context to an object.- Specified by:
- applyin interface- BiFunction<String,GremlinParser.VariableContext,Object>
 
 
- 
 
-