public class CreateCheckpointIterator extends Object implements CloseableIterator<FilteredColumnarBatch>
Currently, the following rules are implemented:
Following rules are not implemented. They will be implemented as we add support for more table features over time.
| Constructor and Description |
|---|
CreateCheckpointIterator(Engine engine,
LogSegment logSegment,
long minFileRetentionTimestampMillis) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getNumberOfAddActions()
Number of add files in the final checkpoint.
|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
FilteredColumnarBatch |
next()
Returns the next element in the iteration.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcombine, filter, mappublic CreateCheckpointIterator(Engine engine, LogSegment logSegment, long minFileRetentionTimestampMillis)
public boolean hasNext()
CloseableIteratorhasNext in interface CloseableIterator<FilteredColumnarBatch>hasNext in interface java.util.Iterator<FilteredColumnarBatch>public FilteredColumnarBatch next()
CloseableIteratornext in interface CloseableIterator<FilteredColumnarBatch>next in interface java.util.Iterator<FilteredColumnarBatch>public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface AutoCloseablejava.io.IOExceptionpublic long getNumberOfAddActions()