public class SingleSegmentLogicalRecordsIterator extends AbstractWalRecordsIterator
MarshalledRecord instances instead.AbstractWalRecordsIterator.AbstractFileDescriptor, AbstractWalRecordsIterator.AbstractReadFileHandlecurRec, curWalSegmIdx, ioFactory, log, sharedCtx| Modifier and Type | Method and Description |
|---|---|
protected void |
advance()
Switches records iterator to the next record.
|
protected AbstractWalRecordsIterator.AbstractReadFileHandle |
advanceSegment(AbstractWalRecordsIterator.AbstractReadFileHandle curWalSegment)
Switches records iterator to the next WAL segment
as result of this method, new reference to segment should be returned.
|
protected AbstractWalRecordsIterator.AbstractReadFileHandle |
createReadFileHandle(FileIO fileIO,
long idx,
RecordSerializer ser,
FileInput in) |
closeCurrentWalSegment, handleRecordException, initReadHandle, onClose, onHasNext, onNext, postProcessRecordcheckClosed, close, hasNextX, isClosed, nextX, onRemove, removeXhasNext, iterator, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, isClosedhasNextX, nextX, removeXforEach, iterator, spliteratorforEachRemaining, hasNext, next, removeprotected AbstractWalRecordsIterator.AbstractReadFileHandle advanceSegment(@Nullable AbstractWalRecordsIterator.AbstractReadFileHandle curWalSegment) throws IgniteCheckedException
advanceSegment in class AbstractWalRecordsIteratorcurWalSegment - current open WAL segment or null if there is no open segment yetIgniteCheckedException - if reading failedprotected void advance()
throws IgniteCheckedException
AbstractWalRecordsIterator.curRec will be updated.AbstractWalRecordsIterator.currWalSegment will be updated.advance() runs a step ahead GridIteratorAdapter.next()advance in class AbstractWalRecordsIteratorIgniteCheckedException - If failed.protected AbstractWalRecordsIterator.AbstractReadFileHandle createReadFileHandle(FileIO fileIO, long idx, RecordSerializer ser, FileInput in)
createReadFileHandle in class AbstractWalRecordsIterator
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018