Enum JDBCType
- java.lang.Object
-
- java.lang.Enum<JDBCType>
-
- org.hotrod.runtime.livesql.expressions.JDBCType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAYBIGINTBINARYBITBLOBBOOLEANCHARCLOBDATALINKDATEDECIMALDISTINCTDOUBLEFLOATINTEGERJAVA_OBJECTLONGNVARCHARLONGVARBINARYLONGVARCHARNCHARNCLOBNULLNUMERICNVARCHAROTHERREALREFREF_CURSORROWIDSMALLINTSQLXMLSTRUCTTIMETIME_WITH_TIMEZONETIMESTAMPTIMESTAMP_WITH_TIMEZONETINYINTVARBINARYVARCHAR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetCode()static JDBCTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JDBCType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BIT
public static final JDBCType BIT
-
TINYINT
public static final JDBCType TINYINT
-
SMALLINT
public static final JDBCType SMALLINT
-
INTEGER
public static final JDBCType INTEGER
-
BIGINT
public static final JDBCType BIGINT
-
FLOAT
public static final JDBCType FLOAT
-
REAL
public static final JDBCType REAL
-
DOUBLE
public static final JDBCType DOUBLE
-
NUMERIC
public static final JDBCType NUMERIC
-
DECIMAL
public static final JDBCType DECIMAL
-
CHAR
public static final JDBCType CHAR
-
VARCHAR
public static final JDBCType VARCHAR
-
LONGVARCHAR
public static final JDBCType LONGVARCHAR
-
DATE
public static final JDBCType DATE
-
TIME
public static final JDBCType TIME
-
TIMESTAMP
public static final JDBCType TIMESTAMP
-
BINARY
public static final JDBCType BINARY
-
VARBINARY
public static final JDBCType VARBINARY
-
LONGVARBINARY
public static final JDBCType LONGVARBINARY
-
NULL
public static final JDBCType NULL
-
OTHER
public static final JDBCType OTHER
-
JAVA_OBJECT
public static final JDBCType JAVA_OBJECT
-
DISTINCT
public static final JDBCType DISTINCT
-
STRUCT
public static final JDBCType STRUCT
-
ARRAY
public static final JDBCType ARRAY
-
BLOB
public static final JDBCType BLOB
-
CLOB
public static final JDBCType CLOB
-
REF
public static final JDBCType REF
-
DATALINK
public static final JDBCType DATALINK
-
BOOLEAN
public static final JDBCType BOOLEAN
-
ROWID
public static final JDBCType ROWID
-
NCHAR
public static final JDBCType NCHAR
-
NVARCHAR
public static final JDBCType NVARCHAR
-
LONGNVARCHAR
public static final JDBCType LONGNVARCHAR
-
NCLOB
public static final JDBCType NCLOB
-
SQLXML
public static final JDBCType SQLXML
-
REF_CURSOR
public static final JDBCType REF_CURSOR
-
TIME_WITH_TIMEZONE
public static final JDBCType TIME_WITH_TIMEZONE
-
TIMESTAMP_WITH_TIMEZONE
public static final JDBCType TIMESTAMP_WITH_TIMEZONE
-
-
Method Detail
-
values
public static JDBCType[] 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 (JDBCType c : JDBCType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JDBCType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getCode
public java.lang.Integer getCode()
-
-