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(@Nullable 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(SegmentIO fileIO,
RecordSerializer ser,
FileInput in) |
advanceRecord, closeCurrentWalSegment, handleRecordException, initReadHandle, initReadHandle, lastRead, onClose, onHasNext, onNext, postProcessRecord, validateTailReachedExceptioncheckClosed, 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 @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(SegmentIO fileIO, RecordSerializer ser, FileInput in)
createReadFileHandle in class AbstractWalRecordsIterator
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023