Parquex (parquex v0.3.0)
View SourceReads and writes Parquet files through reusable object stores.
Finite helpers accept row or column maps. Continuous workflows use an
explicit Parquex.Schema, bounded Parquex.Batch values and a
Parquex.Writer or Parquex.Stream.
Summary
Functions
Verifies that the packaged native boundary can load.
Opens a bounded Parquet writer for one store key.
Materializes all selected rows from one finite Parquet file.
Inspects one Parquet file through bounded metadata reads.
Opens a pull-based stream of bounded batches from one Parquet file.
Writes finite rows or columns to one Parquet file, inferring its schema.
Writes finite rows or columns with an explicit schema to one Parquet file.
Functions
@spec native_status() :: {:ok, %{api_version: pos_integer()}} | {:error, Parquex.Error.t()}
Verifies that the packaged native boundary can load.
@spec open_writer(Parquex.Store.t(), String.t(), Parquex.Schema.t(), keyword()) :: {:ok, Parquex.Writer.t()} | {:error, Parquex.Error.t()}
Opens a bounded Parquet writer for one store key.
@spec read(Parquex.Store.t(), String.t(), keyword()) :: {:ok, [map()]} | {:error, Parquex.Error.t()}
Materializes all selected rows from one finite Parquet file.
@spec schema(Parquex.Store.t(), String.t(), keyword()) :: {:ok, Parquex.Schema.t()} | {:error, Parquex.Error.t()}
Inspects one Parquet file through bounded metadata reads.
@spec stream(Parquex.Store.t(), String.t(), keyword()) :: {:ok, Parquex.Stream.t()} | {:error, Parquex.Error.t()}
Opens a pull-based stream of bounded batches from one Parquet file.
@spec write(Parquex.Store.t(), String.t(), term()) :: {:ok, Parquex.Store.Metadata.t()} | {:error, Parquex.Error.t()}
Writes finite rows or columns to one Parquet file, inferring its schema.
@spec write(Parquex.Store.t(), String.t(), Parquex.Schema.t(), term()) :: {:ok, Parquex.Store.Metadata.t()} | {:error, Parquex.Error.t()}
@spec write(Parquex.Store.t(), String.t(), term(), keyword()) :: {:ok, Parquex.Store.Metadata.t()} | {:error, Parquex.Error.t()}
Writes finite rows or columns with an explicit schema to one Parquet file.
@spec write(Parquex.Store.t(), String.t(), Parquex.Schema.t(), term(), keyword()) :: {:ok, Parquex.Store.Metadata.t()} | {:error, Parquex.Error.t()}