public class RocksIteratorWrapper
implements org.rocksdb.RocksIteratorInterface, Closeable
This is a wrapper around RocksIterator to check the iterator status for all the methods
mentioned to require this check in the wiki documentation: seek, next, seekToFirst, seekToLast,
seekForPrev, and prev. This is required because the iterator may pass the blocks or files it had
difficulties in reading (because of IO error, data corruption or other issues) and continue with
the next available keys. The status flag may not be OK, even if the iterator is valid. More
information can be found here.