boolean
|
The boolean data type is represented by one of the following value pairs:
|
byte
|
The byte data type is represented by the hexadecimal notation such as
0xFF or
FF.
|
char
|
The char data type is optionally enclosed in single or double quotes, depending on the following conditions:
- If the char data type is used to represent a comma or a newline character, then it is, preceded by a backslash, or enclosed in a single or double quotes
- If the char data type is used to represent a quote, it is preceded by a backslash. Exceptions:
- The char is enclosed in quotes
- The enclosing quotes and the internal quote are not the same type; for example, if the enclosing quotes are double quotes and the internal quote is a single quote, or vice versa.
- If the char data type is used to represent a backslash, it is preceded by another backslash.
|
primitive numbers (short, int, long, float, double)
|
The primitive numbers are represented by the decimal notation.
|
number
|
The number is represented by the decimal notation such as
123.456 or scientific notation such as
1.23456e2 .
|
string
|
The string data type is optionally enclosed in a single or double quotes, depending on the following conditions:
- If the data type string contains a comma or a newline character, then the character is preceded by a backslash, or the string is enclosed in a single or double quotes
- If the data type string contains a single or double quote, then the quote is preceded by a backslash. Exceptions:
- The string is wrapped in quotes
- The enclosing quotes and the internal quote aren't of the same type; for example, if the enclosing quotes are double quotes and the internal quote is a single quote.
- If the data type string contains a backslash, it is preceded by another backslash.
|
time
|
The time data type can be represented in one of the following ways:
|
date
|
The date data type can be represented in one of the following ways:
|
timestamp
|
The timestamp data type can be represented in one of the following ways:
- String, in the format:
"<date>T<time>", where date and time are string representations of date and time attributes
- Long value which is unique to the internal representation, produced by export.
|
null
|
Any null value for any of the above data types, can be represented as
null .
|