This is meant to be the simplest test program for the querying functions of ibis::query and ibis::part. More...
#include "ibis.h"
Functions | |
int | main (int argc, char **argv) |
This is meant to be the simplest test program for the querying functions of ibis::query and ibis::part.
It accepts the following fixed list of arguments to simplify the program:
data-dir query-conditions [column-to-print [column-to-print ...]]
The data-dir must exist and contain valid data files and query conditions much be specified as well. If no column-to-print, this program effective is answering the following SQL query
SELECT count(*) FROM data-dir WHERE query-conditions
If any column-to-print is specified, all of them are concatenated together and the SQL query answered is of the form
SELECT column-to-print, column-to-print, ... FROM data-dir WHERE query-conditions
About the name: Bostrychia rara, Spot-breasted Ibis, the smallest ibis http://www.sandiegozoo.org/animalbytes/t-ibis.html. As an example program for using FastBit IBIS, this might be also the smallest.