ArrowTable constructor
- ArrowSchema schema,
- List<
RecordBatch> batches
Implementation
ArrowTable(this.schema, List<RecordBatch> batches)
: batches = List.unmodifiable(batches) {
for (var i = 0; i < batches.length; i++) {
if (batches[i].schema != schema) {
throw ArgumentError('Batch $i schema does not match table schema');
}
}
}