Couchbase Questions: Couchbase Java SDK

Have a Question? Get it answered by our community

vgajula's picture
Asked 2 months 2 days ago
Latest activity 1 month 3 weeks 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 3 months 1 week ago
Latest activity 3 months 3 days 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 3 months 1 week ago
Latest activity 2 weeks 5 days 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 3 months 1 week ago
Latest activity 2 months 2 min 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 3 months 1 week ago
Latest activity 2 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...

fredlaub's picture
Asked 4 months 3 days ago
Latest activity 4 months 1 day 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 4 months 1 week ago
Latest activity 4 months 5 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...

Koteswararao's picture
Asked 4 months 1 week ago
Latest activity 4 months 1 week ago

How to store a JSON file in to CouchBase server by using java as client?

Hi,

Basically I want to store one JSON file which contains json data into couch base server by using java clinet?
Some one can help me out in this regard.

Thanks in advance
Koti

Nakshathri's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 2 weeks ago

Error while saving the Document in Couchbase : Cannot cache data larger than 20971520 bytes

Hello All,

We are using couchbase (Couchbase Buckets connecting through Java Client) extensively for storing user documents across our multiple applications. From the looks of the error we are getting, exception is very straight forward wherein it says the document what we are trying to...

olivierYm's picture
Asked 6 months 1 week ago
Latest activity 6 months 2 days ago

Accessing CB Sync Gateway with Java Client

Hi,

is it possible to use the Couchbase Java SDK the access the Couchbase Sync Gateway?
The gateway is located in the Couchbase Cloud and I am looking for the best way to access the data from Java.

Thank you
Olivier