public interface BytesRefIterator
|Modifier and Type||Field and Description|
Singleton BytesRefIterator that iterates over 0 BytesRefs.
|Modifier and Type||Method and Description|
Increments the iteration to the next
static final BytesRefIterator EMPTY
BytesRef next() throws IOException
BytesRefin the iterator. Returns the resulting
nullif the end of the iterator is reached. The returned BytesRef may be re-used across calls to next. After this method returns null, do not call it again: the results are undefined.
BytesRefin the iterator or
nullif the end of the iterator is reached.
IOException- If there is a low-level I/O error.
BytesRefComparator used to sort terms provided by the iterator. This may return null if there are no items or the iterator is not sorted. Callers may invoke this method many times, so it's best to cache a single instance & reuse it.
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.