MCPcopy Create free account
hub / github.com/cortexproject/cortex / Seek

Method Seek

pkg/querier/batch/batch.go:35–35  ·  view source on GitHub ↗

Seek to the batch at (or after) time t and returns chunk value type.

(t int64, size int)

Source from the content-addressed store, hash-verified

33type iterator interface {
34 // Seek to the batch at (or after) time t and returns chunk value type.
35 Seek(t int64, size int) chunkenc.ValueType
36
37 // Next moves to the next batch and returns chunk value type.
38 Next(size int) chunkenc.ValueType

Callers 8

UploadMethod · 0.65
testSeekFunction · 0.65
SeekMethod · 0.65
SeekMethod · 0.65
SeekMethod · 0.65
FindAtOrAfterMethod · 0.65

Implementers 3

chunkIteratorpkg/querier/batch/chunk.go
mergeIteratorpkg/querier/batch/merge.go
nonOverlappingIteratorpkg/querier/batch/non_overlapping.go

Calls

no outgoing calls

Tested by 3

testSeekFunction · 0.52