|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fao.gast.lib.druid.SqlMapper
public class SqlMapper
Constructor Summary | |
---|---|
SqlMapper()
|
Method Summary | |
---|---|
static SqlType |
map(java.lang.Object id,
java.lang.String dbType,
java.lang.Object decimals)
This method is called to obtain the datatype of a table column id is the numeric java id as defined in java.sql.Types dbType is the string name of the type as reported by the dbms decimals is an integer specifying how many decimal digits the type has |
static SqlType |
mapId(java.lang.Object id)
|
static SqlType |
mapName(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SqlMapper()
Method Detail |
---|
public static SqlType mapId(java.lang.Object id)
public static SqlType mapName(java.lang.String name)
public static SqlType map(java.lang.Object id, java.lang.String dbType, java.lang.Object decimals)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |