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"))
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() |
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.