Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

fredlaub's picture
Asked 6 months 2 days ago
Latest activity 5 months 3 weeks ago

spring-data-couchbase

Hi,

I want to add an abstraction layer between my service methods and the couchbase client so that no couchbase client methods are directly called in my service classes.
Without this abstraction layer I won't be able to convince the investors to select couchbase as our document...

loolek's picture
Asked 6 months 1 week ago
Latest activity 6 months 5 days ago

The lack of asyncIncr() with default -> could lead atomicity losses?

Hi Experts!

I hope I'm not missed something in the Java API (I know it depends heavily on spymemcached), but I would like to ask, the above question.

This is the relevant part in my test update() method:

...
loolek's picture
Asked 6 months 1 week ago
Latest activity 5 months 3 weeks ago

Custom executor service is a cool feature

Hi All!

As I learn more and more about Couchbase -> I'm getting more confident about -> it will be a super handy-dandy NoSql tool for me =D

I had to append our API because of this smart Couchbase feature ->

It is also possible to override the default `...

loolek's picture
Asked 6 months 2 weeks ago
Latest activity 5 months 3 weeks ago

Java incrBulk() and asyncIncrBulk() are missing?

Hi!

Can I find any multi/bulk key incr method in the Java API, similar to these?

Perl: Multi version of "arithmetic"

incr_multi(@keys)
decr_multi(@keys)
incr_multi( [key, amount], ... )
decr_multi( [key, amount], ... )

JavaScript: Now changed to...

tzuvys's picture
Asked 6 months 2 weeks ago

Sorting Discrepancies

Hi,

We are querying CB using the Java SDK and the view being queried is to be sorted by a specific attribute of the documents. For instance, each document has a field which represents the state, this state is a string.

When querying this view we experience the following problem:...

erwink's picture
Asked 6 months 2 weeks ago
Latest activity 5 months 3 weeks ago

ReactiveCouchbase java api

Hello Experts,

We'd like to use this reactiveCouchbase from JAVA Code and not as play framework app. 
What is the advantage of above lib against the async operations of the Couchbase sdk's async operations? 
One more question,  whether the map methods in reactiveCouchbase is...

stelios p's picture
Asked 6 months 2 weeks ago
Latest activity 5 months 3 weeks ago

How to extract, in a list, all keys from a bucket

I want to view in a list all keys stored in a bucket, using Java.
Can anyone please help me create a java class that can do such thing?

stelios p's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

cannot get values for keys, due to serialization problem

I use client.get(KEY), where KEY is the string key, the way I see it in Top keys table, via the HTTP page of couchbase, for the specific bucket.

The error I am getting is this:
2014-01-10 12:19:19.505 WARN net.spy.memcached.transcoders.SerializingTranscoder: Undecodeable with...

zepinos's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 2 weeks ago

"java.nio.channels.UnresolvedAddressException"

When trying to connect(new CouchbaseClient()) using java I'm getting "java.nio.channels.UnresolvedAddressException".

package
...
Bhawana Udhani's picture
Asked 6 months 4 weeks ago
Latest activity 6 months 3 weeks ago

Getting "java.lang.RuntimeException: Failed to access the view" while querying?

What are the reasons of java.lang.RuntimeException: Failed to access the view. When trying to query using java I'm getting this error. When using the resultant startKey and endKey expression it works perfectly in Couchbase

startkey=["456456"]&endkey=["456456",{}]

using the same...

Pages