IoTDB
IoTDB source connector
Description
Read external data source data through IoTDB.
Key features
supports query SQL and can achieve projection effect.
Supported DataSource Info
IoTDB
>= 0.13.0
localhost:6667
Data Type Mapping
BOOLEAN
BOOLEAN
INT32
TINYINT
INT32
SMALLINT
INT32
INT
INT64
BIGINT
FLOAT
FLOAT
DOUBLE
DOUBLE
TEXT
STRING
Source Options
node_urls
string
yes
-
IoTDB cluster address, the format is "host1:port" or "host1:port,host2:port"
username
string
yes
-
IoTDB user username
password
string
yes
-
IoTDB user password
sql
string
yes
-
execute sql statement
schema
config
yes
-
the data schema
fetch_size
int
no
-
the fetch_size of the IoTDB when you select
lower_bound
long
no
-
the lower_bound of the IoTDB when you select
upper_bound
long
no
-
the upper_bound of the IoTDB when you select
num_partitions
int
no
-
the num_partitions of the IoTDB when you select
thrift_default_buffer_size
int
no
-
the thrift_default_buffer_size of the IoTDB when you select
thrift_max_frame_size
int
no
-
the thrift max frame size
enable_cache_leader
boolean
no
-
enable_cache_leader of the IoTDB when you select
version
string
no
-
SQL semantic version used by the client, The possible values are: V_0_12, V_0_13
common-options
no
-
split partitions
we can split the partitions of the IoTDB and we used time column split
num_partitions [int]
split num
upper_bound [long]
upper bound of the time column
lower_bound [long]
lower bound of the time column
common options
Source plugin common parameters, please refer to Source Common Options for details
Examples
Upstream IoTDB data format is the following:
Loaded to NexusRow data format is the following:
1664035200001
root.test_group.device_a
36.1
100
1
21474836470
1.0f
1.0d
abc
true
1664035200001
root.test_group.device_b
36.2
101
2
21474836470
2.0f
2.0d
abc
true
1664035200001
root.test_group.device_c
36.3
102
3
21474836470
3.0f
3.0d
abc
true
Last updated