The Neo4j CQL data types are similar to Java language data types. They are used to define properties of a node or a relationship.
Index |
CQL Data Type |
Usage |
1. |
Boolean |
It is used to represent Boolean literals: True, False. |
2. |
byte |
It is used to represent 8-bit integers. |
3. |
short |
It is used to represent 16-bit integers. |
4. |
int |
It is used to represent 32-bit integers. |
5. |
long |
It is used to represent 64-bit integers. |
6. |
float |
Float is used to represent 32-bit floating-point numbers. |
7. |
double |
Double is used to represent 64-bit floating-point numbers. |
8. |
char |
Char is used to represent 16-bit characters. |
9. |
String |
String is used to represent strings. |