public class LinkingIterator extends Object implements Iterator<TabletMetadata>
The purpose of this is to hide inconsistencies caused by splits and detect anomalies in the metadata table.
If a tablet that was returned by this iterator is subsequently deleted from the metadata table, then this iterator will throw a TabletDeletedException. This could occur when a table is merged.
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
TabletMetadata |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public boolean hasNext()
hasNext
in interface Iterator<TabletMetadata>
public TabletMetadata next()
next
in interface Iterator<TabletMetadata>
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.