GArrowIPCFileWriter

GArrowIPCFileWriter — File writer class

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GArrowIPCStreamWriter
        ╰── GArrowIPCFileWriter

Description

GArrowIPCFileWriter is a class for sending data by file based IPC.

Functions

garrow_ipc_file_writer_open ()

GArrowIPCFileWriter *
garrow_ipc_file_writer_open (GArrowIOOutputStream *sink,
                             GArrowSchema *schema,
                             GError **error);

Parameters

sink

The output of the writer.

 

schema

The schema of the writer.

 

error

Return locatipcn for a GError or NULL.

[nullable]

Returns

A newly opened GArrowIPCFileWriter or NULL on error.

[nullable][transfer full]


garrow_ipc_file_writer_write_record_batch ()

gboolean
garrow_ipc_file_writer_write_record_batch
                               (GArrowIPCFileWriter *file_writer,
                                GArrowRecordBatch *record_batch,
                                GError **error);

Parameters

file_writer

A GArrowIPCFileWriter.

 

record_batch

The record batch to be written.

 

error

Return locatipcn for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.


garrow_ipc_file_writer_close ()

gboolean
garrow_ipc_file_writer_close (GArrowIPCFileWriter *file_writer,
                              GError **error);

Parameters

file_writer

A GArrowIPCFileWriter.

 

error

Return locatipcn for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Types and Values

struct GArrowIPCFileWriter

struct GArrowIPCFileWriter;

It wraps arrow::ipc::FileWriter.


struct GArrowIPCFileWriterClass

struct GArrowIPCFileWriterClass {
  GObjectClass parent_class;
};