Each metadata field can be of different data type.
The following types of record fields are used in metadata. If you need to see data types used in CTL, see Data Types in CTL2.
Table 32.1. Data Types in Metadata
|Data type||Size ||Values||Default value|
|boolean||Represents 1 bit. Its size is not precisely defined.|
|byte||Depends on the actual data length.||from -128 to 127|
|cbyte||Depends on the actual data length and success of compression.||from -128 to 127|
|date||64 bits ||Zero date corresponds to 1st January 1970, 00:00:00 GMT. The precision of this data type is 1 ms.|
Depends on ||
Range of values depends on |
|integer||32 bits ||From |
|long||64 bits ||From |
|number||64 bits ||Negative values are from
to -2-1074, another value is 0, and
positive values are from 2-1074 to
Three special values: |
|string||Depends on the actual data length. Each character from the basic Unicode plane is stored in 16 bits. Characters from other planes require 32 bits per character.||
A string takes (number of characters) * 2 bytes of memory
(or 4 bytes if you process characters from other Unicode planes).
At the same time, no record can take more than |
 This column may look like an implementation detail but it
lets you estimate how much memory your records are going
to need. To do that, take a look at how many fields your record has, which data
types they are and then compare the result to the
 The default
 By default, if a field which is of the string
data type of any metadata is an empty string, such field value
is converted to
For other information about these data types and other data types used in CloverDX Transformation Language (CTL), see Data Types in CTL2.