protected static final class HashPartition.BuildSideBuffer extends AbstractPagedOutputView
headerLength, segmentSize
Modifier and Type | Method and Description |
---|---|
protected MemorySegment |
nextSegment(MemorySegment current,
int bytesUsed)
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, writeUTF
protected MemorySegment nextSegment(MemorySegment current, int bytesUsed) throws IOException
AbstractPagedOutputView
EOFException
.nextSegment
in class AbstractPagedOutputView
current
- The current memory segmentbytesUsed
- The position in the segment, one after the last valid byte.IOException
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.