Enum FunctionResult

    • Enum Constant Detail

      • BOOLEAN

        public static final FunctionResult BOOLEAN
        Result is a value of Boolean type
      • LONG

        public static final FunctionResult LONG
        Result is a value of Long type
      • LIST

        public static final FunctionResult LIST
        Result is a value of List type
      • STRING

        public static final FunctionResult STRING
        Result is a value of plain String type
      • VALUE

        public static final FunctionResult VALUE
        Result is a value of user defined type
      • MAPVALUE

        public static final FunctionResult MAPVALUE
        Result is a value of Map Value type. Codec.getMapValueDecoder() and Codec.getMapValueEncoder() methods are used for data deserialization or serialization.
      • MAPVALUELIST

        public static final FunctionResult MAPVALUELIST
        Result is a value of List type, which consists of objects of Map Value type. Codec.getMapValueDecoder() and Codec.getMapValueEncoder() methods are used for data deserialization or serialization.
    • Method Detail

      • values

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

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