iotdb

package
v0.0.0-...-091dc79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GlobalTabletSchemaMap = make(map[string][]*client.MeasurementSchema)
	GlobalMeasurementMap  = make(map[string][]string)
	GlobalDataTypeMap     = make(map[string][]client.TSDataType)
)

Functions

func IotdbFormat

func IotdbFormat(v interface{}) ([]byte, client.TSDataType)

IotdbFormat Utility function for appending various data types to a byte string

func NewTarget

func NewTarget() targets.ImplementedTarget

Types

type Serializer

type Serializer struct {
	BasicPath      string // e.g. "root.sg" is basic path of "root.sg.device". default : "root"
	BasicPathLevel int32  // e.g. 0 for "root", 1 for "root.device"
}

Serializer writes a Point in a serialized form for IoTDB

func (*Serializer) Serialize

func (s *Serializer) Serialize(p *data.Point, w io.Writer) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL