http://git-wip-us.apache.org/repos/asf/hbase-site/blob/d9f3c819/apidocs/org/apache/hadoop/hbase/client/AsyncConnection.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/client/AsyncConnection.html b/apidocs/org/apache/hadoop/hbase/client/AsyncConnection.html index 4c9bd96..6138f22 100644 --- a/apidocs/org/apache/hadoop/hbase/client/AsyncConnection.html +++ b/apidocs/org/apache/hadoop/hbase/client/AsyncConnection.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":6,"i1":6,"i2":6}; +var methods = {"i0":6,"i1":6,"i2":6,"i3":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -107,7 +107,7 @@ var activeTableTab = "activeTableTab"; <br> <pre>@InterfaceAudience.Public @InterfaceStability.Unstable -public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncConnection.html#line.32">AsyncConnection</a> +public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncConnection.html#line.33">AsyncConnection</a> extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre> <div class="block">The asynchronous version of Connection.</div> </li> @@ -135,14 +135,21 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html </td> </tr> <tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/RawAsyncTable.html" title="interface in org.apache.hadoop.hbase.client">RawAsyncTable</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncConnection.html#getRawTable-org.apache.hadoop.hbase.TableName-">getRawTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> +<div class="block">Retrieve an RawAsyncTable implementation for accessing a table.</div> +</td> +</tr> +<tr id="i2" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncConnection.html#getRegionLocator-org.apache.hadoop.hbase.TableName-">getRegionLocator</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> <div class="block">Retrieve a AsyncRegionLocator implementation to inspect region information on a table.</div> </td> </tr> -<tr id="i2" class="altColor"> +<tr id="i3" class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client">AsyncTable</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncConnection.html#getTable-org.apache.hadoop.hbase.TableName-">getTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncConnection.html#getTable-org.apache.hadoop.hbase.TableName-java.util.concurrent.ExecutorService-">getTable</a></span>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool)</code> <div class="block">Retrieve an AsyncTable implementation for accessing a table.</div> </td> </tr> @@ -174,7 +181,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>getConfiguration</h4> -<pre>org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncConnection.html#line.39">getConfiguration</a>()</pre> +<pre>org.apache.hadoop.conf.Configuration <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncConnection.html#line.40">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> @@ -186,7 +193,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <ul class="blockList"> <li class="blockList"> <h4>getRegionLocator</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncConnection.html#line.49">getRegionLocator</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</pre> +<pre><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableRegionLocator</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncConnection.html#line.50">getRegionLocator</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</pre> <div class="block">Retrieve a AsyncRegionLocator implementation to inspect region information on a table. The returned AsyncRegionLocator is not thread-safe, so a new instance should be created for each using thread. This is a lightweight operation. Pooling or caching of the returned @@ -199,13 +206,35 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html </dl> </li> </ul> -<a name="getTable-org.apache.hadoop.hbase.TableName-"> +<a name="getRawTable-org.apache.hadoop.hbase.TableName-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRawTable</h4> +<pre><a href="../../../../../org/apache/hadoop/hbase/client/RawAsyncTable.html" title="interface in org.apache.hadoop.hbase.client">RawAsyncTable</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncConnection.html#line.62">getRawTable</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</pre> +<div class="block">Retrieve an RawAsyncTable implementation for accessing a table. The returned Table is not + thread safe, a new instance should be created for each using thread. This is a lightweight + operation, pooling or caching of the returned AsyncTable is neither required nor desired. + <p> + This method no longer checks table existence. An exception will be thrown if the table does not + exist only when the first operation is attempted.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>tableName</code> - the name of the table</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an RawAsyncTable to use for interactions with this table</dd> +</dl> +</li> +</ul> +<a name="getTable-org.apache.hadoop.hbase.TableName-java.util.concurrent.ExecutorService-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>getTable</h4> -<pre><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client">AsyncTable</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncConnection.html#line.61">getTable</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName)</pre> +<pre><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client">AsyncTable</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncConnection.html#line.75">getTable</a>(<a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, + <a href="http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a> pool)</pre> <div class="block">Retrieve an AsyncTable implementation for accessing a table. The returned Table is not thread safe, a new instance should be created for each using thread. This is a lightweight operation, pooling or caching of the returned AsyncTable is neither required nor desired. @@ -215,6 +244,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>tableName</code> - the name of the table</dd> +<dd><code>pool</code> - the thread pool to use for executing callback</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>an AsyncTable to use for interactions with this table</dd> </dl>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/d9f3c819/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html b/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html index 2807331..fa760a0 100644 --- a/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html +++ b/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":6,"i1":18,"i2":6,"i3":18,"i4":6,"i5":18,"i6":6,"i7":6,"i8":18,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":18,"i18":18,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":18,"i27":6}; +var methods = {"i0":18,"i1":18,"i2":6,"i3":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"; @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/hadoop/hbase/client/AsyncConnection.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/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.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/AsyncTable.html" target="_top">Frames</a></li> @@ -99,18 +99,21 @@ var activeTableTab = "activeTableTab"; <div class="description"> <ul class="blockList"> <li class="blockList"> +<dl> +<dt>All Superinterfaces:</dt> +<dd><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableBase</a></dd> +</dl> <hr> <br> <pre>@InterfaceAudience.Public @InterfaceStability.Unstable -public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.45">AsyncTable</a></pre> -<div class="block">The 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 NOT required to be thread safe. Do NOT access it from multiple threads - concurrently. +public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.32">AsyncTable</a> +extends <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableBase</a></pre> +<div class="block">The asynchronous table for normal users. <p> - Usually the implementations 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> + The implementation should make sure that user can do everything they want to the returned + <code>CompletableFuture</code> without break anything. Usually the implementation will require user to + provide a <code>ExecutorService</code>.</div> </li> </ul> </div> @@ -130,217 +133,39 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client <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/AsyncTable.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 class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getScanner-byte:A-">getScanner</a></span>(byte[] family)</code> +<div class="block">Gets a scanner on the current table for the given family.</div> </td> </tr> <tr id="i1" 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/AsyncTable.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 class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getScanner-byte:A-byte:A-">getScanner</a></span>(byte[] family, + byte[] qualifier)</code> +<div class="block">Gets a scanner on the current table for the given family and qualifier.</div> </td> </tr> <tr id="i2" 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/AsyncTable.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 class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#getScanner-org.apache.hadoop.hbase.client.Scan-">getScanner</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">Returns a scanner on the current table as specified by the <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a> object.</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/AsyncTable.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="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/AsyncTable.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="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/AsyncTable.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="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/AsyncTable.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="i7" 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/AsyncTable.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="i8" 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/AsyncTable.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="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="../../../../../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/AsyncTable.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="i10" 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/AsyncTable.html#getConfiguration--">getConfiguration</a></span>()</code> -<div class="block">Returns the <code>Configuration</code> object used by this instance.</div> -</td> -</tr> -<tr id="i11" 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/AsyncTable.html#getName--">getName</a></span>()</code> -<div class="block">Gets the fully qualified table name instance of this table.</div> -</td> -</tr> -<tr id="i12" class="altColor"> -<td class="colFirst"><code>long</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.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="i13" class="rowColor"> -<td class="colFirst"><code>long</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.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="i14" class="altColor"> -<td class="colFirst"><code>long</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.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="i15" class="rowColor"> -<td class="colFirst"><code>long</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.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="i16" 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/AsyncTable.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="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/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/AsyncTable.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/AsyncTable.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="i18" 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/AsyncTable.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="i19" 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/AsyncTable.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="i20" 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/AsyncTable.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="i21" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#scan-org.apache.hadoop.hbase.client.Scan-org.apache.hadoop.hbase.client.ScanResultConsumer-">scan</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan, <a href="../../../../../org/apache/hadoop/hbase/client/ScanResultConsumer.html" title="interface in org.apache.hadoop.hbase.client">ScanResultConsumer</a> consumer)</code> -<div class="block">The basic scan API uses the observer pattern.</div> -</td> -</tr> -<tr id="i22" class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#setOperationTimeout-long-java.util.concurrent.TimeUnit-">setOperationTimeout</a></span>(long timeout, - <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">Set timeout of each operation in this Table instance, will override the value of - <code>hbase.client.operation.timeout</code> in configuration.</div> -</td> -</tr> -<tr id="i23" class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#setReadRpcTimeout-long-java.util.concurrent.TimeUnit-">setReadRpcTimeout</a></span>(long timeout, - <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">Set timeout of each rpc read request in operations of this Table instance, will override the - value of <code>hbase.rpc.read.timeout</code> in configuration.</div> -</td> -</tr> -<tr id="i24" class="altColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#setScanTimeout-long-java.util.concurrent.TimeUnit-">setScanTimeout</a></span>(long timeout, - <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">Set timeout of a single operation in a scan, such as openScanner and next.</div> -</td> -</tr> -<tr id="i25" class="rowColor"> -<td class="colFirst"><code>void</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#setWriteRpcTimeout-long-java.util.concurrent.TimeUnit-">setWriteRpcTimeout</a></span>(long timeout, - <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">Set timeout of each rpc write request in operations of this Table instance, will override the - value of <code>hbase.rpc.write.timeout</code> in configuration.</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/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/AsyncTable.html#smallScan-org.apache.hadoop.hbase.client.Scan-">smallScan</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">Just call <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#smallScan-org.apache.hadoop.hbase.client.Scan-int-"><code>smallScan(Scan, int)</code></a> with <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a>.</div> -</td> -</tr> -<tr id="i27" 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/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/AsyncTable.html#smallScan-org.apache.hadoop.hbase.client.Scan-int-">smallScan</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan, - int limit)</code> -<div class="block">Return all the results that match the given scan object.</div> +<div class="block">The scan API uses the observer pattern.</div> </td> </tr> </table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.client.AsyncTableBase"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.hadoop.hbase.client.<a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html" title="interface in org.apache.hadoop.hbase.client">AsyncTableBase</a></h3> +<code><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#append-org.apache.hadoop.hbase.client.Append-">append</a>, <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>, <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>, <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>, <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>, <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>, <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>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#delete-org.apache.hadoop.hbase.client.Delete-">delete</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#exists-org.apache.hadoop.hbase.client.Get-">exists</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#get-org.apache.hadoop.hbase.client.Get-">get</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getConfiguration--">getConfiguration</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getName--">getName</a>, <a href="../../../../ ../org/apache/hadoop/hbase/client/AsyncTableBase.html#getOperationTimeout-java.util.concurrent.TimeUnit-">getOperationTimeout</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getReadRpcTimeout-java.util.concurrent.TimeUnit-">getReadRpcTimeout</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getScanTimeout-java.util.concurrent.TimeUnit-">getScanTimeout</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#getWriteRpcTimeout-java.util.concurrent.TimeUnit-">getWriteRpcTimeout</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#increment-org.apache.hadoop.hbase.client.Increment-">increment</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#incrementColumnValue-byte:A-byte:A-byte:A-long-">incrementColumnValue</a>, <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>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#mutateRow-org.apache.hadoop.hbase.client.RowMutations-">mutateRow</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#put-org.apache.hadoop.hbase.client.Put-">put</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#setOperationTimeout-long-java.util.concurrent.TimeUnit-">setOperationTimeout</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#setReadRpcTimeout-long-java.util.concurrent.TimeUnit-">setReadRpcTimeout</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#setScanTimeout-long-java.util.concurrent.TimeUnit-">setScanTimeout</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#setWriteRpcTimeout-long-java.util.concurrent.TimeUnit-">setWriteRpcTimeout</a>, <a href="../../../../../org/apache/hadoop/hbase/client/ AsyncTableBase.html#smallScan-org.apache.hadoop.hbase.client.Scan-">smallScan</a>, <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.html#smallScan-org.apache.hadoop.hbase.client.Scan-int-">smallScan</a></code></li> +</ul> </li> </ul> </li> @@ -355,519 +180,53 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client <!-- --> </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/AsyncTable.html#line.50">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/AsyncTable.html#line.57">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="setReadRpcTimeout-long-java.util.concurrent.TimeUnit-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setReadRpcTimeout</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.65">setReadRpcTimeout</a>(long timeout, - <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">Set timeout of each rpc read request in operations of this Table instance, will override the - value of <code>hbase.rpc.read.timeout</code> in configuration. If a rpc read request waiting too - long, it will stop waiting and send a new request to retry until retries exhausted or operation - timeout reached.</div> -</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/AsyncTable.html#line.70">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="setWriteRpcTimeout-long-java.util.concurrent.TimeUnit-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setWriteRpcTimeout</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.78">setWriteRpcTimeout</a>(long timeout, - <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">Set timeout of each rpc write request in operations of this Table instance, will override the - value of <code>hbase.rpc.write.timeout</code> in configuration. If a rpc write request waiting too - long, it will stop waiting and send a new request to retry until retries exhausted or operation - timeout reached.</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/AsyncTable.html#line.83">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="setOperationTimeout-long-java.util.concurrent.TimeUnit-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setOperationTimeout</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.95">setOperationTimeout</a>(long timeout, - <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">Set timeout of each operation in this Table instance, will override the value of - <code>hbase.client.operation.timeout</code> in configuration. - <p> - Operation timeout is a top-level restriction that makes sure an operation will not be blocked - more than this. In each operation, if rpc request fails because of timeout or other reason, it - will retry until success or throw a RetriesExhaustedException. But if the total time elapsed - reach the operation timeout before retries exhausted, it will break early and throw - SocketTimeoutException.</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/AsyncTable.html#line.100">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="setScanTimeout-long-java.util.concurrent.TimeUnit-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>setScanTimeout</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.110">setScanTimeout</a>(long timeout, - <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">Set timeout of a single operation in a scan, such as openScanner and next. Will override the - value <code>hbase.client.scanner.timeout.period</code> in configuration. - <p> - Generally a scan will never timeout after we add heartbeat support unless the region is - crashed. The <code>scanTimeout</code> works like the <code>operationTimeout</code> for each single - operation in a scan.</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/AsyncTable.html#line.115">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.</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/AsyncTable.html#line.126">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/AsyncTable.html#line.142">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/AsyncTable.html#line.149">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/AsyncTable.html#line.156">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/AsyncTable.html#line.169">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/AsyncTable.html#line.182">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/AsyncTable.html#line.195">incrementColumnValue</a>(byte[] row, - byte[] family, - byte[] qualifier, - long amount)</pre> -<div class="block">See <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.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/AsyncTable.html#line.215">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/AsyncTable.html#line.237">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/AsyncTable.html#line.255">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 name="getScanner-byte:A-"> <!-- --> </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/AsyncTable.html#line.270">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> +<h4>getScanner</h4> +<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.39">getScanner</a>(byte[] family)</pre> +<div class="block">Gets a scanner on the current table for the given family.</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> +<dd><code>family</code> - The column family to scan.</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> +<dd>A scanner.</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 name="getScanner-byte:A-byte:A-"> <!-- --> </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/AsyncTable.html#line.288">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> +<h4>getScanner</h4> +<pre>default <a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.49">getScanner</a>(byte[] family, + byte[] qualifier)</pre> +<div class="block">Gets a scanner on the current table for the given family and qualifier.</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> +<dd><code>family</code> - The column family to scan.</dd> +<dd><code>qualifier</code> - The column qualifier to scan.</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> +<dd>A scanner.</dd> </dl> </li> </ul> -<a name="mutateRow-org.apache.hadoop.hbase.client.RowMutations-"> +<a name="getScanner-org.apache.hadoop.hbase.client.Scan-"> <!-- --> </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/AsyncTable.html#line.297">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/AsyncTable.html#line.311">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/AsyncTable.html#line.329">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="smallScan-org.apache.hadoop.hbase.client.Scan-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>smallScan</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/AsyncTable.html#line.336">smallScan</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">Just call <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#smallScan-org.apache.hadoop.hbase.client.Scan-int-"><code>smallScan(Scan, int)</code></a> with <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a>.</div> -<dl> -<dt><span class="seeLabel">See Also:</span></dt> -<dd><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html#smallScan-org.apache.hadoop.hbase.client.Scan-int-"><code>smallScan(Scan, int)</code></a></dd> -</dl> -</li> -</ul> -<a name="smallScan-org.apache.hadoop.hbase.client.Scan-int-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>smallScan</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/AsyncTable.html#line.352">smallScan</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan, - int limit)</pre> -<div class="block">Return all the results that match the given scan object. The number of the returned results - will not be greater than <code>limit</code>. - <p> - Notice that the scan must be small, and should not use batch or allowPartialResults. The - <code>caching</code> property of the scan object is also ignored as we will use <code>limit</code> - instead.</div> +<h4>getScanner</h4> +<pre><a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.html" title="interface in org.apache.hadoop.hbase.client">ResultScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.58">getScanner</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">Returns a scanner on the current table as specified by the <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a> object.</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.</dd> -<dd><code>limit</code> - the limit of results count</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> +<dd>A scanner.</dd> </dl> </li> </ul> @@ -877,24 +236,13 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client <ul class="blockListLast"> <li class="blockList"> <h4>scan</h4> -<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.374">scan</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan, +<pre>void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/AsyncTable.html#line.69">scan</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan, <a href="../../../../../org/apache/hadoop/hbase/client/ScanResultConsumer.html" title="interface in org.apache.hadoop.hbase.client">ScanResultConsumer</a> consumer)</pre> -<div class="block">The basic scan API uses the observer pattern. All results that match the given scan object will - be passed to the given <code>consumer</code> by calling <a href="../../../../../org/apache/hadoop/hbase/client/ScanResultConsumer.html#onNext-org.apache.hadoop.hbase.client.Result:A-"><code>ScanResultConsumer.onNext(Result[])</code></a>. +<div class="block">The scan API uses the observer pattern. All results that match the given scan object will be + passed to the given <code>consumer</code> by calling <a href="../../../../../org/apache/hadoop/hbase/client/ScanResultConsumer.html#onNext-org.apache.hadoop.hbase.client.Result-"><code>ScanResultConsumer.onNext(Result)</code></a>. <a href="../../../../../org/apache/hadoop/hbase/client/ScanResultConsumer.html#onComplete--"><code>ScanResultConsumer.onComplete()</code></a> means the scan is finished, and <a href="../../../../../org/apache/hadoop/hbase/client/ScanResultConsumer.html#onError-java.lang.Throwable-"><code>ScanResultConsumer.onError(Throwable)</code></a> means we hit an unrecoverable error and the scan - is terminated. <a href="../../../../../org/apache/hadoop/hbase/client/ScanResultConsumer.html#onHeartbeat--"><code>ScanResultConsumer.onHeartbeat()</code></a> means the RS is still working but we - can not get a valid result to call <a href="../../../../../org/apache/hadoop/hbase/client/ScanResultConsumer.html#onNext-org.apache.hadoop.hbase.client.Result:A-"><code>ScanResultConsumer.onNext(Result[])</code></a>. This is usually - because the matched results are too sparse, for example, a filter which almost filters out - everything is specified. - <p> - Notice that, the methods of the given <code>consumer</code> will be called directly in the rpc - framework's callback thread, so typically you should not do any time consuming work inside - these methods, otherwise you will be likely to block at least one connection to RS(even more if - the rpc framework uses NIO). - <p> - This method is only for experts, do <strong>NOT</strong> use this method if you have other - choice.</div> + is terminated.</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.</dd> @@ -931,7 +279,7 @@ public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/apache/hadoop/hbase/client/AsyncConnection.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/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../org/apache/hadoop/hbase/client/AsyncTableBase.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/AsyncTable.html" target="_top">Frames</a></li>
