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

Method FindAtOrAfter

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

Finds the oldest value at or after the provided time and returns the value type. Returns chunkenc.ValNone if either the chunk contains no value at or after the provided time, or an error has occurred.

(model.Time)

Source from the content-addressed store, hash-verified

20 // Returns chunkenc.ValNone if either the chunk contains no value at or after
21 // the provided time, or an error has occurred.
22 FindAtOrAfter(model.Time) chunkenc.ValueType
23 // Returns a batch of the provisded size; NB not idempotent! Should only be called
24 // once per Scan.
25 Batch(size int, valType chunkenc.ValueType) Batch

Callers 1

SeekMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected