reset the buffer and reuse existing space.
()
| 1233 | |
| 1234 | // reset the buffer and reuse existing space. |
| 1235 | func (i *bridgeIterator) reset() { |
| 1236 | i.nextSpansIdx = 0 |
| 1237 | i.nextSpans = i.nextSpans[:0] |
| 1238 | } |
| 1239 | |
| 1240 | // pop next span from beginning of the buffer. |
| 1241 | func (i *bridgeIterator) pop() (*parquetquery.IteratorResult, bool) { |