Questions tagged [couchbase-java-api]

The Couchbase Java SDK provides API to working with JSON documents using the Data, N1QL Query, Full-Text Search, Analytics Query and Views Queries available from Couchbase Server.

This Java native client library also has an RxJava based asynchronous API, has built in metrics exposed through an event bus API.

Resources:

172 questions
0
votes
2 answers

Couchbase Template Config Class

I have a Config class for Couchbase as follows: @Configuration @EnableCouchbaseRepositories public class CouchbaseConfig extends AbstractCouchbaseConfiguration{ @Value("${couchbase.serverList:127.0.0.1}") String…
0
votes
2 answers

Rx Observables: emit additional item for each original item, reduce them to another type, consume

I am having problems doing the following using Couchbase Java client 2.2.2 and Rx Observables 1.0.15: I have a list of strings which are document names Along with each original document for a document name I would like to load another document…
Sebastian
  • 5,177
  • 4
  • 30
  • 47
0
votes
1 answer

Android:How to use Couchbase REST API in android application?

I am new to android and couchbase.I am developing an android application where i need to call Couchbase REST API but i cant find any sample code for that.so please help me how to call couchbase REST API in android applicatin I have already referred…
0
votes
1 answer

Set development mode for view query in Couchbase Java SDK 2 globally?

I am using play framework with Couchbase. Play framework has a feature of app modes: dev, test, prod. Couchbase view engine also has modes: dev, prod. I want to query all Couchbase views in dev mode while in play framework dev mode and query views…
Anton Ivinskyi
  • 402
  • 5
  • 17
0
votes
2 answers

How to merge the output of an Observable that emits Observables without breaking the operator chain?

The context is using Couchbase to implement a REST CRUD service on a 2-level document store. The data model is an index document pointing to zero or more item documents. The index document is retrieved as an Observable using an asynchronous get.…
pink spikyhairman
  • 2,391
  • 1
  • 16
  • 13
-1
votes
1 answer

couchbase N1QL - IN clause query not working

It was a typo in my original question. Below is what i have observed. My query looks like this - String query = select * from table1 where guid is not missing and doc_type='xyz' and (guid in $guid_list); I have my guid_list as below - List…
-1
votes
1 answer

prepare map using Observable Rx-java

Here i my sample code which returns list of JsonDocument from couchbase server. Cluster cluster = CouchbaseCluster.create(); Bucket bucket = cluster.openBucket(); List foundDocs = Observable .just("key1", "key2", "key3", "key4",…
Nitin
  • 2,701
  • 2
  • 30
  • 60
1 2 3
11
12