Data Types and Encodings Supported by IoTDB

IoTDB supports the following data types and encodings. For details, see Table 1.

Table 1 Data types and encodings supported by IoTDB

Type

Description

Supported Encoding

BOOLEAN

Boolean

PLAIN, RLE

INT32

Integer

PLAIN, RLE, TS_2DIFF, GORILLA, FREQ, ZIGZAG

INT64

Long integer

PLAIN, RLE, TS_2DIFF, GORILLA, FREQ, ZIGZAG

FLOAT

Float

PLAIN, RLE, TS_2DIFF, GORILLA, FREQ

DOUBLE

Double

PLAIN, RLE, TS_2DIFF, GORILLA, FREQ

TEXT

String

PLAIN, DICTIONARY