Iterator is an iterator for a Table.
| 151 | |
| 152 | // Iterator is an iterator for a Table. |
| 153 | type Iterator struct { |
| 154 | t *Table |
| 155 | bpos int |
| 156 | bi blockIterator |
| 157 | err error |
| 158 | |
| 159 | // Internally, Iterator is bidirectional. However, we only expose the |
| 160 | // unidirectional functionality for now. |
| 161 | reversed bool |
| 162 | } |
| 163 | |
| 164 | // NewIterator returns a new iterator of the Table |
| 165 | func (t *Table) NewIterator(reversed bool) *Iterator { |
nothing calls this directly
no outgoing calls
no test coverage detected