public static class BatchGroup.InputBatch extends BatchGroup
BatchGroup.InputBatch, BatchGroup.SpilledRunallocator, currentContainer, pointer, schema| Constructor and Description |
|---|
BatchGroup.InputBatch(VectorContainer container,
SelectionVector2 sv2,
BufferAllocator allocator,
long dataSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getDataSize() |
int |
getNextIndex() |
int |
getRecordCount()
Get the number of records.
|
SelectionVector2 |
getSv2() |
closeAll, getContainer, getSchema, getSelectionVector2, getSelectionVector4, getUnfilteredRecordCount, getValueAccessorById, getValueVectorId, iterator, setSchemapublic BatchGroup.InputBatch(VectorContainer container, SelectionVector2 sv2, BufferAllocator allocator, long dataSize)
public SelectionVector2 getSv2()
public long getDataSize()
public int getRecordCount()
VectorAccessiblegetRecordCount in interface VectorAccessiblegetRecordCount in class BatchGrouppublic int getNextIndex()
getNextIndex in class BatchGrouppublic void close()
throws IOException
close in interface AutoCloseableclose in class BatchGroupIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.