MCPcopy
hub / github.com/prometheus/prometheus / Next

Method Next

tsdb/chunkenc/chunk.go:141–141  ·  view source on GitHub ↗

Next advances the iterator by one and returns the type of the value at the new position (or ValNone if the iterator is exhausted).

()

Source from the content-addressed store, hash-verified

139 // Next advances the iterator by one and returns the type of the value
140 // at the new position (or ValNone if the iterator is exhausted).
141 Next() ValueType
142 // Seek advances the iterator forward to the first sample with a
143 // timestamp equal or greater than t. If the current sample found by a
144 // previous `Next` or `Seek` operation already has this property, Seek

Callers 2

BenchmarkXor2ReadFunction · 0.95
BenchmarkXorReadFunction · 0.95

Implementers 15

DeletedIteratortsdb/querier.go
mockSampleIteratortsdb/querier_test.go
mockSeriesIteratortsdb/chunkenc/chunk.go
nopIteratortsdb/chunkenc/chunk.go
xor2Iteratortsdb/chunkenc/xor2.go
histogramIteratortsdb/chunkenc/histogram.go
xorIteratortsdb/chunkenc/xor.go
floatHistogramIteratortsdb/chunkenc/float_histogram.go
chainSampleIteratorstorage/merge.go
mockSeriesIteratorstorage/buffer_test.go
fakeSeriesIteratorstorage/buffer_test.go

Calls

no outgoing calls

Tested by 2

BenchmarkXor2ReadFunction · 0.76
BenchmarkXorReadFunction · 0.76