public interface RowBuffer
InternalRow
.Modifier and Type | Interface and Description |
---|---|
static interface |
RowBuffer.RowBufferIterator
Iterator to fetch record from buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
complete() |
boolean |
flushMemory() |
static RowBuffer |
getBuffer(IOManager ioManager,
MemorySegmentPool memoryPool,
AbstractRowDataSerializer<InternalRow> serializer,
boolean spillable,
MemorySize maxDiskSize,
CompressOptions compression) |
long |
memoryOccupancy() |
RowBuffer.RowBufferIterator |
newIterator() |
boolean |
put(InternalRow row) |
void |
reset() |
int |
size() |
boolean put(InternalRow row) throws IOException
IOException
int size()
long memoryOccupancy()
void complete()
void reset()
boolean flushMemory() throws IOException
IOException
RowBuffer.RowBufferIterator newIterator()
static RowBuffer getBuffer(IOManager ioManager, MemorySegmentPool memoryPool, AbstractRowDataSerializer<InternalRow> serializer, boolean spillable, MemorySize maxDiskSize, CompressOptions compression)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.