Class Bindings
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.Bindings
-
public final class Bindings extends Object
Bindings are used to associate a variable with a value. They enable the creation ofBytecode.Binding
arguments inBytecode
. Use the Bindings instance when defining a binding viaof(String, Object)
. For instance:b = Bindings.instance() g = graph.traversal() g.V().out(b.of("a","knows")) // bindings can be reused over and over g.V().out("knows").in(b.of("a","created"))
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static void
clear()
protected static <V> String
getBoundVariable(V value)
static Bindings
instance()
<V> V
of(String variable, V value)
String
toString()
-