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

Method Scan

pkg/chunk/iterator.go:18–18  ·  view source on GitHub ↗

Scans the next value in the chunk. Directly after the iterator has been created, the next value is the first value in the chunk. Otherwise, it is the value following the last value scanned or found (by one of the Find... methods). Returns chunkenc.ValNoe if either the end of the chunk is reached or

()

Source from the content-addressed store, hash-verified

16 // found (by one of the Find... methods). Returns chunkenc.ValNoe if either
17 // the end of the chunk is reached or an error has occurred.
18 Scan() chunkenc.ValueType
19 // Finds the oldest value at or after the provided time and returns the value type.
20 // Returns chunkenc.ValNone if either the chunk contains no value at or after
21 // the provided time, or an error has occurred.

Callers 5

findConfigsMethod · 0.65
GetConfigMethod · 0.65
findRulesConfigsMethod · 0.65
NextMethod · 0.65
getMapsCountMethod · 0.65

Implementers 2

mockIteratorpkg/querier/batch/chunk_test.go
prometheusChunkIteratorpkg/chunk/chunk.go

Calls

no outgoing calls

Tested by

no test coverage detected