Skip to Content
TORMQuestDB, TDengine and IoTDB

QuestDB, TDengine and IoTDB

On this page

These packages provide separate clients for native schema, writing and query APIs, without the relational OrmClient.

QuestDB

Install TORM.QuestDb.

TypePurpose
QuestDbDriver.QuestDbClientREST QueryAsync, ExecuteAsync and ImportCsvStreamAsync
TORM.QuestDb.QuestDbTableClientSchema initialization and existence checks
QuestDbCsvBulkWriter<T>CSV batches through WriteAsync
QuestDbTableAttribute, QuestDbColumnAttributeNative schema mapping

Inspect accepted/rejected information after imports; HTTP success alone does not prove every row succeeded. Set the writer’s TemporaryDirectory when the host must control intermediate files, storage budgets and cleanup.

TDengine

Install TORM.TaosData. TORM.TaosData.TdengineClient chooses Native or WebSocket explicitly via TdengineConnectionOptions. It exposes Execute, Query, ExecuteScalar, SchemalessInsert and CheckHealth.

Dispose the TdengineRowReader returned by Query. Native mode needs matching native platform/architecture dependencies; WebSocket needs the adapter service. The client does not silently switch protocols.

Schemaless results and failures carry commit state and request ID. Distinguish explicit rejection from an unknown outcome after a network failure before replaying a batch.

Apache IoTDB

Install TORM.IoTDB.

using TORM.IoTDB; var options = IoTdbConnectionOptions.Parse( "DataSource=127.0.0.1;Port=6667;Username=root;Password=root;Model=tree;RootPath=root.demo"); await using var client = new IoTdbClient(options); await client.OpenAsync(); await client.InitDatabaseAsync();

Credentials here are local examples. Connection strings require Model=tree or Model=table and reject unknown or duplicate keys.

ModelSchema and writing
TreeRoot/device paths, timestamp and measurement attributes; InitDeviceSchemaAsync<T>, InsertTabletAsync
TableDatabase and TIME / TAG / ATTRIBUTE / FIELD columns; InitTableAsync<T>, InsertAsync

Accessing the wrong Tree / Table property fails instead of changing models. Stream large results with ExecuteQueryRowsAsync; bound materialized queries with maxRows.