You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2017/01/18 23:17:00 UTC
hbase git commit: HBASE-17486 Tighten the contract for batch client
methods (Michael Axiak)
Repository: hbase
Updated Branches:
refs/heads/master 6cbc375aa -> 8f1d0a2b8
HBASE-17486 Tighten the contract for batch client methods (Michael Axiak)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/8f1d0a2b
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8f1d0a2b
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8f1d0a2b
Branch: refs/heads/master
Commit: 8f1d0a2b84e4f4dc96406b4748998c7d6eeacbd3
Parents: 6cbc375
Author: Michael Stack <st...@apache.org>
Authored: Wed Jan 18 15:16:52 2017 -0800
Committer: Michael Stack <st...@apache.org>
Committed: Wed Jan 18 15:16:52 2017 -0800
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/hbase/client/Table.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/8f1d0a2b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
index 016894b..0f30cb4 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
@@ -112,7 +112,8 @@ public interface Table extends Closeable {
* @param actions list of Get, Put, Delete, Increment, Append objects
* @param results Empty Object[], same size as actions. Provides access to partial
* results, in case an exception is thrown. A null in the result array means that
- * the call for that action failed, even after retries
+ * the call for that action failed, even after retries. The order of the objects
+ * in the results array corresponds to the order of actions in the request list.
* @throws IOException
* @since 0.90.0
*/
@@ -147,7 +148,8 @@ public interface Table extends Closeable {
* exist, the {@link Result} instance returned won't contain any {@link
* org.apache.hadoop.hbase.KeyValue}, as indicated by {@link Result#isEmpty()}. If there are any
* failures even after retries, there will be a null in the results array for those Gets, AND an
- * exception will be thrown.
+ * exception will be thrown. The ordering of the Result array corresponds to the order of the
+ * list of Get requests.
* @throws IOException if a remote or network exception occurs.
* @since 0.90.0
*/