You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by en...@apache.org on 2016/08/24 12:16:12 UTC

[5/6] hbase git commit: HBASE-16376 Scan#setBatch(int) javadoc update WRT partial results

HBASE-16376 Scan#setBatch(int) javadoc update WRT partial results

Signed-off-by: Enis Soztutar <en...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/dae97549
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/dae97549
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/dae97549

Branch: refs/heads/branch-1.3
Commit: dae97549eec05ee74830ce59b467b0dc054aa92d
Parents: 58891ba
Author: Josh Elser <el...@apache.org>
Authored: Sun Aug 21 22:40:42 2016 -0400
Committer: Enis Soztutar <en...@apache.org>
Committed: Wed Aug 24 05:14:50 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/client/Scan.java   | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/dae97549/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java
index b13837d..1d9b130 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java
@@ -466,7 +466,13 @@ public class Scan extends Query {
   }
 
   /**
-   * Set the maximum number of values to return for each call to next()
+   * Set the maximum number of values to return for each call to next().
+   * Callers should be aware that invoking this method with any value
+   * is equivalent to calling {@link #setAllowPartialResults(boolean)}
+   * with a value of {@code true}; partial results may be returned if
+   * this method is called. Use {@link #setMaxResultSize(long)}} to
+   * limit the size of a Scan's Results instead.
+   *
    * @param batch the maximum number of values
    */
   public Scan setBatch(int batch) {