public static class Translator.FlavorBuilder<T,P>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected GremlinBindings |
bindings |
| Modifier and Type | Method and Description |
|---|---|
Translator<T,P> |
build()
Builds a
Translator. |
Translator<T,P> |
build(org.opencypher.gremlin.translation.translator.TranslatorFlavor flavor)
Builds a
Translator with the given translator flavor. |
Translator.FlavorBuilder<T,P> |
enable(TranslatorFeature feature)
Enables a feature in the
Translator that's being built. |
Translator.FlavorBuilder<T,P> |
enableCypherExtensions()
Enables Cypher extensions in the
Translator that's being built. |
Translator.FlavorBuilder<T,P> |
enableMultipleLabels()
Enables multiple labels translation in the
Translator that's being built. |
protected GremlinBindings bindings
public Translator.FlavorBuilder<T,P> enable(TranslatorFeature feature)
Translator that's being built.public Translator.FlavorBuilder<T,P> enableCypherExtensions()
Translator that's being built.TranslatorFeature.CYPHER_EXTENSIONSpublic Translator.FlavorBuilder<T,P> enableMultipleLabels()
Translator that's being built.TranslatorFeature.CYPHER_EXTENSIONSpublic Translator<T,P> build()
Translator.public Translator<T,P> build(org.opencypher.gremlin.translation.translator.TranslatorFlavor flavor)
Translator with the given translator flavor.flavor - translation flavor