public class ArrowTableBuilder extends java.lang.Object implements TableBuilder
Constructor and Description |
---|
ArrowTableBuilder(Schema schema,
BufferAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
void |
add(Row row)
Add a row to build the tbale
|
Table |
build()
Build the table at the end
|
long |
currentSize()
Get the current size of the table
|
java.util.List<ArrowColumn> |
getColumns()
Get the current columns
|
public ArrowTableBuilder(Schema schema, BufferAllocator allocator)
public void add(Row row)
TableBuilder
add
in interface TableBuilder
row
- rowpublic java.util.List<ArrowColumn> getColumns()
TableBuilder
getColumns
in interface TableBuilder
public Table build()
TableBuilder
build
in interface TableBuilder
public long currentSize()
TableBuilder
currentSize
in interface TableBuilder