amplab / succinct-cpp

Succinct C++

Home Page:http://succinct.cs.berkeley.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Succinct

C++ Implementation of Succinct (http://succinct.cs.berkeley.edu).

Succinct is a data-store than enables queries directly on a compressed representation of data. With basic primitives of random acces, search and fast counts of arbitrary substrings on unstructured data (flat files), Succinct can provide a rich set of queries on semi-structured or structured data without requiring any secondary indexes.

Requirements

  • C++11 support
  • CMake build system
  • Thrift for its sharded, sharded-kv, bench and test modules.

Building

To build Succinct, run:

./build.sh

To clean-up build files, run:

./cleanup.sh

Examples

To see how Succinct's core data structures can be used, find examples in examples/src.

The example in compress.cc shows how Succinct can be used to compress input files (for both flat-file and key-value interfaces), while example programs in query_file.cc and query_kv.cc show how the compressed files can be queried.

Starting Succinct as a Service

TODO: Add description of how sbin/ scripts can be used.

About

Succinct C++

http://succinct.cs.berkeley.edu


Languages

Language:C++ 95.0%Language:CMake 2.5%Language:Shell 1.6%Language:C 0.3%Language:Gnuplot 0.3%Language:Thrift 0.3%