Skip to content

SqlBaseType

SqlBaseType is a collection (enum) of built-in SQL data types in ksqlDB:

  • ARRAY
  • BIGINT
  • BOOLEAN
  • BYTES
  • DATE
  • DECIMAL
  • DOUBLE
  • INTEGER
  • MAP
  • STRING
  • STRUCT
  • TIME
  • TIMESTAMP

Numeric Types

boolean isNumber()

isNumber is true when this SqlBaseType is one of the following:

  • INTEGER
  • BIGINT
  • DECIMAL
  • DOUBLE

Time Types

boolean isTime()

isTime is true when this SqlBaseType is one of the following:

  • TIME
  • DATE
  • TIMESTAMP