public class SpillingBuffer extends AbstractPagedOutputView
headerLength, segmentSize| 构造器和说明 |
|---|
SpillingBuffer(IOManager ioManager,
org.apache.flink.core.memory.MemorySegmentSource memSource,
int segmentSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<org.apache.flink.core.memory.MemorySegment> |
close() |
org.apache.flink.core.memory.DataInputView |
flip() |
protected org.apache.flink.core.memory.MemorySegment |
nextSegment(org.apache.flink.core.memory.MemorySegment current,
int positionInCurrent)
This method must return a segment.
|
advance, clear, getCurrentPositionInSegment, getCurrentSegment, getHeaderLength, getSegmentSize, seekOutput, skipBytesToWrite, write, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic SpillingBuffer(IOManager ioManager, org.apache.flink.core.memory.MemorySegmentSource memSource, int segmentSize)
protected org.apache.flink.core.memory.MemorySegment nextSegment(org.apache.flink.core.memory.MemorySegment current,
int positionInCurrent)
throws IOException
AbstractPagedOutputViewEOFException.nextSegment 在类中 AbstractPagedOutputViewcurrent - The current memory segmentpositionInCurrent - The position in the segment, one after the last valid byte.IOExceptionpublic org.apache.flink.core.memory.DataInputView flip()
throws IOException
IOExceptionpublic List<org.apache.flink.core.memory.MemorySegment> close() throws IOException
IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.