public class SerializedUpdateBuffer extends AbstractPagedOutputView
headerLength, segmentSize| Constructor and Description |
|---|
SerializedUpdateBuffer() |
SerializedUpdateBuffer(List<MemorySegment> memSegments,
int segmentSize,
IOManager ioManager) |
| Modifier and Type | Method and Description |
|---|---|
List<MemorySegment> |
close() |
void |
flush() |
protected MemorySegment |
nextSegment(MemorySegment current,
int positionInCurrent)
This method must return a segment.
|
org.apache.flink.runtime.iterative.io.SerializedUpdateBuffer.ReadEnd |
switchBuffers() |
advance, clear, getCurrentPositionInSegment, getCurrentSegment, getSegmentSize, seekOutput, skipBytesToWrite, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic SerializedUpdateBuffer()
public SerializedUpdateBuffer(List<MemorySegment> memSegments, int segmentSize, IOManager ioManager)
protected MemorySegment nextSegment(MemorySegment current, int positionInCurrent) throws IOException
AbstractPagedOutputViewEOFException.nextSegment in class AbstractPagedOutputViewcurrent - The current memory segmentpositionInCurrent - The position in the segment, one after the last valid byte.IOExceptionpublic void flush()
throws IOException
IOExceptionpublic org.apache.flink.runtime.iterative.io.SerializedUpdateBuffer.ReadEnd switchBuffers()
throws IOException
IOExceptionpublic List<MemorySegment> close()
Copyright © 2015 The Apache Software Foundation. All rights reserved.