|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object AbstractTypeMap
AbstractTypeMap uses a TreeMap to map internal JType values to the corresponding SQL data type for a specific database. TreeMap is used because it is guaranteed log2(O) performance and the type maps never change after they are created.
Method Summary | |
void |
clear()
Remove all type mappings. |
TypeMapEntry |
mapEntry(short type)
Returns the type map entry for a canonical SQL type. |
String |
name(short type)
Returns the database specific type name matching the specified canonical SQL type. |
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void clear()
public TypeMapEntry mapEntry(short type)
type
- the canonical SQL type.
public String name(short type)
type
- the canonical SQL type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |