QueryResult implements the SeekableIterator interface.