public class VectorLoader extends Object
| Constructor and Description |
|---|
VectorLoader(VectorSchemaRoot root)
Construct with a root to load and will create children in root based on schema.
|
VectorLoader(VectorSchemaRoot root,
CompressionCodec.Factory factory)
Construct with a root to load and will create children in root based on schema.
|
| Modifier and Type | Method and Description |
|---|---|
void |
load(ArrowRecordBatch recordBatch)
Loads the record batch in the vectors.
|
public VectorLoader(VectorSchemaRoot root)
root - the root to add vectors to based on schemapublic VectorLoader(VectorSchemaRoot root, CompressionCodec.Factory factory)
root - the root to add vectors to based on schema.factory - the factory to create codec.public void load(ArrowRecordBatch recordBatch)
recordBatch - the batch to loadCopyright © 2024 The Apache Software Foundation. All rights reserved.