DeletedIterator wraps chunk Iterator and makes sure any deleted metrics are not returned.
| 1269 | |
| 1270 | // DeletedIterator wraps chunk Iterator and makes sure any deleted metrics are not returned. |
| 1271 | type DeletedIterator struct { |
| 1272 | // Iter is an Iterator to be wrapped. |
| 1273 | Iter chunkenc.Iterator |
| 1274 | // Intervals are the deletion intervals. |
| 1275 | Intervals tombstones.Intervals |
| 1276 | } |
| 1277 | |
| 1278 | func (it *DeletedIterator) At() (int64, float64) { |
| 1279 | return it.Iter.At() |
nothing calls this directly
no outgoing calls
no test coverage detected