Interface SourceSwitchingIterator.DataSource
-
- Enclosing class:
- SourceSwitchingIterator
public static interface SourceSwitchingIterator.DataSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close(boolean sawErrors)
SourceSwitchingIterator.DataSource
getDeepCopyDataSource(IteratorEnvironment env)
SourceSwitchingIterator.DataSource
getNewDataSource()
boolean
isCurrent()
SortedKeyValueIterator<Key,Value>
iterator()
void
setInterruptFlag(AtomicBoolean flag)
-
-
-
Method Detail
-
isCurrent
boolean isCurrent()
-
getNewDataSource
SourceSwitchingIterator.DataSource getNewDataSource()
-
getDeepCopyDataSource
SourceSwitchingIterator.DataSource getDeepCopyDataSource(IteratorEnvironment env)
-
iterator
SortedKeyValueIterator<Key,Value> iterator() throws IOException
- Throws:
IOException
-
setInterruptFlag
void setInterruptFlag(AtomicBoolean flag)
-
close
default void close(boolean sawErrors)
-
-