iterator
sugar for .iterator with a null comparator
Returns a BytesRefIterator with point in time semantics. The iterator provides access to all so far appended BytesRef instances.
If a non null Comparator is provided the iterator will iterate the byte values in the order specified by the comparator. Otherwise the order is the same as the values were appended.
This is a non-destructive operation.
Returns an IndexedBytesRefIterator with point in time semantics. The iterator provides access to all so far appended BytesRef instances. If a non-null sortState is specified then the iterator will iterate the byte values in the order of the sortState; otherwise, the order is the same as the values were appended.