[JCBC-172] Clarify that getView returns a handle/future like object and not an actual rowset Created: 07/Dec/12  Updated: 14/Jan/13  Resolved: 14/Jan/13

Status: Closed
Project: Couchbase Java Client
Component/s: Documentation
Affects Version/s: 1.1-beta
Fix Version/s: 1.1.1
Security Level: Public

Type: Bug Priority: Major
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

In the getting started guide, there isn't an example showing how to get a View object and how exactly it's used with cb.query(). This is mentioned in the tutorial and somewhat implied in retrospect. Would be nice to clearly show an example;


View view = cb.getView("deignDoc", "viewQuery");
Query = new Query();
// ...
ViewResponse resp = cb.query(view, query);


Comment by Michael Nitschinger [ 14/Jan/13 ]
Is this not enough? http://www.couchbase.com/docs/couchbase-sdk-java-1.1/read-docs.html
Comment by Michael Nitschinger [ 14/Jan/13 ]
Is this not enough info Mark?

Comment by Mark Nunberg [ 14/Jan/13 ]
Yes, I've looked at the link and it's good enough - this was probably not there when I filed the bug
Generated at Sat Nov 22 20:09:00 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.