RecordBatchFileWriter class final
In-memory Arrow IPC file writer created by newFile.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → Schema
-
The schema every written batch must match.
no setter
Methods
-
close(
) → Uint8List -
Appends the footer and returns the file bytes. Further writes throw
StateError; repeated calls return the same bytes. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Object data) → void - Writes a RecordBatch or a Table.
-
writeBatch(
RecordBatch batch) → void -
Writes
batch, preceded by any new or delta dictionaries. Files cannot replace a dictionary; doing so throwsUnsupportedError. -
writeTable(
Table table, {int? maxChunkSize}) → void -
Writes the batches of
table, optionally split tomaxChunkSizerows.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited