chunkIterator implement batchIterator over a chunk. Its is designed to be reused by calling reset() with a fresh chunk.
| 10 | // chunkIterator implement batchIterator over a chunk. Its is designed to be |
| 11 | // reused by calling reset() with a fresh chunk. |
| 12 | type chunkIterator struct { |
| 13 | chunk GenericChunk |
| 14 | it promchunk.Iterator |
| 15 | batch promchunk.Batch |
| 16 | } |
| 17 | |
| 18 | func (i *chunkIterator) reset(chunk GenericChunk) { |
| 19 | i.chunk = chunk |
nothing calls this directly
no outgoing calls
no test coverage detected