Documentation
¶
Overview ¶
Package gormiotdb exposes a GORM adapter backed by Apache's official IoTDB Go client.
Index ¶
Constants ¶
View Source
const ( // TreeModel targets IoTDB 1.3.1 hierarchical paths and is the default. TreeModel = dialector.TreeModel // TableModel targets IoTDB 2.x relational tables; 2.0.8 is integration-verified. TableModel = dialector.TableModel // Milliseconds is the default IoTDB timestamp precision. Milliseconds = dialector.Milliseconds // Microseconds selects microsecond timestamps. Microseconds = dialector.Microseconds // Nanoseconds selects nanosecond timestamps. Nanoseconds = dialector.Nanoseconds )
Variables ¶
View Source
var ErrUnsupportedOperation = dialector.ErrUnsupportedOperation
ErrUnsupportedOperation marks GORM behavior that cannot be represented safely.
Functions ¶
Types ¶
type DevicePathFunc ¶
type DevicePathFunc = dialector.DevicePathFunc
DevicePathFunc resolves a per-row TreeModel device path.
type TimePrecision ¶
type TimePrecision = dialector.TimePrecision
TimePrecision controls time.Time conversion.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package dialector implements a dual-model GORM dialector for Apache IoTDB.
|
Package dialector implements a dual-model GORM dialector for Apache IoTDB. |
|
driver
|
|
|
iotdbsql
Package iotdbsql provides a deliberately small database/sql bridge over a shared official IoTDB client pool.
|
Package iotdbsql provides a deliberately small database/sql bridge over a shared official IoTDB client pool. |
|
examples
|
|
|
batch
command
|
|
|
crud
command
|
|
|
rest-ts
command
|
|
|
tag-filter
command
|
|
|
ts-query
command
|
|
|
internal
|
|
|
backend
Package backend contains the thin runtime boundary around Apache's official IoTDB Go client.
|
Package backend contains the thin runtime boundary around Apache's official IoTDB Go client. |
|
model
Package model maps GORM schemas to explicit IoTDB model roles.
|
Package model maps GORM schemas to explicit IoTDB model roles. |
Click to show internal directories.
Click to hide internal directories.