Enum SchemaType

    • Enum Constant Detail

      • BIT

        public static final SchemaType BIT
        JDBC Datatype BIT.
      • TINYINT

        public static final SchemaType TINYINT
        JDBC Datatype TINYINT.
      • SMALLINT

        public static final SchemaType SMALLINT
        JDBC Datatype SMALLINT.
      • INTEGER

        public static final SchemaType INTEGER
        JDBC Datatype INTEGER.
      • BIGINT

        public static final SchemaType BIGINT
        JDBC Datatype BIGINT.
      • FLOAT

        public static final SchemaType FLOAT
        JDBC Datatype FLOAT.
      • REAL

        public static final SchemaType REAL
        JDBC Datatype REAL.
      • NUMERIC

        public static final SchemaType NUMERIC
        JDBC Datatype NUMERIC.
      • DECIMAL

        public static final SchemaType DECIMAL
        JDBC Datatype DECIMAL.
      • CHAR

        public static final SchemaType CHAR
        JDBC Datatype CHAR.
      • VARCHAR

        public static final SchemaType VARCHAR
        JDBC Datatype VARCHAR.
      • LONGVARCHAR

        public static final SchemaType LONGVARCHAR
        JDBC Datatype LONGVARCHAR.
      • DATE

        public static final SchemaType DATE
        JDBC Datatype DATE.
      • TIME

        public static final SchemaType TIME
        JDBC Datatype TIME.
      • TIMESTAMP

        public static final SchemaType TIMESTAMP
        JDBC Datatype TIMESTAMP.
      • BINARY

        public static final SchemaType BINARY
        JDBC Datatype BINARY.
      • VARBINARY

        public static final SchemaType VARBINARY
        JDBC Datatype VARBINARY.
      • LONGVARBINARY

        public static final SchemaType LONGVARBINARY
        JDBC Datatype LONGVARBINARY.
      • NULL

        public static final SchemaType NULL
        JDBC Datatype NULL.
      • OTHER

        public static final SchemaType OTHER
        JDBC Datatype OTHER.
      • JAVA_OBJECT

        public static final SchemaType JAVA_OBJECT
        JDBC Datatype JAVA_OBJECT.
      • DISTINCT

        public static final SchemaType DISTINCT
        JDBC Datatype DISTINCT.
      • STRUCT

        public static final SchemaType STRUCT
        JDBC Datatype STRUCT.
      • ARRAY

        public static final SchemaType ARRAY
        JDBC Datatype ARRAY.
      • BLOB

        public static final SchemaType BLOB
        JDBC Datatype BLOB.
      • CLOB

        public static final SchemaType CLOB
        JDBC Datatype CLOB.
      • REF

        public static final SchemaType REF
        JDBC Datatype REF.
      • BOOLEANINT

        public static final SchemaType BOOLEANINT
        JDBC Datatype INTEGER interpreted as Boolean.
      • BOOLEANCHAR

        public static final SchemaType BOOLEANCHAR
        JDBC Datatype CHAR interpreted as Boolean.
      • DOUBLE

        public static final SchemaType DOUBLE
        JDBC Datatype DOUBLE.
    • Method Detail

      • values

        public static SchemaType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared.
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SchemaType 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
      • getJdbcType

        public Integer getJdbcType()
        Returns the corresponding jdbc type.
        Returns:
        the corresponding jdbc type, or null if no corresponding type exists.
      • getByJdbcType

        public static SchemaType getByJdbcType​(Integer jdbcType)
        Returns the schema type which corresponds to the given jdbc type.
        Parameters:
        jdbcType - the jdbc type.
        Returns:
        the corresponding schema type, or null if no schema type corresponds to the jdbc type.