Class VariableResolver.NullVariableResolver
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.language.grammar.VariableResolver.NullVariableResolver
 
- 
- All Implemented Interfaces:
- BiFunction<String,GremlinParser.VariableContext,Object>,- VariableResolver
 - Enclosing interface:
- VariableResolver
 
 public static class VariableResolver.NullVariableResolver extends Object implements VariableResolver ThisVariableResolversimply provides anullvalue for all variable names. It's typical use is for when you really don't intend to execute the traversal and just want to get an instance of one when bindings are being used as withNoOpTerminalVisitor.
- 
- 
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 NullVariableResolver()
 - 
Method SummaryAll Methods Static 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.static VariableResolverinstance()- 
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- 
instancepublic static VariableResolver instance() 
 - 
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
 
 
- 
 
-