Output stream classes

Output stream classes

Functions

Properties

gpointer output-stream Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ├── GArrowOutputStream
       ├── GArrowBufferOutputStream
       ╰── GArrowFileOutputStream
    ╰── GArrowOutputStream
        ├── GArrowBufferOutputStream
        ╰── GArrowFileOutputStream

Implemented Interfaces

GArrowOutputStream implements

GArrowFileOutputStream implements

GArrowBufferOutputStream implements

Includes

#include <arrow-glib/arrow-glib.h>

Description

GArrowOutputStream is an interface for stream output. Stream output is file based and writeable

GArrowFileOutputStream is a class for file output stream.

GArrowBufferOutputStream is a class for buffer output stream.

Functions

garrow_file_output_stream_open ()

GArrowFileOutputStream *
garrow_file_output_stream_open (const gchar *path,
                                gboolean append,
                                GError **error);

Parameters

path

The path of the file output stream.

 

append

Whether the path is opened as append mode or recreate mode.

 

error

Return location for a GError or NULL.

[nullable]

Returns

A newly opened GArrowFileOutputStream or NULL on error.

[nullable][transfer full]


garrow_buffer_output_stream_new ()

GArrowBufferOutputStream *
garrow_buffer_output_stream_new (GArrowResizableBuffer *buffer);

Parameters

buffer

The resizable buffer to be output.

 

Returns

A newly created GArrowBufferOutputStream.

[transfer full]

Types and Values

struct GArrowOutputStream

struct GArrowOutputStream;

It wraps arrow::io::OutputStream.


struct GArrowFileOutputStream

struct GArrowFileOutputStream;

It wraps arrow::io::FileOutputStream.


struct GArrowBufferOutputStream

struct GArrowBufferOutputStream;

It wraps arrow::io::BufferOutputStream.

Property Details

The “output-stream” property

  “output-stream”            gpointer

The raw std::shared<arrow::io::OutputStream> *.

Flags: Write / Construct Only