public class SimpleCollectingOutputView extends AbstractPagedOutputView
currentSegment, segmentSize| 构造器和说明 |
|---|
SimpleCollectingOutputView(List<MemorySegment> fullSegmentTarget,
MemorySegmentSource memSource,
int segmentSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getCurrentOffset() |
protected MemorySegment |
nextSegment(MemorySegment current,
int positionInCurrent)
This method must return a segment.
|
void |
reset() |
advance, clear, getCurrentPositionInSegment, getCurrentSegment, getSegmentSize, seekOutput, skipBytesToWrite, write, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic SimpleCollectingOutputView(List<MemorySegment> fullSegmentTarget, MemorySegmentSource memSource, int segmentSize)
public void reset()
protected MemorySegment nextSegment(MemorySegment current, int positionInCurrent) throws EOFException
AbstractPagedOutputViewEOFException.nextSegment 在类中 AbstractPagedOutputViewcurrent - The current memory segmentpositionInCurrent - The position in the segment, one after the last valid byte.EOFExceptionpublic long getCurrentOffset()
Copyright © 2023 The Apache Software Foundation. All rights reserved.