org.apache.tinkerpop.gremlin.process.traversal

## Interface Translator.ScriptTranslator.TypeTranslator

- All Superinterfaces:
    Function<Object,Object>, UnaryOperator<Object>
  Enclosing interface:
    Translator.ScriptTranslator

      public static interface Translator.ScriptTranslator.TypeTranslator
      extends UnaryOperator<Object>

  Provides a way to customize and override the standard translation process. A `Translator.ScriptTranslator` implementation can choose to expose a way to accept a `TypeTranslator` which will convert an incoming object to a different form which will then be normally processed or can return a `Translator.ScriptTranslator.Handled` object with the already translated script.

- - ### Method Summary

    All Methods Static Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Translator.ScriptTranslator.TypeTranslator` | `identity()`

    - ### Methods inherited from interface java.util.function.Function

      `andThen, apply, compose`

- - ### Method Detail

    - #### identity

          static Translator.ScriptTranslator.TypeTranslator identity()

      Specified by:
        `identity` in interface `Function<Object,Object>`
      Specified by:
        `identity` in interface `UnaryOperator<Object>`

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