14.10.2 Type System

Filter expressions are a very simple type system. There are only the following 13 types:

  1. integer (can be abbreviated in expressions with int)
  2. long
  3. float
  4. double
  5. boolean
  6. string
  7. date
  8. time
  9. time with timezone
  10. timestamp
  11. timestamp with timezone
  12. vertex
  13. edge

Conversions are only allowed from one numeric type to another numeric type (i.e. integer, float, double, long).

Comparisons require both sides to be of the same (or convertible) type.