public final class Bindings extends Object
Bytecode.Binding
arguments in Bytecode
.
Use the Bindings instance when defining a binding via of(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"))
Constructor and Description |
---|
Bindings()
Deprecated.
As of release 3.2.4, replaced by
instance() . |
Modifier and Type | Method and Description |
---|---|
protected static void |
clear() |
protected static <V> String |
getBoundVariable(V value) |
static Bindings |
instance() |
<V> V |
of(String variable,
V value) |
String |
toString() |
@Deprecated public Bindings()
instance()
.Copyright © 2013–2017 Apache Software Foundation. All rights reserved.