| Top |
| gpointer | record-batch-writer | Write / Construct Only |
| gpointer | feather-table-writer | Write / Construct Only |
| struct | GArrowRecordBatchWriter |
| struct | GArrowRecordBatchStreamWriter |
| struct | GArrowRecordBatchFileWriter |
| struct | GArrowFeatherFileWriter |
GObject
├── GArrowFeatherFileWriter
╰── GArrowRecordBatchWriter
╰── GArrowRecordBatchStreamWriter
╰── GArrowRecordBatchFileWriter
GArrowRecordBatchWriter is a base class for writing record batches in stream format into output.
GArrowRecordBatchStreamWriter is a base class for writing record batches in stream format into output synchronously.
GArrowRecordBatchFileWriter is a class for writing record batches in file format into output.
GArrowFeatherFileWriter is a class for writing arrays in Feather file format into output.
gboolean garrow_record_batch_writer_write_record_batch (GArrowRecordBatchWriter *writer,GArrowRecordBatch *record_batch,GError **error);
writer |
||
record_batch |
The record batch to be written. |
|
error |
Return locatipcn for a GError or |
[nullable] |
Since: 0.4.0
gboolean garrow_record_batch_writer_write_table (GArrowRecordBatchWriter *writer,GArrowTable *table,GError **error);
writer |
||
table |
The table to be written. |
|
error |
Return locatipcn for a GError or |
[nullable] |
Since: 0.8.0
gboolean garrow_record_batch_writer_close (GArrowRecordBatchWriter *writer,GError **error);
Since: 0.4.0
GArrowRecordBatchStreamWriter * garrow_record_batch_stream_writer_new (GArrowOutputStream *sink,GArrowSchema *schema,GError **error);
sink |
The output of the writer. |
|
schema |
The schema of the writer. |
|
error |
Return locatipcn for a GError or |
[nullable] |
Since: 0.4.0
GArrowRecordBatchFileWriter * garrow_record_batch_file_writer_new (GArrowOutputStream *sink,GArrowSchema *schema,GError **error);
sink |
The output of the writer. |
|
schema |
The schema of the writer. |
|
error |
Return locatipcn for a GError or |
[nullable] |
Since: 0.4.0
GArrowFeatherFileWriter * garrow_feather_file_writer_new (GArrowOutputStream *sink,GError **error);
Since: 0.4.0
void garrow_feather_file_writer_set_description (GArrowFeatherFileWriter *writer,const gchar *description);
Since: 0.4.0
void garrow_feather_file_writer_set_n_rows (GArrowFeatherFileWriter *writer,gint64 n_rows);
Since: 0.4.0
gboolean garrow_feather_file_writer_append (GArrowFeatherFileWriter *writer,const gchar *name,GArrowArray *array,GError **error);
writer |
||
name |
The name of the array to be appended. |
|
array |
The array to be appended. |
|
error |
Return locatipcn for a GError or |
[nullable] |
Since: 0.4.0
gboolean garrow_feather_file_writer_close (GArrowFeatherFileWriter *writer,GError **error);
Since: 0.4.0
struct GArrowRecordBatchWriter;
It wraps arrow::ipc::RecordBatchWriter.
struct GArrowRecordBatchStreamWriter;
It wraps arrow::ipc::RecordBatchStreamWriter.
struct GArrowRecordBatchFileWriter;
It wraps arrow::ipc::RecordBatchFileWriter.