public class InMemoryBuffer extends Object implements RowBuffer
InternalRows in memory.RowBuffer.RowBufferIterator| Modifier and Type | Method and Description |
|---|---|
void |
complete() |
boolean |
flushMemory() |
long |
memoryOccupancy() |
org.apache.paimon.disk.InMemoryBuffer.InMemoryBufferIterator |
newIterator() |
boolean |
put(InternalRow row) |
void |
reset() |
int |
size() |
public boolean flushMemory()
throws IOException
flushMemory in interface RowBufferIOExceptionpublic boolean put(InternalRow row) throws IOException
put in interface RowBufferIOExceptionpublic long memoryOccupancy()
memoryOccupancy in interface RowBufferpublic org.apache.paimon.disk.InMemoryBuffer.InMemoryBufferIterator newIterator()
newIterator in interface RowBufferCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.