K
- the key type of the snapshot regionV
- the value type the snapshot regionpublic interface SnapshotIterator<K,V>
close()
.SnapshotReader
boolean hasNext() throws IOException, ClassNotFoundException
IOException
- error reading the snapshotClassNotFoundException
- error deserializing the snapshot elementMap.Entry<K,V> next() throws IOException, ClassNotFoundException
NoSuchElementException
- there are no further elementsIOException
- error reading the snapshotClassNotFoundException
- error deserializing the snapshot elementvoid close() throws IOException
IOException
- error closing the iteratorCopyright © 1997-2017 Pivotal Software, Inc. All rights reserved.