|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SqlTypeFactory
The factory definition, which can be used to construct the SqlMetaType instances.
In the process of the META SQL statements and mapping rules parsing the input/output values META types have to be
established. For this purpose a factory class responsible for these META types construction has to be supplied.
The implementation depends the stack on top of which the SQL Processor works. It can be a singleton or a registry.
| Method Summary | |
|---|---|
SqlMetaType[] |
getAllTypes()
Returns the collection of all the META types provided by this factory. |
SqlMetaType |
getDefaultType()
Returns the default META type. |
SqlMetaType |
getEnumIntegerType()
Returns the META type for the enumerations based on Integer internal type. |
SqlMetaType |
getEnumStringType()
Returns the META type for the enumerations based on String internal type. |
SqlMetaType |
getIdentityType()
Returns the META type for an auto-generated identity. |
SqlMetaType |
getMetaType(Class<?> clazz)
Returns the META type, which can be used to handle input/output values of provided Java type. |
SqlMetaType |
getMetaType(String name)
Returns the META type with the provided name. |
| Method Detail |
|---|
SqlMetaType getDefaultType()
SqlMetaType getEnumIntegerType()
SqlMetaType getEnumStringType()
SqlMetaType getIdentityType()
SqlMetaType[] getAllTypes()
SqlMetaType getMetaType(Class<?> clazz)
clazz - the input/output value Java type
SqlMetaType getMetaType(String name)
name - the name of the META SQL type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||