Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseStream ¶ added in v1.34.0
func ParseStream(r io.Reader, isGzipped bool, precision, db string, callback func(db string, rows []Row) error) error
ParseStream parses r with the given args and calls callback for the parsed rows.
The callback can be called concurrently multiple times for streamed data from r.
callback shouldn't hold rows after returning.
Types ¶
type Rows ¶
type Rows struct { Rows []Row // contains filtered or unexported fields }
Rows contains parsed influx rows.
func (*Rows) Unmarshal ¶
Unmarshal unmarshals influx line protocol rows from s.
See https://docs.influxdata.com/influxdb/v1.7/write_protocols/line_protocol_tutorial/
s shouldn't be modified when rs is in use.
Click to show internal directories.
Click to hide internal directories.