public class VectorLoader extends Object
| Constructor and Description |
|---|
VectorLoader(Schema schema,
FieldVector root)
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
will not close the record batch
|
public VectorLoader(Schema schema, FieldVector root)
schema - the expected schemaroot - the root to add vectors to based on schemapublic void load(ArrowRecordBatch recordBatch)
recordBatch - Copyright © 2016 The Apache Software Foundation. All rights reserved.