|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.mvstore.type.ObjectTypeFactory
public class ObjectTypeFactory
A data type factory.
| Constructor Summary | |
|---|---|
ObjectTypeFactory()
|
|
| Method Summary | |
|---|---|
DataType |
buildDataType(java.lang.String s)
Parse the data type. |
java.lang.String |
getDataType(java.lang.Class<?> objectClass)
Get the data type identifier for the given class. |
void |
setParent(DataTypeFactory parent)
Set the parent factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectTypeFactory()
| Method Detail |
|---|
public void setParent(DataTypeFactory parent)
DataTypeFactory
setParent in interface DataTypeFactoryparent - the parent factorypublic DataType buildDataType(java.lang.String s)
DataTypeFactory
buildDataType in interface DataTypeFactorys - the string and type specific meta data
public java.lang.String getDataType(java.lang.Class<?> objectClass)
DataTypeFactoryTo avoid conflict with the default factory, the returned string should start with the package name of the type factory.
getDataType in interface DataTypeFactoryobjectClass - the class
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||