org.fao.gast.lib.druid
Class SqlMapper

java.lang.Object
  extended by org.fao.gast.lib.druid.SqlMapper

public class SqlMapper
extends java.lang.Object


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

SqlMapper

public SqlMapper()
Method Detail

mapId

public static SqlType mapId(java.lang.Object id)

mapName

public static SqlType mapName(java.lang.String name)

map

public 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