evitaDB - Fast e-commerce database
logo
page-background

Supported data types

The article gives an introduction to data types in EvitaDB query language, including basic and advanced types, and provides code examples to demonstrate their usage.

This document lists all data types supported by evitaDB that can be used in attributes or associated data for storing client relevant data. There is automatic conversion process connected with associated data if the data doesn't fit into list of allowed data types. Attributes must always comply with allowed data types.

evitaDB data types are limited to following list:

Application logic connected with evitaDB data types is located in class.

DateTimeRange

represents a specific implementation of the defining from and to boundaries by the OffsetDateTime data types. The offset date times are written in the ISO format.
Range is written as:
  • when both boundaries are specified:
  • when a left boundary (since) is specified:
  • when a right boundary (until) is specified:

NumberRange

Represents a specific implementation of the defining from and to boundaries by the Number data types. The supported number types are: Byte, Short, Integer, Long and BigDecimal.

Both boundaries of the number range must be of the same type - you cannot mix for example BigDecimal as lower bound and Byte as upper bound.

Range is written as:
  • when both boundaries are specified:
  • when a left boundary (since) is specified:
  • when a right boundary (until) is specified:

Author: Ing. Jan Novotný

Date updated: 15.12.2022

Documentation Source