Enum Translator

    • Enum Constant Detail

      • LANGUAGE

        public static final Translator LANGUAGE
        Translates to gremlin-language.
      • ANONYMIZED

        public static final Translator ANONYMIZED
        Translates to gremlin-language with anonymized arguments.
      • DOTNET

        public static final Translator DOTNET
        Translates to gremlin-dotnet.
      • GO

        public static final Translator GO
        Translates to gremlin-groovy.
      • GROOVY

        public static final Translator GROOVY
        Translates to gremlin-groovy.
      • JAVA

        public static final Translator JAVA
        Translates to gremlin-java.
      • JAVASCRIPT

        public static final Translator JAVASCRIPT
        Translates to gremlin-javascript.
      • PYTHON

        public static final Translator PYTHON
        Translates to gremlin-python.
    • Method Detail

      • values

        public static Translator[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Translator c : Translator.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Translator valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getName

        public String getName()