prometheus/storage
Björn Rabenstein d677aa4b29
storage: Consolidate iterator method names (Values -> At) (#9888)
`BufferedSeriesIterator` and `MemoizedSeriesIterator` use a method
called `Values` for exactly the purpose for which all other iterators
of the same kind use a method called `At`. That alone is confusing,
but on top of that, the `Values` method only returns a single sample,
not multiple values. I assume the naming has historical reasons. This
commit makes it more consistent. It is now easier to read, and now
`BufferedSeriesIterator` and `MemoizedSeriesIterator` implement
`chunkenc.Iterator` like many other iterators, too.

Signed-off-by: beorn7 <beorn@grafana.com>
2021-11-29 11:16:40 +01:00
..
remote storage: Fix and improve the Seek method of various iterators (#9878) 2021-11-29 15:17:56 +05:30
buffer_test.go storage: Consolidate iterator method names (Values -> At) (#9888) 2021-11-29 11:16:40 +01:00
buffer.go storage: Consolidate iterator method names (Values -> At) (#9888) 2021-11-29 11:16:40 +01:00
fanout_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
fanout.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
generic.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
interface.go Add basic initial developer docs for TSDB (#9451) 2021-11-17 15:51:27 +05:30
lazy.go tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069) 2020-07-31 16:03:02 +01:00
memoized_iterator_test.go storage: Consolidate iterator method names (Values -> At) (#9888) 2021-11-29 11:16:40 +01:00
memoized_iterator.go storage: Consolidate iterator method names (Values -> At) (#9888) 2021-11-29 11:16:40 +01:00
merge_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
merge.go storage: Fix and improve the Seek method of various iterators (#9878) 2021-11-29 15:17:56 +05:30
noop.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
secondary.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
series_test.go storage: Fix and improve the Seek method of various iterators (#9878) 2021-11-29 15:17:56 +05:30
series.go storage: Fix and improve the Seek method of various iterators (#9878) 2021-11-29 15:17:56 +05:30