ExArrow.FileSystem.Local (ex_arrow v0.9.0)

View Source

Local OS filesystem implementation of ExArrow.FileSystem.

Paths are expanded with Path.expand/1 before use. File contents are not read here; Dataset / Parquet NIFs open paths returned by discovery.

Example

fs = ExArrow.FileSystem.Local.new()
{:ok, entries} = ExArrow.FileSystem.list(fs, "/data/events")
{:ok, paths} = ExArrow.FileSystem.glob(fs, "/data/**/*.parquet")
ExArrow.FileSystem.exists?(fs, "/data/events")

Summary

Types

t()

Empty handle; all state is the OS filesystem.

Functions

Build a local filesystem handle.

Types

t()

@type t() :: %ExArrow.FileSystem.Local{}

Empty handle; all state is the OS filesystem.

Functions

new()

@spec new() :: t()

Build a local filesystem handle.

Examples

iex> %ExArrow.FileSystem.Local{} = ExArrow.FileSystem.Local.new()