newNonOverlappingIterator returns a single iterator over an slice of sorted, non-overlapping iterators.
(chunks []GenericChunk)
| 15 | // newNonOverlappingIterator returns a single iterator over an slice of sorted, |
| 16 | // non-overlapping iterators. |
| 17 | func newNonOverlappingIterator(chunks []GenericChunk) *nonOverlappingIterator { |
| 18 | it := &nonOverlappingIterator{ |
| 19 | chunks: chunks, |
| 20 | } |
| 21 | it.iter.reset(it.chunks[0]) |
| 22 | return it |
| 23 | } |
| 24 | |
| 25 | func (it *nonOverlappingIterator) Seek(t int64, size int) chunkenc.ValueType { |
| 26 | for { |