Typedefs | Functions
/usr/src/RPM/BUILD/fastbit-ibis1.3.0.3/examples/ardea.cpp File Reference

This is a simple test program for functions defined in ibis::tablex. More...

#include "ibis.h"
#include <set>
#include <memory>
#include <iomanip>

Typedefs

typedef std::set< const char
*, ibis::lessi
qList

Functions

int main (int argc, char **argv)

Detailed Description

This is a simple test program for functions defined in ibis::tablex.

The user may specify a set of records to be read by using a combination of -m option (for meta data, i.e., column names and types) and -t or -r options or specify a SQL dump file. Option -t is used to specify the name of a text/CSV file and option -r is used to specify a row of text/CSV data on the command line. Specify a SQL dump file with '-sqldump filename'.

The caller may further specify a number of queries to be run on the data after they are written to disk.

If the user did not specify any new data. It will write a built-in set of data (91 rows and 8 columns) and then run 10 built-in queries with known numbers of hits.

If the directory specified in -d option (default to "tmp") contains data, the new records will be appended. When the names match, the records are assumed to the same type (not checked). When the names do not match, the rows with missing values are padded with NULL values. See ibis::tablex::appendRow for more information about NULL values.

Note:
This file is named after Cattle Egret, whose Latin name is Ardea ibis.

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive