Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.2 Online Documentation (MoTW) Revision 3
: Class RealTypes (RealSQL-JDBC) (realtypes.html)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.northgateis.reality.realsql.RealTypes
This class provides information about SQL and RealSQL data types.
ResultSet
Field Summary | |
static int
|
BIGINT
|
static int
|
BINARY
|
static int
|
BIT
|
static int
|
CHAR
|
static int
|
DATE
|
static int
|
DECIMAL
|
static int
|
DOUBLE
|
static int
|
FLOAT
|
static int
|
INTEGER
|
static int
|
LONGVARBINARY
|
static int
|
LONGVARCHAR
|
static int
|
NUMERIC
|
static int
|
REAL
|
static int
|
SMALLINT
|
static int
|
TIME
|
static int
|
TIMESTAMP
|
static int
|
TINYINT
|
static int
|
VARBINARY
|
static int
|
VARCHAR
|
Constructor Summary | |
RealTypes() |
Method Summary | |
static int | getRealSQLTypeForSQL(int sql) Provides the RealSQL type in the form of an int |
static java.lang.String | getRealSQLTypeNameForRealSQL(int realType) Provides a String representation of the specified
RealSQL type. |
static java.lang.String | getRealSQLTypeNameForSQL(int sql) Provides the RealSQL type name for the specified SQL type constant from java.sql.Types . |
static int | getSQLTypeForRealSQL(int realType) Provides the SQL type that corresponds to the specified RealSQL type. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int BIT
public static final int TINYINT
public static final int BIGINT
public static final int LONGVARBINARY
public static final int VARBINARY
public static final int BINARY
public static final int LONGVARCHAR
public static final int CHAR
public static final int NUMERIC
public static final int DECIMAL
public static final int INTEGER
public static final int SMALLINT
public static final int FLOAT
public static final int REAL
public static final int DOUBLE
public static final int DATE
public static final int TIME
public static final int TIMESTAMP
public static final int VARCHAR
Constructor Detail |
public RealTypes()
Method Detail |
public static int getRealSQLTypeForSQL(int sql)
int from
this class for the specified SQL type from java.sql.Types
.
The conversion used here is the same conversion the driver uses.
- Parameters:
sql
- the SQL type from java.sql.Types
- Returns:
- an
int
value representing the RealSQL type - See Also:
Types
public static java.lang.String getRealSQLTypeNameForRealSQL(int realType)
String
representation of the specified
RealSQL type. The representation is using the RealSQL type system.
msql
- the RealSQL type whose name is desiredpublic static java.lang.String getRealSQLTypeNameForSQL(int sql)
java.sql.Types
.
sql
- the SQL type valueTypes
public static int getSQLTypeForRealSQL(int realType)
msql
- the desired RealSQL typejava.sql.Types
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |