org.apache.tinkerpop.gremlin.process.traversal

## Interface Translator.ScriptTranslator

- All Superinterfaces:
    Translator<String,String>
  All Known Implementing Classes:
    GroovyTranslator, GroovyTranslator, JythonTranslator, PythonTranslator, PythonTranslator
  Enclosing interface:
    Translator<S,T>

      public static interface Translator.ScriptTranslator
      extends Translator<String,String>

  Translates bytecode to a string representation.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `Translator.ScriptTranslator.TypeTranslator` Provides a way for the `Translator.ScriptTranslator` to convert various data types to their string representations in their target language.

    - ### Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Translator

      `Translator.ScriptTranslator, Translator.StepTranslator<S extends TraversalSource,T extends Traversal.Admin<?,?>>`

  - ### Method Summary

    All Methods Instance Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default String` | `translate(Traversal<?,?> t)` Translates a `Traversal` into a script form.

    - ### Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Translator

      `getTargetLanguage, getTraversalSource, translate`

- - ### Method Detail

    - #### translate

          default String translate(Traversal<?,?> t)

      Translates a `Traversal` into a script form.

Copyright © 2013–2021 Apache Software Foundation. All rights reserved.