public final class Translator<T,P>
extends java.lang.Object
Translator instances are not reusable.
| Modifier and Type | Class and Description |
|---|---|
static class |
Translator.Builder |
static class |
Translator.FlavorBuilder<T,P> |
static class |
Translator.GremlinGroovyFlavorBuilder |
| Modifier and Type | Method and Description |
|---|---|
GremlinBindings |
bindings()
Returns a strategy for working with query bindings.
|
static Translator.Builder |
builder()
Starts to build a translator.
|
GremlinPredicates<P> |
predicates()
Returns a factory for traversal predicates for use with the traversal DSL.
|
GremlinSteps<T,P> |
steps()
Provides access to the traversal DSL.
|
T |
translate()
Creates a translation for the configured target.
|
public GremlinSteps<T,P> steps()
predicates(),
bindings()public GremlinPredicates<P> predicates()
steps(),
bindings()public GremlinBindings bindings()
steps(),
predicates()public T translate()
public static Translator.Builder builder()