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