GArrowMemoryMappedFile

GArrowMemoryMappedFile — Memory mapped file class

Functions

Properties

gpointer memory-mapped-file Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── GArrowMemoryMappedFile

Implemented Interfaces

GArrowMemoryMappedFile implements

Description

GArrowMemoryMappedFile is a class for memory mapped file. It's readable and writeable. It supports zero copy.

Functions

garrow_memory_mapped_file_open ()

GArrowMemoryMappedFile *
garrow_memory_mapped_file_open (const gchar *path,
                                GArrowFileMode mode,
                                GError **error);

Parameters

path

The path of the memory mapped file.

 

mode

The mode of the memory mapped file.

 

error

Return location for a GError or NULL.

[nullable]

Returns

A newly opened GArrowMemoryMappedFile or NULL on error.

[nullable][transfer full]

Types and Values

struct GArrowMemoryMappedFile

struct GArrowMemoryMappedFile;

It wraps arrow::io::MemoryMappedFile.

Property Details

The “memory-mapped-file” property

  “memory-mapped-file”       gpointer

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

Flags: Write / Construct Only