hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject [6/6] hbase git commit: HBASE-16376 Scan#setBatch(int) javadoc update WRT partial results
Date Wed, 24 Aug 2016 12:16:13 GMT
HBASE-16376 Scan#setBatch(int) javadoc update WRT partial results

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


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

Branch: refs/heads/0.98
Commit: 7ca58503b5514b5fc509a631ed84c0e21a097a63
Parents: aac4e09
Author: Josh Elser <elserj@apache.org>
Authored: Sun Aug 21 22:40:42 2016 -0400
Committer: Enis Soztutar <enis@apache.org>
Committed: Wed Aug 24 05:15:18 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/7ca58503/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 2b77359..710c6dc 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
@@ -374,7 +374,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 void setBatch(int batch) {


Mime
View raw message