This project has been donated to Apache Arrow: https://github.com/apache/arrow/tree/master/c_glib/parquet-glib
Parquet GLib is a wrapper library for Parquet C++. Parquet GLib provides C API.
Parquet GLib supports GObject Introspection. It means that you can create language bindings at runtime or compile time.
For example, you can use Apache Parquet from Ruby by Parquet GLib and gobject-introspection gem with the following code:
# Generate bindings at runtime
require "gi"
Parquet = GI.load("Parquet")
# TODO
You can use packages or build by yourself to install Parquet GLib. It's recommended that you use packages.
You can install packages from https://packages.red-data-tools.org/ . See https://github.com/red-data-tools/packages.red-data-tools.org#readme for details.
Parquet GLib users should use released source archive to build Parquet GLib:
% wget https://github.com/red-data-tools/parquet-glib/releases/download/1.0.0/parquet-glib-1.0.0.tar.gz
% tar xf parquet-glib-1.0.0.tar.gz
% cd parquet-glib-1.0.0
You need to install Parquet C++, Arrow C++ and Arrow GLib before you install Parquet GLib. See documents about how to install them.
You can build and install Parquet GLib after you install them:
% ./configure
% make
% sudo make install
You need to install Parquet C++, Arrow C++ and Arrow GLib before you install Parquet GLib. See documents about how to install them.
You need GTK-Doc and GObject Introspection to build Parquet GLib. You can install them by the followings:
On Debian GNU/Linux or Ubuntu:
% sudo apt install -y -V gtk-doc-tools autoconf-archive libgirepository1.0-dev
On CentOS 7 or later:
% sudo yum install -y gtk-doc gobject-introspection-devel
On macOS with Homebrew:
% brew install -y gtk-doc gobject-introspection
Now, you can build Arrow GLib:
% ./autogen.sh
% ./configure --enable-gtk-doc
% make
% sudo make install
You can use Parquet GLib with C or other languages. If you use Parquet GLib with C, you use C API. If you use Parquet GLib with other languages, you use GObject Introspection based bindings.
You can find API reference in the
/usr/local/share/gtk-doc/html/parquet-glib/
directory. If you
specify --prefix
to configure
, the directory will be different.
TODO: Examples
TODO