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.Bindingarguments 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 voidclear()protected static <V> StringgetBoundVariable(V value)static Bindingsinstance()<V> Vof(String variable, V value)StringtoString()
-