Enum DbColumnType

    • Enum Constant Detail

      • BOOLEAN

        public static final DbColumnType BOOLEAN
        The boolean type.
      • STRING

        public static final DbColumnType STRING
        The string type.
      • INT

        public static final DbColumnType INT
        The integer type.
      • DOUBLE

        public static final DbColumnType DOUBLE
        The double type.
      • LONG

        public static final DbColumnType LONG
        The long type.
      • BLOB

        public static final DbColumnType BLOB
        The blob type.
      • JSON

        public static final DbColumnType JSON
        The json type. This is not supported by all engines; engines not supporting it use the CLOB type.
        Since:
        2.1.5
      • UNMAPPED

        public static final DbColumnType UNMAPPED
        A type that is not mapped.
    • Method Detail

      • values

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

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