org.apache.tinkerpop.gremlin.python.jsr223

## Class JythonTranslator

- java.lang.Object
- - org.apache.tinkerpop.gremlin.python.jsr223.PythonTranslator
  - - org.apache.tinkerpop.gremlin.python.jsr223.JythonTranslator

- All Implemented Interfaces:
    Translator<String,String>, Translator.ScriptTranslator

      public final class JythonTranslator
      extends PythonTranslator

  Author:
    Marko A. Rodriguez (http://markorodriguez.com), Stephen Mallette (http://stephen.genoprime.com)

- - ### Nested Class Summary

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

      `Translator.ScriptTranslator.Handled, Translator.ScriptTranslator.TypeTranslator`

    - ### 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 Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | `convertLambdaToString(Lambda lambda)`
    `String` | `getTargetLanguage()` Get the language that the translator is converting the traversal byte code to.
    `static JythonTranslator` | `of(String traversalSource)`
    `protected String` | `resolveSymbol(String methodName)`
    `protected String` | `resolveTraversalStrategyProxy(TraversalStrategyProxy proxy)`

    - ### Methods inherited from class org.apache.tinkerpop.gremlin.python.jsr223.PythonTranslator

      `convertToString, getTraversalSource, of, toString, translate`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### of

          public static JythonTranslator of(String traversalSource)

    - #### getTargetLanguage

          public String getTargetLanguage()

      Description copied from interface: `Translator`
      Get the language that the translator is converting the traversal byte code to.
      Specified by:
        `getTargetLanguage` in interface `Translator<String,String>`
      Overrides:
        `getTargetLanguage` in class `PythonTranslator`
      Returns:
        the language of the translation

    - #### convertLambdaToString

          protected String convertLambdaToString(Lambda lambda)

      Overrides:
        `convertLambdaToString` in class `PythonTranslator`

    - #### resolveSymbol

          protected String resolveSymbol(String methodName)

      Overrides:
        `resolveSymbol` in class `PythonTranslator`

    - #### resolveTraversalStrategyProxy

          protected String resolveTraversalStrategyProxy(TraversalStrategyProxy proxy)

      Overrides:
        `resolveTraversalStrategyProxy` in class `PythonTranslator`

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