Local file system classes

Local file system classes

Functions

Properties

gboolean use-mmap Read / Write

Types and Values

Object Hierarchy

    GObject
    ├── GArrowFileSystem
       ╰── GArrowLocalFileSystem
    ╰── GArrowLocalFileSystemOptions

Includes

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

Description

GArrowLocalFileSystemOptions is a class for specifyiing options of an instance of GArrowLocalFileSystem.

GArrowLocalFileSystem is a class for an implementation of a file system that accesses files on the local machine.

Functions

garrow_local_file_system_options_new ()

GArrowLocalFileSystemOptions *
garrow_local_file_system_options_new (void);

Returns

A newly created GArrowLocalFileSystemOptions.

[transfer full]

Since: 0.17.0


garrow_local_file_system_new ()

GArrowLocalFileSystem *
garrow_local_file_system_new (GArrowLocalFileSystemOptions *options);

Parameters

options

A GArrowLocalFileSystemOptions.

[nullable]

Returns

A newly created GArrowLocalFileSystem.

[transfer full]

Since: 0.17.0

Types and Values

GARROW_TYPE_LOCAL_FILE_SYSTEM_OPTIONS

#define GARROW_TYPE_LOCAL_FILE_SYSTEM_OPTIONS (garrow_local_file_system_options_get_type())

struct GArrowLocalFileSystemOptionsClass

struct GArrowLocalFileSystemOptionsClass {
  GObjectClass parent_class;
};

GARROW_TYPE_LOCAL_FILE_SYSTEM

#define GARROW_TYPE_LOCAL_FILE_SYSTEM (garrow_local_file_system_get_type())

struct GArrowLocalFileSystemClass

struct GArrowLocalFileSystemClass {
  GArrowFileSystemClass parent_class;
};

GArrowLocalFileSystem

typedef struct _GArrowLocalFileSystem GArrowLocalFileSystem;

GArrowLocalFileSystemOptions

typedef struct _GArrowLocalFileSystemOptions GArrowLocalFileSystemOptions;

Property Details

The “use-mmap” property

  “use-mmap”                 gboolean

Whether open_input_stream and open_input_file return a mmap'ed file, or a regular one.

Owner: GArrowLocalFileSystemOptions

Flags: Read / Write

Default value: FALSE

Since: 0.17.0