Class VariableResolver.NoVariableResolver
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.language.grammar.VariableResolver.NoVariableResolver
-
- All Implemented Interfaces:
BiFunction<String,GremlinParser.VariableContext,Object>
,VariableResolver
- Enclosing interface:
- VariableResolver
public static class VariableResolver.NoVariableResolver extends Object implements VariableResolver
ThisVariableResolver
implementation throws exceptions for all variable names.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.language.grammar.VariableResolver
VariableResolver.DefaultVariableResolver, VariableResolver.NoVariableResolver, VariableResolver.NullVariableResolver
-
-
Constructor Summary
Constructors Constructor Description NoVariableResolver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
apply(String s, GremlinParser.VariableContext variableContext)
This function resolves a variable name and the given parsers context to an object.static VariableResolver
instance()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
-
-
-
Method Detail
-
instance
public static VariableResolver instance()
-
apply
public Object apply(String s, GremlinParser.VariableContext variableContext)
Description copied from interface:VariableResolver
This function resolves a variable name and the given parsers context to an object.- Specified by:
apply
in interfaceBiFunction<String,GremlinParser.VariableContext,Object>
- Specified by:
apply
in interfaceVariableResolver
-
-