public class ArrowFormatCWriter extends Object implements AutoCloseable
Constructor and Description |
---|
ArrowFormatCWriter(RowType rowType,
int writeBatchSize,
boolean allowUpperCase) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
empty() |
ArrowCStruct |
flush() |
org.apache.arrow.memory.RootAllocator |
getAllocator() |
org.apache.arrow.vector.VectorSchemaRoot |
getVectorSchemaRoot() |
void |
release() |
boolean |
write(InternalRow currentRow) |
public ArrowFormatCWriter(RowType rowType, int writeBatchSize, boolean allowUpperCase)
public boolean write(InternalRow currentRow)
public ArrowCStruct flush()
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.RootAllocator getAllocator()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.