public class ArrowFormatWriter extends Object implements AutoCloseable
InternalRow to VectorSchemaRoot.| Constructor and Description |
|---|
ArrowFormatWriter(RowType rowType,
int writeBatchSize,
boolean caseSensitive) |
ArrowFormatWriter(RowType rowType,
int writeBatchSize,
boolean caseSensitive,
org.apache.arrow.memory.BufferAllocator allocator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
empty() |
void |
flush() |
org.apache.arrow.memory.BufferAllocator |
getAllocator() |
org.apache.arrow.vector.VectorSchemaRoot |
getVectorSchemaRoot() |
void |
reset() |
boolean |
write(InternalRow currentRow) |
public ArrowFormatWriter(RowType rowType, int writeBatchSize, boolean caseSensitive)
public ArrowFormatWriter(RowType rowType, int writeBatchSize, boolean caseSensitive, org.apache.arrow.memory.BufferAllocator allocator)
public void flush()
public boolean write(InternalRow currentRow)
public boolean empty()
public void reset()
public void close()
close in interface AutoCloseablepublic org.apache.arrow.vector.VectorSchemaRoot getVectorSchemaRoot()
public org.apache.arrow.memory.BufferAllocator getAllocator()
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.