Data Types Configuration File
This conf file (types.xml) specifies the list of configured Types for DataCaster. Each configured type needs a TypeClass instance to implement the type, for example IntegerType which is a built-in type.
The supported attributes of Type in the configuration file are:
- name: Type name used to specify the type.
- TypeClass: The class name of the DataType class to be used, which must have a constructor that takes the type name as the only argument.
You can specify the isPrefix property for a type, which determines whether the type name is a prefix for the complete name of the type used in SQL statements and User API requests.
The following is a sample entry for the INTEGER type.
<Type name="INTEGER" TypeClass="com.applibase.db.types.IntegerType">
<TypeProperty name="isPrefix" value="false" />
</Type>