Couchbase Questions: Couchbase Java SDK

Have a Question? Get it answered by our community

fredericb's picture
Asked 1 month 3 weeks ago
Latest activity 1 month 3 weeks ago

How to write Where condition on arrays using INDEX

While trying the N1QL language, I found a difficulty to request the following:

Let say the document contains, among other attributes, an array of values as in
varArray : [ val1, val2, val3 ]

How can I...

fredericb's picture
Asked 1 month 3 weeks ago
Latest activity 1 month 3 weeks ago

How to partially update a document

Many times, it is very convenient to only update one attribute instead of loading everything into memory and then pushing everything onto the wire, specially when a few changed (let say only 1% had changed).

I did not find any element, except an issue opened from 2012/06 (...

winstonwaite's picture
Asked 2 months 3 weeks ago
Latest activity 1 day 2 hours ago

Java client not aware of failed over node under certain circumstances

This is similar to http://www.couchbase.com/communities/q-and-a/java-client-not-aware-about...

This is using the 1.4.2 java client.

If I failover from the admin...

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

Wrong date in index when used datetoArray

The date value in the document and the view index does not match, is there any issue here?
Here is the sample document:

{
"id": 2331367,
"docType": "m",
"whenReceivedTimestamp": "2012-09-30 23:47:26",
"status": "A"
}

Sample view:
...

gandalf_the_cool's picture
Asked 7 months 2 weeks ago
Latest activity 7 months 1 week ago

Cannot retrieve values from memcached bucket, neither from Rest nor Java api

In couchbase buckets, you just need to send a get request like this:

SERVER_IP:8091/couchBase/COUCHBASE_BUCKET_NAME/KEY

and the value is returned.

I have a memcached value, and even though i have the keys, i cannot extract any values. When in "COUCHBASE_BUCKET" i put the...

bibhas's picture
Asked 7 months 2 weeks ago
Latest activity 4 months 4 weeks ago

How does stale query work?

Hello,

Sorry, I know the documentation is very clear about how stale=ok should work. But, I am not seeing the right behavior.

I am running a _count reduce query with stale set to OK.

...
erwink's picture
Asked 7 months 2 weeks ago
Latest activity 2 months 6 days ago

N1QL java sdk api

Hello All,

Is it possible to use N1QL from Couchbase JAVA sdk?
Your directions would appreciated.

Thanks,
Erwin

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

fredlaub's picture
Asked 8 months 1 week ago
Latest activity 8 months 1 week ago

Basic document/bucket design questions for muti timezone/language/country sites

Hi,

Having read most of the couchbase docs/white-papers I have still some basic questions on document/bucket design:

1) Storing timestamp/date values, which format do you recommend.

On the linux server I would define GMT timezone and display the date/time value according to...

katzshay's picture
Asked 8 months 3 weeks ago
Latest activity 8 months 2 weeks 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...

Pages