public class VectorContainerAccessor extends Object implements BatchAccessor
RecordBatch. This implementation hosts
a container only.| Modifier and Type | Field and Description |
|---|---|
protected VectorContainer |
container |
| Constructor and Description |
|---|
VectorContainerAccessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch(VectorContainer container)
Define an output batch.
|
int |
batchCount() |
VectorContainer |
container() |
VectorWrapper<?> |
getValueAccessorById(Class<?> clazz,
int... ids) |
TypedFieldId |
getValueVectorId(SchemaPath path) |
Iterator<VectorWrapper<?>> |
iterator() |
void |
release() |
int |
rowCount() |
BatchSchema |
schema() |
int |
schemaVersion() |
SelectionVector2 |
selectionVector2() |
SelectionVector4 |
selectionVector4() |
void |
setSchema(VectorContainer container)
Define a schema that does not necessarily contain any data.
|
WritableBatch |
writableBatch() |
protected VectorContainer container
public void setSchema(VectorContainer container)
public void addBatch(VectorContainer container)
container - the container that holds vectors to be sent
downstreampublic int batchCount()
public BatchSchema schema()
schema in interface BatchAccessorpublic int schemaVersion()
schemaVersion in interface BatchAccessorpublic int rowCount()
rowCount in interface BatchAccessorpublic VectorContainer container()
container in interface BatchAccessorpublic TypedFieldId getValueVectorId(SchemaPath path)
getValueVectorId in interface BatchAccessorpublic VectorWrapper<?> getValueAccessorById(Class<?> clazz, int... ids)
getValueAccessorById in interface BatchAccessorpublic WritableBatch writableBatch()
writableBatch in interface BatchAccessorpublic SelectionVector2 selectionVector2()
selectionVector2 in interface BatchAccessorpublic SelectionVector4 selectionVector4()
selectionVector4 in interface BatchAccessorpublic Iterator<VectorWrapper<?>> iterator()
iterator in interface BatchAccessorpublic void release()
release in interface BatchAccessorCopyright © 2021 The Apache Software Foundation. All rights reserved.