Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChunkMergeIterator ¶
func NewChunkMergeIterator(chunks []chunk.Chunk, _, _ model.Time) chunkenc.Iterator
NewChunkMergeIterator returns a chunkenc.Iterator that merges Cortex chunks together.
func NewGenericChunkMergeIterator ¶ added in v1.2.0
func NewGenericChunkMergeIterator(chunks []GenericChunk) chunkenc.Iterator
NewGenericChunkMergeIterator returns a chunkenc.Iterator that merges generic chunks together.
Types ¶
type GenericChunk ¶ added in v1.2.0
type GenericChunk struct {
MinTime int64
MaxTime int64
// contains filtered or unexported fields
}
GenericChunk is a generic chunk used by the batch iterator, in order to make the batch iterator general purpose.
func NewGenericChunk ¶ added in v1.2.0
func NewGenericChunk(minTime, maxTime int64, iterator func(reuse encoding.Iterator) encoding.Iterator) GenericChunk
Click to show internal directories.
Click to hide internal directories.