public class ColumnarBatch
extends java.lang.Object
implements java.lang.AutoCloseable
ColumnarBatch. This class wraps a columnar batch in the
 result set of an Iceberg table query.| Modifier and Type | Method and Description | 
|---|---|
| void | close()Called to close all the columns in this batch. | 
| ColumnVector | column(int ordinal)Returns the column at `ordinal`. | 
| org.apache.arrow.vector.VectorSchemaRoot | createVectorSchemaRootFromVectors()Create a new instance of  VectorSchemaRootfrom the arrow vectors stored in this arrow
 batch. | 
| int | numCols()Returns the number of columns that make up this batch. | 
| int | numRows()Returns the number of rows for read, including filtered rows. | 
public org.apache.arrow.vector.VectorSchemaRoot createVectorSchemaRootFromVectors()
VectorSchemaRoot from the arrow vectors stored in this arrow
 batch. The arrow vectors are owned by the reader.public void close()
close in interface java.lang.AutoCloseablepublic int numCols()
public int numRows()
public ColumnVector column(int ordinal)