(time model.Time)
| 51 | } |
| 52 | |
| 53 | func (p *prometheusChunkIterator) FindAtOrAfter(time model.Time) chunkenc.ValueType { |
| 54 | // FindAtOrAfter must return OLDEST value at given time. That means we need to start with a fresh iterator, |
| 55 | // otherwise we cannot guarantee OLDEST. |
| 56 | p.it = p.c.Iterator(p.it) |
| 57 | return p.it.Seek(int64(time)) |
| 58 | } |
| 59 | |
| 60 | func (p *prometheusChunkIterator) Batch(size int, valType chunkenc.ValueType) Batch { |
| 61 | var batch Batch |