title: Java: How to retrieve all documents from specific bucket of couchbase server?
body: <p>I am trying to retrieve all documents from my local couchbase server.
      I have created one bucket as named "student" but it just show opened bucket and give build successful message nothing happen beyond that,i am expecting list of all documents.</p>
  
  <pre><code>Cluster cluster = CouchbaseCluster.create();
          Bucket bucket = cluster.openBucket("student");
          N1qlQueryResult result = bucket.query(N1qlQuery.simple("SELECT * FROM `student`"));
  
          for (N1qlQueryRow row : result) {
              String Name = row.value().getString("name");
              System.out.println(Name);
          }
  </code></pre>