Class TinkerGraphVariables
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraphVariables
-
- All Implemented Interfaces:
Graph.Variables
public final class TinkerGraphVariables extends Object implements Graph.Variables
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Variables
Graph.Variables.Exceptions
-
-
Constructor Summary
Constructors Constructor Description TinkerGraphVariables()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Optional<R>
get(String key)
Gets a variable.Set<String>
keys()
Keys set for the available variables.void
remove(String key)
Removes a variable.void
set(String key, Object value)
Sets a variable.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.Graph.Variables
asMap
-
-
-
-
Method Detail
-
keys
public Set<String> keys()
Description copied from interface:Graph.Variables
Keys set for the available variables.- Specified by:
keys
in interfaceGraph.Variables
-
get
public <R> Optional<R> get(String key)
Description copied from interface:Graph.Variables
Gets a variable.- Specified by:
get
in interfaceGraph.Variables
-
remove
public void remove(String key)
Description copied from interface:Graph.Variables
Removes a variable.- Specified by:
remove
in interfaceGraph.Variables
-
set
public void set(String key, Object value)
Description copied from interface:Graph.Variables
Sets a variable.- Specified by:
set
in interfaceGraph.Variables
-
-