http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2dbdc486/apidocs/org/apache/hadoop/hbase/client/AsyncTableBase.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/client/AsyncTableBase.html b/apidocs/org/apache/hadoop/hbase/client/AsyncTableBase.html new file mode 100644 index 0000000..cb02aca --- /dev/null +++ b/apidocs/org/apache/hadoop/hbase/client/AsyncTableBase.html @@ -0,0 +1,1107 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>AsyncTableBase (Apache HBase 2.0.0-SNAPSHOT API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="AsyncTableBase (Apache HBase 2.0.0-SNAPSHOT API)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6,"i1":6,"i2":18,"i3":18,"i4":6,"i5":18,"i6":6,"i7":18,"i8":6,"i9":6,"i10":6,"i11":18,"i12":18,"i13":18,"i14":18,"i15":6,"i16":6,"i17":18,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":18,"i27":18,"i28":6,"i29":6,"i30":6,"i31":18,"i32":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/AsyncTableBase.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBuilder.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/hadoop/hbase/client/AsyncTableBase.html" target="_top">Frames</a></li> +<li><a href="AsyncTableBase.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.hadoop.hbase.client</div> +<h2 title="Interface AsyncTableBase" class="title">Interface AsyncTableBase</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Known Subinterfaces:</dt> +<dd><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client">AsyncTable</a>, <a href="../../../../../org/apache/hadoop/hbase/client/RawAsyncTable.html" title="interface in org.apache.hadoop.hbase.client">RawAsyncTable</a></dd> +</dl> +<hr> +<br> +<pre>@InterfaceAudience.Public +public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.46">AsyncTableBase</a></pre> +<div class="block">The base interface for asynchronous version of Table. Obtain an instance from a + <a href="../../../../../org/apache/hadoop/hbase/client/AsyncConnection.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncConnection</code></a>. + <p> + The implementation is required to be thread safe. + <p> + Usually the implementation will not throw any exception directly. You need to get the exception + from the returned <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#append-org.apache.hadoop.hbase.client.Append-">append</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Append.html" title="class in org.apache.hadoop.hbase.client">Append</a> append)</code> +<div class="block">Appends values to one or more columns within a single row.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><T> <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><T>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#batch-java.util.List-">batch</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? extends <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions)</code> +<div class="block">Method that does a batch call on Deletes, Gets, Puts, Increments and Appends.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>default <T> <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><T>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#batchAll-java.util.List-">batchAll</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? extends <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions)</code> +<div class="block">A simple version of batch.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#checkAndDelete-byte:A-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.client.Delete-">checkAndDelete</a></span>(byte[] row, + byte[] family, + byte[] qualifier, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)</code> +<div class="block">Atomically checks if a row/family/qualifier value equals to the expected value.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#checkAndDelete-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.filter.CompareFilter.CompareOp-byte:A-org.apache.hadoop.hbase.client.Delete-">checkAndDelete</a></span>(byte[] row, + byte[] family, + byte[] qualifier, + <a href="../../../../../org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html" title="enum in org.apache.hadoop.hbase.filter">CompareFilter.CompareOp</a> compareOp, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)</code> +<div class="block">Atomically checks if a row/family/qualifier value matches the expected value.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#checkAndMutate-byte:A-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.client.RowMutations-">checkAndMutate</a></span>(byte[] row, + byte[] family, + byte[] qualifier, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> mutation)</code> +<div class="block">Atomically checks if a row/family/qualifier value equals to the expected value.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#checkAndMutate-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.filter.CompareFilter.CompareOp-byte:A-org.apache.hadoop.hbase.client.RowMutations-">checkAndMutate</a></span>(byte[] row, + byte[] family, + byte[] qualifier, + <a href="../../../../../org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html" title="enum in org.apache.hadoop.hbase.filter">CompareFilter.CompareOp</a> compareOp, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> mutation)</code> +<div class="block">Atomically checks if a row/family/qualifier value matches the expected value.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#checkAndPut-byte:A-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.client.Put-">checkAndPut</a></span>(byte[] row, + byte[] family, + byte[] qualifier, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)</code> +<div class="block">Atomically checks if a row/family/qualifier value equals to the expected value.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#checkAndPut-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.filter.CompareFilter.CompareOp-byte:A-org.apache.hadoop.hbase.client.Put-">checkAndPut</a></span>(byte[] row, + byte[] family, + byte[] qualifier, + <a href="../../../../../org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html" title="enum in org.apache.hadoop.hbase.filter">CompareFilter.CompareOp</a> compareOp, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)</code> +<div class="block">Atomically checks if a row/family/qualifier value matches the expected value.</div> +</td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#delete-org.apache.hadoop.hbase.client.Delete-">delete</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)</code> +<div class="block">Deletes the specified cells/row.</div> +</td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#delete-java.util.List-">delete</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)</code> +<div class="block">Deletes the specified cells/rows in bulk.</div> +</td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#deleteAll-java.util.List-">deleteAll</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)</code> +<div class="block">A simple version of batch delete.</div> +</td> +</tr> +<tr id="i12" class="altColor"> +<td class="colFirst"><code>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#exists-org.apache.hadoop.hbase.client.Get-">exists</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)</code> +<div class="block">Test for the existence of columns in the table, as specified by the Get.</div> +</td> +</tr> +<tr id="i13" class="rowColor"> +<td class="colFirst"><code>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#exists-java.util.List-">exists</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code> +<div class="block">Test for the existence of columns in the table, as specified by the Gets.</div> +</td> +</tr> +<tr id="i14" class="altColor"> +<td class="colFirst"><code>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#existsAll-java.util.List-">existsAll</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code> +<div class="block">A simple version for batch exists.</div> +</td> +</tr> +<tr id="i15" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#get-org.apache.hadoop.hbase.client.Get-">get</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)</code> +<div class="block">Extracts certain cells from a given row.</div> +</td> +</tr> +<tr id="i16" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#get-java.util.List-">get</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code> +<div class="block">Extracts certain cells from the given rows, in batch.</div> +</td> +</tr> +<tr id="i17" class="rowColor"> +<td class="colFirst"><code>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getAll-java.util.List-">getAll</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</code> +<div class="block">A simple version for batch get.</div> +</td> +</tr> +<tr id="i18" class="altColor"> +<td class="colFirst"><code>org.apache.hadoop.conf.Configuration</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getConfiguration--">getConfiguration</a></span>()</code> +<div class="block">Returns the <code>Configuration</code> object used by this instance.</div> +</td> +</tr> +<tr id="i19" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getName--">getName</a></span>()</code> +<div class="block">Gets the fully qualified table name instance of this table.</div> +</td> +</tr> +<tr id="i20" class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getOperationTimeout-java.util.concurrent.TimeUnit-">getOperationTimeout</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code> +<div class="block">Get timeout of each operation in Table instance.</div> +</td> +</tr> +<tr id="i21" class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getReadRpcTimeout-java.util.concurrent.TimeUnit-">getReadRpcTimeout</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code> +<div class="block">Get timeout of each rpc read request in this Table instance.</div> +</td> +</tr> +<tr id="i22" class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getRpcTimeout-java.util.concurrent.TimeUnit-">getRpcTimeout</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code> +<div class="block">Get timeout of each rpc request in this Table instance.</div> +</td> +</tr> +<tr id="i23" class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getScanTimeout-java.util.concurrent.TimeUnit-">getScanTimeout</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code> +<div class="block">Get the timeout of a single operation in a scan.</div> +</td> +</tr> +<tr id="i24" class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getWriteRpcTimeout-java.util.concurrent.TimeUnit-">getWriteRpcTimeout</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</code> +<div class="block">Get timeout of each rpc write request in this Table instance.</div> +</td> +</tr> +<tr id="i25" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#increment-org.apache.hadoop.hbase.client.Increment-">increment</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> increment)</code> +<div class="block">Increments one or more columns within a single row.</div> +</td> +</tr> +<tr id="i26" class="altColor"> +<td class="colFirst"><code>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#incrementColumnValue-byte:A-byte:A-byte:A-long-">incrementColumnValue</a></span>(byte[] row, + byte[] family, + byte[] qualifier, + long amount)</code> +<div class="block">See <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#incrementColumnValue-byte:A-byte:A-byte:A-long-org.apache.hadoop.hbase.client.Durability-"><code>incrementColumnValue(byte[], byte[], byte[], long, Durability)</code></a></div> +</td> +</tr> +<tr id="i27" class="rowColor"> +<td class="colFirst"><code>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#incrementColumnValue-byte:A-byte:A-byte:A-long-org.apache.hadoop.hbase.client.Durability-">incrementColumnValue</a></span>(byte[] row, + byte[] family, + byte[] qualifier, + long amount, + <a href="../../../../../org/apache/hadoop/hbase/client/Durability.html" title="enum in org.apache.hadoop.hbase.client">Durability</a> durability)</code> +<div class="block">Atomically increments a column value.</div> +</td> +</tr> +<tr id="i28" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#mutateRow-org.apache.hadoop.hbase.client.RowMutations-">mutateRow</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> mutation)</code> +<div class="block">Performs multiple mutations atomically on a single row.</div> +</td> +</tr> +<tr id="i29" class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#put-java.util.List-">put</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)</code> +<div class="block">Puts some data in the table, in batch.</div> +</td> +</tr> +<tr id="i30" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#put-org.apache.hadoop.hbase.client.Put-">put</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)</code> +<div class="block">Puts some data to the table.</div> +</td> +</tr> +<tr id="i31" class="rowColor"> +<td class="colFirst"><code>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#putAll-java.util.List-">putAll</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)</code> +<div class="block">A simple version of batch put.</div> +</td> +</tr> +<tr id="i32" class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#scanAll-org.apache.hadoop.hbase.client.Scan-">scanAll</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</code> +<div class="block">Return all the results that match the given scan object.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getName--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getName</h4> +<pre><a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.51">getName</a>()</pre> +<div class="block">Gets the fully qualified table name instance of this table.</div> +</li> +</ul> +<a name="getConfiguration--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getConfiguration</h4> +<pre>org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.58">getConfiguration</a>()</pre> +<div class="block">Returns the <code>Configuration</code> object used by this instance. + <p> + The reference returned is not a copy, so any change made to it will affect this instance.</div> +</li> +</ul> +<a name="getRpcTimeout-java.util.concurrent.TimeUnit-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRpcTimeout</h4> +<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.66">getRpcTimeout</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre> +<div class="block">Get timeout of each rpc request in this Table instance. It will be overridden by a more + specific rpc timeout config such as readRpcTimeout or writeRpcTimeout.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getReadRpcTimeout-java.util.concurrent.TimeUnit-"><code>getReadRpcTimeout(TimeUnit)</code></a>, +<a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getWriteRpcTimeout-java.util.concurrent.TimeUnit-"><code>getWriteRpcTimeout(TimeUnit)</code></a></dd> +</dl> +</li> +</ul> +<a name="getReadRpcTimeout-java.util.concurrent.TimeUnit-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReadRpcTimeout</h4> +<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.71">getReadRpcTimeout</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre> +<div class="block">Get timeout of each rpc read request in this Table instance.</div> +</li> +</ul> +<a name="getWriteRpcTimeout-java.util.concurrent.TimeUnit-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getWriteRpcTimeout</h4> +<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.76">getWriteRpcTimeout</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre> +<div class="block">Get timeout of each rpc write request in this Table instance.</div> +</li> +</ul> +<a name="getOperationTimeout-java.util.concurrent.TimeUnit-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getOperationTimeout</h4> +<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.81">getOperationTimeout</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre> +<div class="block">Get timeout of each operation in Table instance.</div> +</li> +</ul> +<a name="getScanTimeout-java.util.concurrent.TimeUnit-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getScanTimeout</h4> +<pre>long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.87">getScanTimeout</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> unit)</pre> +<div class="block">Get the timeout of a single operation in a scan. It works like operation timeout for other + operations.</div> +</li> +</ul> +<a name="exists-org.apache.hadoop.hbase.client.Get-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>exists</h4> +<pre>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.98">exists</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)</pre> +<div class="block">Test for the existence of columns in the table, as specified by the Get. + <p> + This will return true if the Get matches one or more keys, false if not. + <p> + This is a server-side call so it prevents any data from being transfered to the client.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if the specified Get matches one or more keys, false if not. The return value will + be wrapped by a <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="get-org.apache.hadoop.hbase.client.Get-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.110">get</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get)</pre> +<div class="block">Extracts certain cells from a given row.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>get</code> - The object that specifies what data to fetch and from which row.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The data coming from the specified row, if it exists. If the row specified doesn't + exist, the <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client"><code>Result</code></a> instance returned won't contain any + <code>KeyValue</code>, as indicated by <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#isEmpty--"><code>Result.isEmpty()</code></a>. The + return value will be wrapped by a <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="put-org.apache.hadoop.hbase.client.Put-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>put</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.117">put</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)</pre> +<div class="block">Puts some data to the table.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>put</code> - The data to put.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a> that always returns null when complete normally.</dd> +</dl> +</li> +</ul> +<a name="delete-org.apache.hadoop.hbase.client.Delete-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>delete</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.124">delete</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)</pre> +<div class="block">Deletes the specified cells/row.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>delete</code> - The object that specifies what to delete.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a> that always returns null when complete normally.</dd> +</dl> +</li> +</ul> +<a name="append-org.apache.hadoop.hbase.client.Append-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>append</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.137">append</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Append.html" title="class in org.apache.hadoop.hbase.client">Append</a> append)</pre> +<div class="block">Appends values to one or more columns within a single row. + <p> + This operation does not appear atomic to readers. Appends are done under a single row lock, so + write operations to a row are synchronized, but readers do not take row locks so get and scan + operations can see this operation partially completed.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>append</code> - object that specifies the columns and amounts to be used for the increment + operations</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>values of columns after the append operation (maybe null). The return value will be + wrapped by a <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="increment-org.apache.hadoop.hbase.client.Increment-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>increment</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.150">increment</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> increment)</pre> +<div class="block">Increments one or more columns within a single row. + <p> + This operation does not appear atomic to readers. Increments are done under a single row lock, + so write operations to a row are synchronized, but readers do not take row locks so get and + scan operations can see this operation partially completed.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>increment</code> - object that specifies the columns and amounts to be used for the increment + operations</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>values of columns after the increment. The return value will be wrapped by a + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="incrementColumnValue-byte:A-byte:A-byte:A-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>incrementColumnValue</h4> +<pre>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.163">incrementColumnValue</a>(byte[] row, + byte[] family, + byte[] qualifier, + long amount)</pre> +<div class="block">See <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#incrementColumnValue-byte:A-byte:A-byte:A-long-org.apache.hadoop.hbase.client.Durability-"><code>incrementColumnValue(byte[], byte[], byte[], long, Durability)</code></a> + <p> + The <a href="../../../../../org/apache/hadoop/hbase/client/Durability.html" title="enum in org.apache.hadoop.hbase.client"><code>Durability</code></a> is defaulted to <a href="../../../../../org/apache/hadoop/hbase/client/Durability.html#SYNC_WAL"><code>Durability.SYNC_WAL</code></a>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>row</code> - The row that contains the cell to increment.</dd> +<dd><code>family</code> - The column family of the cell to increment.</dd> +<dd><code>qualifier</code> - The column qualifier of the cell to increment.</dd> +<dd><code>amount</code> - The amount to increment the cell with (or decrement, if the amount is negative).</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The new value, post increment. The return value will be wrapped by a + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="incrementColumnValue-byte:A-byte:A-byte:A-long-org.apache.hadoop.hbase.client.Durability-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>incrementColumnValue</h4> +<pre>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.183">incrementColumnValue</a>(byte[] row, + byte[] family, + byte[] qualifier, + long amount, + <a href="../../../../../org/apache/hadoop/hbase/client/Durability.html" title="enum in org.apache.hadoop.hbase.client">Durability</a> durability)</pre> +<div class="block">Atomically increments a column value. If the column value already exists and is not a + big-endian long, this could throw an exception. If the column value does not yet exist it is + initialized to <code>amount</code> and written to the specified column. + <p> + Setting durability to <a href="../../../../../org/apache/hadoop/hbase/client/Durability.html#SKIP_WAL"><code>Durability.SKIP_WAL</code></a> means that in a fail scenario you will lose + any increments that have not been flushed.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>row</code> - The row that contains the cell to increment.</dd> +<dd><code>family</code> - The column family of the cell to increment.</dd> +<dd><code>qualifier</code> - The column qualifier of the cell to increment.</dd> +<dd><code>amount</code> - The amount to increment the cell with (or decrement, if the amount is negative).</dd> +<dd><code>durability</code> - The persistence guarantee for this increment.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The new value, post increment. The return value will be wrapped by a + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="checkAndPut-byte:A-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.client.Put-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkAndPut</h4> +<pre>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.205">checkAndPut</a>(byte[] row, + byte[] family, + byte[] qualifier, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)</pre> +<div class="block">Atomically checks if a row/family/qualifier value equals to the expected value. If it does, it + adds the put. If the passed value is null, the check is for the lack of column (ie: + non-existence)</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>row</code> - to check</dd> +<dd><code>family</code> - column family to check</dd> +<dd><code>qualifier</code> - column qualifier to check</dd> +<dd><code>value</code> - the expected value</dd> +<dd><code>put</code> - data to put if check succeeds</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if the new put was executed, false otherwise. The return value will be wrapped by + a <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="checkAndPut-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.filter.CompareFilter.CompareOp-byte:A-org.apache.hadoop.hbase.client.Put-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkAndPut</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.223">checkAndPut</a>(byte[] row, + byte[] family, + byte[] qualifier, + <a href="../../../../../org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html" title="enum in org.apache.hadoop.hbase.filter">CompareFilter.CompareOp</a> compareOp, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put)</pre> +<div class="block">Atomically checks if a row/family/qualifier value matches the expected value. If it does, it + adds the put. If the passed value is null, the check is for the lack of column (ie: + non-existence)</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>row</code> - to check</dd> +<dd><code>family</code> - column family to check</dd> +<dd><code>qualifier</code> - column qualifier to check</dd> +<dd><code>compareOp</code> - comparison operator to use</dd> +<dd><code>value</code> - the expected value</dd> +<dd><code>put</code> - data to put if check succeeds</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if the new put was executed, false otherwise. The return value will be wrapped by + a <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="checkAndDelete-byte:A-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.client.Delete-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkAndDelete</h4> +<pre>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.238">checkAndDelete</a>(byte[] row, + byte[] family, + byte[] qualifier, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)</pre> +<div class="block">Atomically checks if a row/family/qualifier value equals to the expected value. If it does, it + adds the delete. If the passed value is null, the check is for the lack of column (ie: + non-existence)</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>row</code> - to check</dd> +<dd><code>family</code> - column family to check</dd> +<dd><code>qualifier</code> - column qualifier to check</dd> +<dd><code>value</code> - the expected value</dd> +<dd><code>delete</code> - data to delete if check succeeds</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if the new delete was executed, false otherwise. The return value will be wrapped + by a <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="checkAndDelete-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.filter.CompareFilter.CompareOp-byte:A-org.apache.hadoop.hbase.client.Delete-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkAndDelete</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.256">checkAndDelete</a>(byte[] row, + byte[] family, + byte[] qualifier, + <a href="../../../../../org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html" title="enum in org.apache.hadoop.hbase.filter">CompareFilter.CompareOp</a> compareOp, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete)</pre> +<div class="block">Atomically checks if a row/family/qualifier value matches the expected value. If it does, it + adds the delete. If the passed value is null, the check is for the lack of column (ie: + non-existence)</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>row</code> - to check</dd> +<dd><code>family</code> - column family to check</dd> +<dd><code>qualifier</code> - column qualifier to check</dd> +<dd><code>compareOp</code> - comparison operator to use</dd> +<dd><code>value</code> - the expected value</dd> +<dd><code>delete</code> - data to delete if check succeeds</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if the new delete was executed, false otherwise. The return value will be wrapped + by a <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="mutateRow-org.apache.hadoop.hbase.client.RowMutations-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mutateRow</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.265">mutateRow</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> mutation)</pre> +<div class="block">Performs multiple mutations atomically on a single row. Currently <a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client"><code>Put</code></a> and + <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client"><code>Delete</code></a> are supported.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>mutation</code> - object that specifies the set of mutations to perform atomically</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a> that always returns null when complete normally.</dd> +</dl> +</li> +</ul> +<a name="checkAndMutate-byte:A-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.client.RowMutations-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkAndMutate</h4> +<pre>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.279">checkAndMutate</a>(byte[] row, + byte[] family, + byte[] qualifier, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> mutation)</pre> +<div class="block">Atomically checks if a row/family/qualifier value equals to the expected value. If it does, it + performs the row mutations. If the passed value is null, the check is for the lack of column + (ie: non-existence)</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>row</code> - to check</dd> +<dd><code>family</code> - column family to check</dd> +<dd><code>qualifier</code> - column qualifier to check</dd> +<dd><code>value</code> - the expected value</dd> +<dd><code>mutation</code> - mutations to perform if check succeeds</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if the new put was executed, false otherwise. The return value will be wrapped by + a <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="checkAndMutate-byte:A-byte:A-byte:A-org.apache.hadoop.hbase.filter.CompareFilter.CompareOp-byte:A-org.apache.hadoop.hbase.client.RowMutations-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkAndMutate</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.297">checkAndMutate</a>(byte[] row, + byte[] family, + byte[] qualifier, + <a href="../../../../../org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html" title="enum in org.apache.hadoop.hbase.filter">CompareFilter.CompareOp</a> compareOp, + byte[] value, + <a href="../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> mutation)</pre> +<div class="block">Atomically checks if a row/family/qualifier value matches the expected value. If it does, it + performs the row mutations. If the passed value is null, the check is for the lack of column + (ie: non-existence)</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>row</code> - to check</dd> +<dd><code>family</code> - column family to check</dd> +<dd><code>qualifier</code> - column qualifier to check</dd> +<dd><code>compareOp</code> - the comparison operator</dd> +<dd><code>value</code> - the expected value</dd> +<dd><code>mutation</code> - mutations to perform if check succeeds</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>true if the new put was executed, false otherwise. The return value will be wrapped by + a <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="scanAll-org.apache.hadoop.hbase.client.Scan-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>scanAll</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.335">scanAll</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan)</pre> +<div class="block">Return all the results that match the given scan object. + <p> + Notice that usually you should use this method with a <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a> object that has limit set. + For example, if you want to get the closest row after a given row, you could do this: + <p> + + <pre> + <code> + table.scanAll(new Scan().withStartRow(row, false).setLimit(1)).thenAccept(results -> { + if (results.isEmpty()) { + System.out.println("No row after " + Bytes.toStringBinary(row)); + } else { + System.out.println("The closest row after " + Bytes.toStringBinary(row) + " is " + + Bytes.toStringBinary(results.stream().findFirst().get().getRow())); + } + }); + </code> + </pre> + <p> + If your result set is very large, you should use other scan method to get a scanner or use + callback to process the results. They will do chunking to prevent OOM. The scanAll method will + fetch all the results and store them in a List and then return the list to you. + <p> + The scan metrics will be collected background if you enable it but you have no way to get it. + Usually you can get scan metrics from <code>ResultScanner</code>, or through + <code>ScanResultConsumer.onScanMetricsCreated</code> but this method only returns a list of results. + So if you really care about scan metrics then you'd better use other scan methods which return + a <code>ResultScanner</code> or let you pass in a <code>ScanResultConsumer</code>. There is no + performance difference between these scan methods so do not worry.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>scan</code> - A configured <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a> object. So if you use this method to fetch a really large + result set, it is likely to cause OOM.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The results of this small scan operation. The return value will be wrapped by a + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +<a name="exists-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>exists</h4> +<pre>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.347">exists</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</pre> +<div class="block">Test for the existence of columns in the table, as specified by the Gets. + <p> + This will return a list of booleans. Each value will be true if the related Get matches one or + more keys, false if not. + <p> + This is a server-side call so it prevents any data from being transferred to the client.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>gets</code> - the Gets</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A list of <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>s that represent the existence for each get.</dd> +</dl> +</li> +</ul> +<a name="existsAll-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>existsAll</h4> +<pre>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.358">existsAll</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</pre> +<div class="block">A simple version for batch exists. It will fail if there are any failures and you will get the + whole result boolean list at once if the operation is succeeded.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>gets</code> - the Gets</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a> that wrapper the result boolean list.</dd> +</dl> +</li> +</ul> +<a name="get-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.371">get</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</pre> +<div class="block">Extracts certain cells from the given rows, in batch. + <p> + Notice that you may not get all the results with this function, which means some of the + returned <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>s may succeed while some of the other returned + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>s may fail.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>gets</code> - The objects that specify what data to fetch and from which rows.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A list of <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>s that represent the result for each get.</dd> +</dl> +</li> +</ul> +<a name="getAll-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAll</h4> +<pre>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.379">getAll</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a>> gets)</pre> +<div class="block">A simple version for batch get. It will fail if there are any failures and you will get the + whole result list at once if the operation is succeeded.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>gets</code> - The objects that specify what data to fetch and from which rows.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a> that wrapper the result list.</dd> +</dl> +</li> +</ul> +<a name="put-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>put</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.388">put</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)</pre> +<div class="block">Puts some data in the table, in batch.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>puts</code> - The list of mutations to apply.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A list of <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>s that represent the result for each put.</dd> +</dl> +</li> +</ul> +<a name="putAll-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>putAll</h4> +<pre>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.395">putAll</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>> puts)</pre> +<div class="block">A simple version of batch put. It will fail if there are any failures.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>puts</code> - The list of mutations to apply.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a> that always returns null when complete normally.</dd> +</dl> +</li> +</ul> +<a name="delete-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>delete</h4> +<pre><a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.404">delete</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)</pre> +<div class="block">Deletes the specified cells/rows in bulk.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>deletes</code> - list of things to delete.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A list of <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>s that represent the result for each delete.</dd> +</dl> +</li> +</ul> +<a name="deleteAll-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>deleteAll</h4> +<pre>default <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.411">deleteAll</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a>> deletes)</pre> +<div class="block">A simple version of batch delete. It will fail if there are any failures.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>deletes</code> - list of things to delete.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a> that always returns null when complete normally.</dd> +</dl> +</li> +</ul> +<a name="batch-java.util.List-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>batch</h4> +<pre><T> <a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><T>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.423">batch</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? extends <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions)</pre> +<div class="block">Method that does a batch call on Deletes, Gets, Puts, Increments and Appends. The ordering of + execution of the actions is not defined. Meaning if you do a Put and a Get in the same + <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#batch-java.util.List-"><code>batch(java.util.List<? extends org.apache.hadoop.hbase.client.Row>)</code></a> call, you will not necessarily be guaranteed that the Get returns what the Put + had put.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>actions</code> - list of Get, Put, Delete, Increment, Append objects</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A list of <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>s that represent the result for each action.</dd> +</dl> +</li> +</ul> +<a name="batchAll-java.util.List-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>batchAll</h4> +<pre>default <T> <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent">CompletableFuture</a><<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><T>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTableBase.html#line.431">batchAll</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? extends <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>> actions)</pre> +<div class="block">A simple version of batch. It will fail if there are any failures and you will get the whole + result list at once if the operation is succeeded.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>actions</code> - list of Get, Put, Delete, Increment, Append objects</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>A list of the result for the actions. Wrapped by a <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true" title="class or interface in java.util.concurrent"><code>CompletableFuture</code></a>.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigatio
<TRUNCATED>