hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject hbase git commit: HBASE-16970 Clarify misleading Scan.java comment about caching
Date Tue, 01 Nov 2016 10:02:27 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 99ce4f3b9 -> 93a50ad41


HBASE-16970 Clarify misleading Scan.java comment about caching

Signed-off-by: Yu Li <liyu@apache.org>


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

Branch: refs/heads/branch-1.1
Commit: 93a50ad411e37dc4f6f36d6a7030f8d76464913d
Parents: 99ce4f3
Author: Jim Kleckner <jim@cloudphysics.com>
Authored: Tue Nov 1 17:31:23 2016 +0800
Committer: Yu Li <liyu@apache.org>
Committed: Tue Nov 1 17:49:39 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/93a50ad4/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 6c03a97..e28b457 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
@@ -147,7 +147,8 @@ public class Scan extends Query {
   public static final String HINT_LOOKAHEAD = "_look_ahead_";
 
   /*
-   * -1 means no caching
+   * -1 means no caching specified and the value of {@link HConstants#HBASE_CLIENT_SCANNER_CACHING}
+   * (default to {@link HConstants#DEFAULT_HBASE_CLIENT_SCANNER_CACHING}) will be used
    */
   private int caching = -1;
   private long maxResultSize = -1;


Mime
View raw message