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 = new Bindings()
g = graph.traversal().withBindings(b)
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() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
protected <V> String |
getBoundVariable(V value) |
<V> V |
of(String variable,
V value) |
String |
toString() |
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.