|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.rgma.Types
public final class Types
Constants for SQL column types.
Field Summary | |
---|---|
static int |
BOOLEAN
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BOOLEAN . |
static int |
CHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CHAR . |
static int |
DATE
Deprecated. |
static int |
DOUBLE
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DOUBLE . |
static int |
FLOAT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type FLOAT . |
static int |
INTEGER
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type INTEGER . |
static int |
REAL
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REAL . |
static int |
TIME
Deprecated. |
static int |
TIMESTAMP
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIMESTAMP . |
static int |
VARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARCHAR . |
Method Summary | |
---|---|
static int |
getType(java.lang.String typeName)
Returns the type number for the given type. |
static java.lang.String |
getTypeName(int type)
Gets the name associated with a type number. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int INTEGER
The constant in the Java programming language, sometimes referred to as
a type code, that identifies the generic SQL type INTEGER
.
public static final int FLOAT
The constant in the Java programming language, sometimes referred to as
a type code, that identifies the generic SQL type FLOAT
.
public static final int REAL
The constant in the Java programming language, sometimes referred to as
a type code, that identifies the generic SQL type REAL
.
public static final int DOUBLE
The constant in the Java programming language, sometimes referred to as
a type code, that identifies the generic SQL type DOUBLE
.
public static final int CHAR
The constant in the Java programming language, sometimes referred to as
a type code, that identifies the generic SQL type CHAR
.
public static final int VARCHAR
The constant in the Java programming language, sometimes referred to as
a type code, that identifies the generic SQL type VARCHAR
.
public static final int BOOLEAN
BOOLEAN
.
public static final int TIMESTAMP
The constant in the Java programming language, sometimes referred to as
a type code, that identifies the generic SQL type
TIMESTAMP
.
public static final int DATE
public static final int TIME
Method Detail |
---|
public static java.lang.String getTypeName(int type)
type
- Type number.
type
.public static int getType(java.lang.String typeName)
typeName
- Name of type to convert.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |