avsej CCBC-992: KV ingest mode for analytics
Change-Id: Iba4c750aa9b93ecfbe8ccf0de172cf9d72ce5c8c
Reviewed-on: http://review.couchbase.org/101438
Reviewed-by: Ellis Breen <ellis.breen@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
Latest commit 37f0716 Nov 5, 2018
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
analytics-deferred CCBC-991: Analytics Deferred Queries Nov 19, 2018
analytics-ingest
analytics
crypto Documentation update and release notes May 23, 2018
db
fts
instancepool Allow to pass username/password to instancepool example Sep 4, 2017
libeventdirect Extend libevent example to retry commands Sep 18, 2017
mcc
minimal
observe CCBC-817: Check nodes number for durability checks Sep 15, 2017
subdoc
tick
tracing
users Add example for user management Jun 23, 2017
views
CMakeLists.txt
README.markdown

README.markdown

Examples

An example says more than a 1000 words (and its way easier to write an example than trying to explain something). In this directory you'll find a varity of examples that will show you different use patterns of libcoucbase.

libeventdirect

This example programs shows you how you may integrate libcouchbase into your own event loop (in this example libevent).

syncmode

This example shows you how you may use the synchronous interface of libcouchbase.

yajl

This is an example that shows you how to work with views and json

pillowfight

This is an example that implements a small test program to show you some of the functionalities in libcouchbase.

minimal

This is an minimal single-file example which works both unix-like and windows OS. It accepts three arguments: "host:port", "bucket" and "password".

Build:

 gcc -lcouchbase -o minimal minimal.c
 cl /DWIN32 /Iinclude lib\libcouchbase.lib minimal.c

Execute:

 valgrind -v --tool=memcheck  --leak-check=full --show-reachable=yes ./minimal
 ./minimal <host:port> <bucket> <passwd>
 mininal.exe <host:port> <bucket> <passwd>