Get() method to pull documents from couchbase


#1

I reading the following link about accessing documents via get() method.
bucket.get() - here what is bucket class type and what is the maven dependency to pull that class.

https://developer.couchbase.com/documentation/server/3.x/developer/java-2.1/documents-retrieving.html

Observable<JsonDocument> loadedFromId = bucket.get(“id”);
Observable<JsonDocument> loadedFromDoc = bucket.get(JsonDocument.create(“id”));


#2

Hi @naganjaneyulu.yazali, take a look at the getting started docs for the Java SDK, which should get you up and running.