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

Method reset

pkg/querier/batch/chunk.go:18–23  ·  view source on GitHub ↗
(chunk GenericChunk)

Source from the content-addressed store, hash-verified

16}
17
18func (i *chunkIterator) reset(chunk GenericChunk) {
19 i.chunk = chunk
20 i.it = chunk.Iterator(i.it)
21 i.batch.Length = 0
22 i.batch.Index = 0
23}
24
25func (i *chunkIterator) MaxCurrentChunkTime() int64 {
26 return i.chunk.MaxTime

Callers 1

TestChunkIterFunction · 0.95

Calls 1

IteratorInterface · 0.92

Tested by 1

TestChunkIterFunction · 0.76