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)
TableBuilderadd in interface TableBuilderrow - rowpublic java.util.List<ArrowColumn> getColumns()
TableBuildergetColumns in interface TableBuilderpublic Table build()
TableBuilderbuild in interface TableBuilderpublic long currentSize()
TableBuildercurrentSize in interface TableBuilder