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