GLib wrapper library of Apache Parquet
C++ C Makefile Ruby M4 Shell
Switch branches/tags
Nothing to show
Clone or download
Latest commit 32a2b20 Jul 20, 2018
Permalink
Failed to load latest commit information.
doc Import May 5, 2017
parquet-glib Use arrow-glib.hpp Jul 20, 2018
test Import May 5, 2017
.gitignore Ignore downloaded file Oct 11, 2017
LICENSE.txt Add missing license file May 6, 2017
Makefile.am Create release Oct 11, 2017
NOTICE.txt Import May 5, 2017
README.md Use packages.red-data-tools.org Mar 20, 2018
autogen.sh Import May 5, 2017
configure.ac Add --gir-dir configure option for developers Jan 5, 2018

README.md

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

Install

You can use packages or build by yourself to install Parquet GLib. It's recommended that you use packages.

Package

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.

How to build by users

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

How to build by developers

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

Usage

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.

C

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

Language bindings

TODO