Documentation ¶
Overview ¶
Package tsz implement time-series compression
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iter ¶
type Iter struct { T0 uint64 // contains filtered or unexported fields }
Iter lets you iterate over a series. It is not concurrency-safe.
type Series ¶
Series is the basic series primitive you can concurrently put values, finish the stream, and create iterators
func (*Series) Finish ¶
func (s *Series) Finish()
Finish the series by writing an end-of-stream record
func (*Series) MarshalBinary ¶
MarshalBinary implements the encoding.BinaryMarshaler interface
func (*Series) Push ¶
Push a timestamp and value to the series. Values must be inserted in monotonically increasing time order.
func (*Series) UnmarshalBinary ¶
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface
Click to show internal directories.
Click to hide internal directories.