Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

erwink's picture
Asked 7 months 1 week ago
Latest activity 6 months 2 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 7 months 1 week ago
Latest activity 6 months 2 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 7 months 1 week ago
Latest activity 7 months 1 week 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 7 months 2 weeks ago
Latest activity 7 months 1 week 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 7 months 2 weeks ago
Latest activity 7 months 2 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...

bkern's picture
Asked 8 months 2 days ago
Latest activity 6 months 2 weeks ago

Not sure how to fix this warning from couchbase client

I have couchbase server setup with one node and clients are able to write data to it. What I am working on now is a simple script to get some of these stored documents. I went in to the web console and found a random key and I try to retrieve that from my program. What I get is this warning:...

chaddy012's picture
Asked 8 months 3 days ago
Latest activity 7 months 5 days ago

Can i return the key along in the body of a get or getbulk using he java sdk

Hi i am able to successfully retrieve results from the database. one of my requirements however is to return the key along in the body of the results is there a way to achieve the above without having to process each record after retrieval?

vladif86's picture
Asked 8 months 3 days ago
Latest activity 8 months 3 days ago

Using Couchbase memcached in Java

Hi All,
We're planing using the memcached of Couchbase. Accessing the memcached is from Java
What's memcached client do you recommend to use for this?
Are there examples/links of using it with Couchbase?

Thank you in advance,
Vladi

katzshay's picture
Asked 8 months 1 week ago
Latest activity 8 months 4 days ago

Storm + java sdk

Hi,

I'm trying to execute some couchbase scenario with storm.
My couchbase client is singleton.
I have 2 bolts that using this client.
During the execution I'm getting the following exception:
Caused by: java.lang.IllegalStateException: Interrupted while waiting to...

sivasena's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 4 days ago

regarding Java TAP API

Hi All,

I'm able to configure an TAPClient to a Couchbase server bucket and receiving the update notifications from the same. Below is the piece of Java code i have written:
========================================================================
URI base = new URI("...

Pages