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 uint32 // contains filtered or unexported fields }
Iter lets you iterate over a series. It is not concurrency-safe.
type Series ¶
type Series struct { sync.Mutex // TODO(dgryski): timestamps in the paper are uint64 T0 uint32 // contains filtered or unexported fields }
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) UnmarshalBinary ¶
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface
Click to show internal directories.
Click to hide internal directories.