Enum CreateFunctionRoutineBody

  • All Implemented Interfaces:
    Serializable, Comparable<CreateFunctionRoutineBody>

    @Generated
    public enum CreateFunctionRoutineBody
    extends Enum<CreateFunctionRoutineBody>
    Function language. When **EXTERNAL** is used, the language of the routine function should be specified in the __external_language__ field, and the __return_params__ of the function cannot be used (as **TABLE** return type is not supported), and the __sql_data_access__ field must be **NO_SQL**.
    • Method Detail

      • values

        public static CreateFunctionRoutineBody[] 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 (CreateFunctionRoutineBody c : CreateFunctionRoutineBody.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CreateFunctionRoutineBody 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