Documentation ¶
Index ¶
Constants ¶
View Source
const (
// MagicChunks is 4 bytes at the head of a series file.
MagicChunks = 0x85BD40DD
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type Meta struct { // Ref and Chunk hold either a reference that can be used to retrieve // chunk data or the data itself. // Generally, only one of them is set. Ref uint64 Chunk chunkenc.Chunk MinTime, MaxTime int64 // time range the data covers }
Meta holds information about a chunk of data.
func (*Meta) OverlapsClosedInterval ¶
Returns true if the chunk overlaps [mint, maxt].
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader implements a SeriesReader for a serialized byte stream of series data.
func NewDirReader ¶
NewDirReader returns a new Reader against sequentially numbered files in the given directory.
Click to show internal directories.
Click to hide internal directories.