| <!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>Table (Apache HBase 3.0.0-alpha-2-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="Table (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":18,"i1":18,"i2":50,"i3":50,"i4":50,"i5":50,"i6":50,"i7":18,"i8":18,"i9":18,"i10":50,"i11":50,"i12":50,"i13":18,"i14":18,"i15":18,"i16":18,"i17":18,"i18":18,"i19":6,"i20":6,"i21":6,"i22":18,"i23":18,"i24":6,"i25":18,"i26":18,"i27":18,"i28":18,"i29":18,"i30":18,"i31":18,"i32":18,"i33":18,"i34":18,"i35":18}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"],32:["t6","Deprecated 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/Table.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/SnapshotType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/hadoop/hbase/client/TableBuilder.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/Table.html" target="_top">Frames</a></li> |
| <li><a href="Table.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 Table" class="title">Interface Table</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Superinterfaces:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>@InterfaceAudience.Public |
| public interface <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.58">Table</a> |
| extends <a href="https://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">Used to communicate with a single HBase table. |
| Obtain an instance from a <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><code>Connection</code></a> and call <a href="../../../../../org/apache/hadoop/hbase/client/Table.html#close--"><code>close()</code></a> afterwards. |
| |
| <p><code>Table</code> can be used to get, put, delete or scan data from a table.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.99.0</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/hadoop/hbase/client/ConnectionFactory.html" title="class in org.apache.hadoop.hbase.client"><code>ConnectionFactory</code></a>, |
| <a href="../../../../../org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><code>Connection</code></a>, |
| <a href="../../../../../org/apache/hadoop/hbase/client/Admin.html" title="interface in org.apache.hadoop.hbase.client"><code>Admin</code></a>, |
| <a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionLocator</code></a></dd> |
| </dl> |
| </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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated 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>default <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/Table.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>default void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#batch-java.util.List-java.lang.Object:A-">batch</a></span>(<a href="https://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, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] results)</code> |
| <div class="block">Method that does a batch call on Deletes, Gets, Puts, Increments, Appends, RowMutations.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>default <R> void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#batchCallback-java.util.List-java.lang.Object:A-org.apache.hadoop.hbase.client.coprocessor.Batch.Callback-">batchCallback</a></span>(<a href="https://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, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] results, |
| org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since 3.0.0, will removed in 4.0.0. Please use the batch related methods in |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> directly if you want to use callback. We reuse the callback for |
| coprocessor here, and the problem is that for batch operation, the |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> does not tell us the region, so in this method we need an extra |
| locating after we get the result, which is not good.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>default <R extends org.apache.hbase.thirdparty.com.google.protobuf.Message><br><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><byte[],R></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#batchCoprocessorService-org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor-org.apache.hbase.thirdparty.com.google.protobuf.Message-byte:A-byte:A-R-">batchCoprocessorService</a></span>(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, |
| org.apache.hbase.thirdparty.com.google.protobuf.Message request, |
| byte[] startKey, |
| byte[] endKey, |
| R responsePrototype)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since 3.0.0, will removed in 4.0.0. The batch call here references the blocking |
| interface for of a protobuf stub, so it is not possible to do it in an asynchronous |
| way, even if now we are building the <a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> implementation based on the |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a>, which is not good. Use the coprocessorService methods in |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> directly instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>default <R extends org.apache.hbase.thirdparty.com.google.protobuf.Message><br>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#batchCoprocessorService-org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor-org.apache.hbase.thirdparty.com.google.protobuf.Message-byte:A-byte:A-R-org.apache.hadoop.hbase.client.coprocessor.Batch.Callback-">batchCoprocessorService</a></span>(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, |
| org.apache.hbase.thirdparty.com.google.protobuf.Message request, |
| byte[] startKey, |
| byte[] endKey, |
| R responsePrototype, |
| org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since 3.0.0, will removed in 4.0.0. The batch call here references the blocking |
| interface for of a protobuf stub, so it is not possible to do it in an asynchronous |
| way, even if now we are building the <a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> implementation based on the |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a>, which is not good. Use the coprocessorService methods in |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> directly instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>default org.apache.hadoop.hbase.client.Table.CheckAndMutateBuilder</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#checkAndMutate-byte:A-byte:A-">checkAndMutate</a></span>(byte[] row, |
| byte[] family)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">Since 3.0.0, will be removed in 4.0.0. For internal test use only, do not use it |
| any more.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>default org.apache.hadoop.hbase.client.Table.CheckAndMutateWithFilterBuilder</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-">checkAndMutate</a></span>(byte[] row, |
| <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">Since 3.0.0, will be removed in 4.0.0. For internal test use only, do not use it |
| any more.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/client/CheckAndMutateResult.html" title="class in org.apache.hadoop.hbase.client">CheckAndMutateResult</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#checkAndMutate-org.apache.hadoop.hbase.client.CheckAndMutate-">checkAndMutate</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/CheckAndMutate.html" title="class in org.apache.hadoop.hbase.client">CheckAndMutate</a> checkAndMutate)</code> |
| <div class="block">checkAndMutate that atomically checks if a row matches the specified condition.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>default <a href="https://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/CheckAndMutateResult.html" title="class in org.apache.hadoop.hbase.client">CheckAndMutateResult</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#checkAndMutate-java.util.List-">checkAndMutate</a></span>(<a href="https://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/CheckAndMutate.html" title="class in org.apache.hadoop.hbase.client">CheckAndMutate</a>> checkAndMutates)</code> |
| <div class="block">Batch version of checkAndMutate.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>default void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#close--">close</a></span>()</code> |
| <div class="block">Releases any resources held or pending changes in internal buffers.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>default <a href="../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="interface in org.apache.hadoop.hbase.ipc">CoprocessorRpcChannel</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#coprocessorService-byte:A-">coprocessorService</a></span>(byte[] row)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since 3.0.0, will removed in 4.0.0. This is too low level, please stop using it any |
| more. Use the coprocessorService methods in <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>default <T extends org.apache.hbase.thirdparty.com.google.protobuf.Service,R><br><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><byte[],R></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#coprocessorService-java.lang.Class-byte:A-byte:A-org.apache.hadoop.hbase.client.coprocessor.Batch.Call-">coprocessorService</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service, |
| byte[] startKey, |
| byte[] endKey, |
| org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since 3.0.0, will removed in 4.0.0. The batch call here references the blocking |
| interface for of a protobuf stub, so it is not possible to do it in an asynchronous |
| way, even if now we are building the <a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> implementation based on the |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a>, which is not good. Use the coprocessorService methods in |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> directly instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>default <T extends org.apache.hbase.thirdparty.com.google.protobuf.Service,R><br>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#coprocessorService-java.lang.Class-byte:A-byte:A-org.apache.hadoop.hbase.client.coprocessor.Batch.Call-org.apache.hadoop.hbase.client.coprocessor.Batch.Callback-">coprocessorService</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service, |
| byte[] startKey, |
| byte[] endKey, |
| org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable, |
| org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since 3.0.0, will removed in 4.0.0. The batch call here references the blocking |
| interface for of a protobuf stub, so it is not possible to do it in an asynchronous |
| way, even if now we are building the <a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> implementation based on the |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a>, which is not good. Use the coprocessorService methods in |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> directly instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>default void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.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="i14" class="altColor"> |
| <td class="colFirst"><code>default void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#delete-java.util.List-">delete</a></span>(<a href="https://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">Batch Deletes the specified cells/rows from the table.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>default boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.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="i16" class="altColor"> |
| <td class="colFirst"><code>default boolean[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#exists-java.util.List-">exists</a></span>(<a href="https://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="i17" class="rowColor"> |
| <td class="colFirst"><code>default <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/Table.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="i18" class="altColor"> |
| <td class="colFirst"><code>default <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/Table.html#get-java.util.List-">get</a></span>(<a href="https://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 specified cells from the given rows, as a batch.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <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/Table.html#getConfiguration--">getConfiguration</a></span>()</code> |
| <div class="block">Returns the <code>Configuration</code> object used by this instance.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getDescriptor--">getDescriptor</a></span>()</code> |
| <div class="block">Gets the <a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client"><code>table descriptor</code></a> for this table.</div> |
| </td> |
| </tr> |
| <tr id="i21" 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/Table.html#getName--">getName</a></span>()</code> |
| <div class="block">Gets the fully qualified table name instance of this table.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>default long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getOperationTimeout-java.util.concurrent.TimeUnit-">getOperationTimeout</a></span>(<a href="https://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="i23" class="rowColor"> |
| <td class="colFirst"><code>default long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getReadRpcTimeout-java.util.concurrent.TimeUnit-">getReadRpcTimeout</a></span>(<a href="https://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="i24" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getRegionLocator--">getRegionLocator</a></span>()</code> |
| <div class="block">Gets the <a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionLocator</code></a> for this table.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>default long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getRpcTimeout-java.util.concurrent.TimeUnit-">getRpcTimeout</a></span>(<a href="https://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="i26" class="altColor"> |
| <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/Table.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="i27" class="rowColor"> |
| <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/Table.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="i28" class="altColor"> |
| <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/Table.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="i29" class="rowColor"> |
| <td class="colFirst"><code>default long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getWriteRpcTimeout-java.util.concurrent.TimeUnit-">getWriteRpcTimeout</a></span>(<a href="https://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="i30" class="altColor"> |
| <td class="colFirst"><code>default <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/Table.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="i31" class="rowColor"> |
| <td class="colFirst"><code>default long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.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/Table.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="i32" class="altColor"> |
| <td class="colFirst"><code>default long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.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="i33" class="rowColor"> |
| <td class="colFirst"><code>default <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/Table.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> rm)</code> |
| <div class="block">Performs multiple mutations atomically on a single row.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>default void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#put-java.util.List-">put</a></span>(<a href="https://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">Batch puts the specified data into the table.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>default void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Table.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 in the table.</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/Table.html#line.62">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/Table.html#line.70">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="getDescriptor--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDescriptor</h4> |
| <pre><a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.76">getDescriptor</a>() |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Gets the <a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client"><code>table descriptor</code></a> for this table.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRegionLocator--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRegionLocator</h4> |
| <pre><a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.81">getRegionLocator</a>() |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Gets the <a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><code>RegionLocator</code></a> for this table.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="exists-org.apache.hadoop.hbase.client.Get-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>exists</h4> |
| <pre>default boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.97">exists</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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="paramLabel">Parameters:</span></dt> |
| <dd><code>get</code> - the Get</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the specified Get matches one or more keys, false if not</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - e</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="exists-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>exists</h4> |
| <pre>default boolean[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.116">exists</a>(<a href="https://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) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Test for the existence of columns in the table, as specified by the Gets. |
| <p> |
| |
| This will return an array 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>Array of boolean. True if the specified Get matches one or more keys, false if not.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - e</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="batch-java.util.List-java.lang.Object:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>batch</h4> |
| <pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.134">batch</a>(<a href="https://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, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] results) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre> |
| <div class="block">Method that does a batch call on Deletes, Gets, Puts, Increments, Appends, RowMutations. |
| 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/Table.html#batch-java.util.List-java.lang.Object:A-"><code>batch(java.util.List<? extends org.apache.hadoop.hbase.client.Row>, java.lang.Object[])</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, RowMutations.</dd> |
| <dd><code>results</code> - Empty Object[], same size as actions. Provides access to partial |
| results, in case an exception is thrown. A null in the result array means that |
| the call for that action failed, even after retries. The order of the objects |
| in the results array corresponds to the order of actions in the request list.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.90.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="batchCallback-java.util.List-java.lang.Object:A-org.apache.hadoop.hbase.client.coprocessor.Batch.Callback-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>batchCallback</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| default <R> void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.149">batchCallback</a>(<a href="https://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, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] results, |
| org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 3.0.0, will removed in 4.0.0. Please use the batch related methods in |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> directly if you want to use callback. We reuse the callback for |
| coprocessor here, and the problem is that for batch operation, the |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> does not tell us the region, so in this method we need an extra |
| locating after we get the result, which is not good.</span></div> |
| <div class="block">Same as <a href="../../../../../org/apache/hadoop/hbase/client/Table.html#batch-java.util.List-java.lang.Object:A-"><code>batch(List, Object[])</code></a>, but with a callback.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.96.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="get-org.apache.hadoop.hbase.client.Get-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre>default <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/Table.html#line.164">get</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client">Get</a> get) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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>.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.20.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="get-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre>default <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/Table.html#line.185">get</a>(<a href="https://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) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Extracts specified cells from the given rows, as a batch.</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>The data coming from the specified rows, 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 |
| <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>s, as indicated by <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#isEmpty--"><code>Result.isEmpty()</code></a>. If there |
| are any failures even after retries, there will be a <code>null</code> in the results' array |
| for those Gets, AND an exception will be thrown. The ordering of the Result array |
| corresponds to the order of the list of passed in Gets.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.90.0</dd> |
| <dt><span class="simpleTagLabel">API Note:</span></dt> |
| <dd><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#put-java.util.List-"><code>put(List)</code></a> runs pre-flight validations on the input list on client. |
| Currently <a href="../../../../../org/apache/hadoop/hbase/client/Table.html#get-java.util.List-"><code>get(List)</code></a> doesn't run any validations on the client-side, |
| currently there is no need, but this may change in the future. An |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> will be thrown in this case.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getScanner-org.apache.hadoop.hbase.client.Scan-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <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/Table.html#line.200">getScanner</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client">Scan</a> scan) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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. |
| Note that the passed <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a>'s start row and caching properties |
| maybe changed.</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> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A scanner.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.20.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getScanner-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <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/Table.html#line.212">getScanner</a>(byte[] family) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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>family</code> - The column family to scan.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A scanner.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.20.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getScanner-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <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/Table.html#line.225">getScanner</a>(byte[] family, |
| byte[] qualifier) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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>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>A scanner.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.20.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="put-org.apache.hadoop.hbase.client.Put-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>put</h4> |
| <pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.236">put</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a> put) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Puts some data in the table.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>put</code> - The data to put.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.20.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="put-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>put</h4> |
| <pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.256">put</a>(<a href="https://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) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Batch puts the specified data into the table. |
| <p> |
| This can be used for group commit, or for submitting user defined batches. Before sending |
| a batch of mutations to the server, the client runs a few validations on the input list. If an |
| error is found, for example, a mutation was supplied but was missing it's column an |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> will be thrown and no mutations will be applied. If there |
| are any failures even after retries, a <a href="../../../../../org/apache/hadoop/hbase/client/RetriesExhaustedWithDetailsException.html" title="class in org.apache.hadoop.hbase.client"><code>RetriesExhaustedWithDetailsException</code></a> will be |
| thrown. RetriesExhaustedWithDetailsException contains lists of failed mutations and |
| corresponding remote exceptions. The ordering of mutations and exceptions in the |
| encapsulating exception corresponds to the order of the input list of Put requests.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>puts</code> - The list of mutations to apply.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.20.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="delete-org.apache.hadoop.hbase.client.Delete-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>delete</h4> |
| <pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.267">delete</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client">Delete</a> delete) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.20.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="delete-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>delete</h4> |
| <pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.294">delete</a>(<a href="https://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) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Batch Deletes the specified cells/rows from the table. |
| <p> |
| If a specified row does not exist, <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client"><code>Delete</code></a> will report as though sucessful |
| delete; no exception will be thrown. If there are any failures even after retries, |
| a <a href="../../../../../org/apache/hadoop/hbase/client/RetriesExhaustedWithDetailsException.html" title="class in org.apache.hadoop.hbase.client"><code>RetriesExhaustedWithDetailsException</code></a> will be thrown. |
| RetriesExhaustedWithDetailsException contains lists of failed <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client"><code>Delete</code></a>s and |
| corresponding remote exceptions.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>deletes</code> - List of things to delete. The input list gets modified by this |
| method. All successfully applied <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client"><code>Delete</code></a>s in the list are removed (in particular it |
| gets re-ordered, so the order in which the elements are inserted in the list gives no |
| guarantee as to the order in which the <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client"><code>Delete</code></a>s are executed).</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs. In that case |
| the <code>deletes</code> argument will contain the <a href="../../../../../org/apache/hadoop/hbase/client/Delete.html" title="class in org.apache.hadoop.hbase.client"><code>Delete</code></a> instances |
| that have not be successfully applied.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>0.20.1</dd> |
| <dt><span class="simpleTagLabel">API Note:</span></dt> |
| <dd>In 3.0.0 version, the input list <code>deletes</code> will no longer be modified. Also, |
| <a href="../../../../../org/apache/hadoop/hbase/client/Table.html#put-java.util.List-"><code>put(List)</code></a> runs pre-flight validations on the input list on client. Currently |
| <a href="../../../../../org/apache/hadoop/hbase/client/Table.html#delete-java.util.List-"><code>delete(List)</code></a> doesn't run validations on the client, there is no need |
| currently, but this may change in the future. An * <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> |
| will be thrown in this case.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkAndMutate-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkAndMutate</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| default org.apache.hadoop.hbase.client.Table.CheckAndMutateBuilder <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.315">checkAndMutate</a>(byte[] row, |
| byte[] family)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since 3.0.0, will be removed in 4.0.0. For internal test use only, do not use it |
| any more.</span></div> |
| <div class="block">Atomically checks if a row/family/qualifier value matches the expected value. If it does, it |
| adds the Put/Delete/RowMutations. |
| <p> |
| Use the returned <code>Table.CheckAndMutateBuilder</code> to construct your request and then execute it. |
| This is a fluent style API, the code is like: |
| |
| <pre> |
| <code> |
| table.checkAndMutate(row, family).qualifier(qualifier).ifNotExists().thenPut(put); |
| </code> |
| </pre></div> |
| </li> |
| </ul> |
| <a name="checkAndMutate-byte:A-org.apache.hadoop.hbase.filter.Filter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkAndMutate</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| default org.apache.hadoop.hbase.client.Table.CheckAndMutateWithFilterBuilder <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.393">checkAndMutate</a>(byte[] row, |
| <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a> filter)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since 3.0.0, will be removed in 4.0.0. For internal test use only, do not use it |
| any more.</span></div> |
| <div class="block">Atomically checks if a row matches the specified filter. If it does, it adds the |
| Put/Delete/RowMutations. |
| <p> |
| Use the returned <code>Table.CheckAndMutateWithFilterBuilder</code> to construct your request and then |
| execute it. This is a fluent style API, the code is like: |
| |
| <pre> |
| <code> |
| table.checkAndMutate(row, filter).thenPut(put); |
| </code> |
| </pre></div> |
| </li> |
| </ul> |
| <a name="checkAndMutate-org.apache.hadoop.hbase.client.CheckAndMutate-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkAndMutate</h4> |
| <pre>default <a href="../../../../../org/apache/hadoop/hbase/client/CheckAndMutateResult.html" title="class in org.apache.hadoop.hbase.client">CheckAndMutateResult</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.438">checkAndMutate</a>(<a href="../../../../../org/apache/hadoop/hbase/client/CheckAndMutate.html" title="class in org.apache.hadoop.hbase.client">CheckAndMutate</a> checkAndMutate) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">checkAndMutate that atomically checks if a row matches the specified condition. If it does, |
| it performs the specified action.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>checkAndMutate</code> - The CheckAndMutate object.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A CheckAndMutateResult object that represents the result for the CheckAndMutate.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkAndMutate-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkAndMutate</h4> |
| <pre>default <a href="https://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/CheckAndMutateResult.html" title="class in org.apache.hadoop.hbase.client">CheckAndMutateResult</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.452">checkAndMutate</a>(<a href="https://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/CheckAndMutate.html" title="class in org.apache.hadoop.hbase.client">CheckAndMutate</a>> checkAndMutates) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Batch version of checkAndMutate. The specified CheckAndMutates are batched only in the sense |
| that they are sent to a RS in one RPC, but each CheckAndMutate operation is still executed |
| atomically (and thus, each may fail independently of others).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>checkAndMutates</code> - The list of CheckAndMutate.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A list of CheckAndMutateResult objects that represents the result for each |
| CheckAndMutate.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="mutateRow-org.apache.hadoop.hbase.client.RowMutations-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mutateRow</h4> |
| <pre>default <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/Table.html#line.465">mutateRow</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RowMutations.html" title="class in org.apache.hadoop.hbase.client">RowMutations</a> rm) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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>rm</code> - object that specifies the set of mutations to perform atomically</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>results of Increment/Append operations</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="append-org.apache.hadoop.hbase.client.Append-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>append</h4> |
| <pre>default <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/Table.html#line.480">append</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Append.html" title="class in org.apache.hadoop.hbase.client">Append</a> append) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Appends values to one or more columns within a single row. |
| <p> |
| This operation guaranteed atomicity to readers. Appends are done |
| under a single row lock, so write operations to a row are synchronized, and |
| readers are guaranteed to see this operation fully completed.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>append</code> - object that specifies the columns and values to be appended</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>values of columns after the append operation (maybe null)</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - e</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="increment-org.apache.hadoop.hbase.client.Increment-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>increment</h4> |
| <pre>default <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/Table.html#line.496">increment</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Increment.html" title="class in org.apache.hadoop.hbase.client">Increment</a> increment) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Increments one or more columns within a single row. |
| <p> |
| This operation ensures atomicity to readers. Increments are done |
| under a single row lock, so write operations to a row are synchronized, and |
| readers are guaranteed to see this operation fully 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</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - e</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 long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.512">incrementColumnValue</a>(byte[] row, |
| byte[] family, |
| byte[] qualifier, |
| long amount) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">See <a href="../../../../../org/apache/hadoop/hbase/client/Table.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.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</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 long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.536">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) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></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.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="close--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>close</h4> |
| <pre>default void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.551">close</a>() |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Releases any resources held or pending changes in internal buffers.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true#close--" title="class or interface in java.io">close</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if a remote or network exception occurs.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="coprocessorService-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>coprocessorService</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| default <a href="../../../../../org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="interface in org.apache.hadoop.hbase.ipc">CoprocessorRpcChannel</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.585">coprocessorService</a>(byte[] row)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 3.0.0, will removed in 4.0.0. This is too low level, please stop using it any |
| more. Use the coprocessorService methods in <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> instead.</span></div> |
| <div class="block">Creates and returns a <code>RpcChannel</code> |
| instance connected to the table region containing the specified row. The row given does not |
| actually have to exist. Whichever region would contain the row based on start and end keys will |
| be used. Note that the <code>row</code> parameter is also not passed to the coprocessor handler |
| registered for this protocol, unless the <code>row</code> is separately passed as an argument in the |
| service request. The parameter here is only used to locate the region used to handle the call. |
| <p/> |
| The obtained <code>RpcChannel</code> instance can be |
| used to access a published coprocessor <code>Service</code> using standard protobuf service |
| invocations: |
| <p/> |
| <div style="background-color: #cccccc; padding: 2px"> <blockquote> |
| <pre> |
| CoprocessorRpcChannel channel = myTable.coprocessorService(rowkey); |
| MyService.BlockingInterface service = MyService.newBlockingStub(channel); |
| MyCallRequest request = MyCallRequest.newBuilder() |
| ... |
| .build(); |
| MyCallResponse response = service.myCall(null, request); |
| </pre> |
| </blockquote> |
| </div></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>row</code> - The row key used to identify the remote region location</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A CoprocessorRpcChannel instance</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#toAsyncConnection--"><code>Connection.toAsyncConnection()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="coprocessorService-java.lang.Class-byte:A-byte:A-org.apache.hadoop.hbase.client.coprocessor.Batch.Call-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>coprocessorService</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| default <T extends org.apache.hbase.thirdparty.com.google.protobuf.Service,R> <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><byte[],R> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.615">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service, |
| byte[] startKey, |
| byte[] endKey, |
| org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable) |
| throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 3.0.0, will removed in 4.0.0. The batch call here references the blocking |
| interface for of a protobuf stub, so it is not possible to do it in an asynchronous |
| way, even if now we are building the <a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> implementation based on the |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a>, which is not good. Use the coprocessorService methods in |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> directly instead.</span></div> |
| <div class="block">Creates an instance of the given <code>Service</code> subclass for each table region spanning the |
| range from the <code>startKey</code> row to <code>endKey</code> row (inclusive), and invokes the passed |
| <code>Batch.Call.call(T)</code> method with each |
| <code>Service</code> instance.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - the <code>Service</code> subclass to connect to</dd> |
| <dd><code>R</code> - Return type for the <code>callable</code> parameter's |
| <code>Batch.Call.call(T)</code> method</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>service</code> - the protocol buffer <code>Service</code> implementation to call</dd> |
| <dd><code>startKey</code> - start region selection with region containing this row. If <code>null</code>, the |
| selection will start with the first table region.</dd> |
| <dd><code>endKey</code> - select regions up to and including the region containing this row. If |
| <code>null</code>, selection will continue through the last table region.</dd> |
| <dd><code>callable</code> - this instance's |
| <code>Batch.Call.call(T)</code> method will be |
| invoked once per table region, using the <code>Service</code> instance connected to that |
| region.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a map of result values keyed by region name</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.apache.hbase.thirdparty.com.google.protobuf.ServiceException</code></dd> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#toAsyncConnection--"><code>Connection.toAsyncConnection()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="coprocessorService-java.lang.Class-byte:A-byte:A-org.apache.hadoop.hbase.client.coprocessor.Batch.Call-org.apache.hadoop.hbase.client.coprocessor.Batch.Callback-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>coprocessorService</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| default <T extends org.apache.hbase.thirdparty.com.google.protobuf.Service,R> void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.661">coprocessorService</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> service, |
| byte[] startKey, |
| byte[] endKey, |
| org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable, |
| org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) |
| throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 3.0.0, will removed in 4.0.0. The batch call here references the blocking |
| interface for of a protobuf stub, so it is not possible to do it in an asynchronous |
| way, even if now we are building the <a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> implementation based on the |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a>, which is not good. Use the coprocessorService methods in |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> directly instead.</span></div> |
| <div class="block">Creates an instance of the given <code>Service</code> subclass for each table region spanning the |
| range from the <code>startKey</code> row to <code>endKey</code> row (inclusive), and invokes the passed |
| <code>Batch.Call.call(T)</code> method with each |
| <code>Service</code> instance. |
| <p/> |
| The given |
| <code>Batch.Callback.update(byte[],byte[],Object)</code> |
| method will be called with the return value from each region's |
| <code>Batch.Call.call(T)</code> invocation.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - the <code>Service</code> subclass to connect to</dd> |
| <dd><code>R</code> - Return type for the <code>callable</code> parameter's |
| <code>Batch.Call.call(T)</code> method</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>service</code> - the protocol buffer <code>Service</code> implementation to call</dd> |
| <dd><code>startKey</code> - start region selection with region containing this row. If <code>null</code>, the |
| selection will start with the first table region.</dd> |
| <dd><code>endKey</code> - select regions up to and including the region containing this row. If |
| <code>null</code>, selection will continue through the last table region.</dd> |
| <dd><code>callable</code> - this instance's |
| <code>Batch.Call.call(T)</code> method will be |
| invoked once per table region, using the <code>Service</code> instance connected to that |
| region.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.apache.hbase.thirdparty.com.google.protobuf.ServiceException</code></dd> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#toAsyncConnection--"><code>Connection.toAsyncConnection()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="batchCoprocessorService-org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor-org.apache.hbase.thirdparty.com.google.protobuf.Message-byte:A-byte:A-org.apache.hbase.thirdparty.com.google.protobuf.Message-"> |
| <!-- --> |
| </a><a name="batchCoprocessorService-org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor-org.apache.hbase.thirdparty.com.google.protobuf.Message-byte:A-byte:A-R-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>batchCoprocessorService</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| default <R extends org.apache.hbase.thirdparty.com.google.protobuf.Message> <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><byte[],R> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.689">batchCoprocessorService</a>(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, |
| org.apache.hbase.thirdparty.com.google.protobuf.Message request, |
| byte[] startKey, |
| byte[] endKey, |
| R responsePrototype) |
| throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 3.0.0, will removed in 4.0.0. The batch call here references the blocking |
| interface for of a protobuf stub, so it is not possible to do it in an asynchronous |
| way, even if now we are building the <a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> implementation based on the |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a>, which is not good. Use the coprocessorService methods in |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> directly instead.</span></div> |
| <div class="block">Creates an instance of the given <code>Service</code> subclass for each table region spanning the |
| range from the <code>startKey</code> row to <code>endKey</code> row (inclusive), all the invocations to |
| the same region server will be batched into one call. The coprocessor service is invoked |
| according to the service instance, method name and parameters.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>R</code> - the response type for the coprocessor Service method</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>methodDescriptor</code> - the descriptor for the protobuf service method to call.</dd> |
| <dd><code>request</code> - the method call parameters</dd> |
| <dd><code>startKey</code> - start region selection with region containing this row. If <code>null</code>, the |
| selection will start with the first table region.</dd> |
| <dd><code>endKey</code> - select regions up to and including the region containing this row. If |
| <code>null</code>, selection will continue through the last table region.</dd> |
| <dd><code>responsePrototype</code> - the proto type of the response of the method in Service.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a map of result values keyed by region name</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.apache.hbase.thirdparty.com.google.protobuf.ServiceException</code></dd> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#toAsyncConnection--"><code>Connection.toAsyncConnection()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="batchCoprocessorService-org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor-org.apache.hbase.thirdparty.com.google.protobuf.Message-byte:A-byte:A-org.apache.hbase.thirdparty.com.google.protobuf.Message-org.apache.hadoop.hbase.client.coprocessor.Batch.Callback-"> |
| <!-- --> |
| </a><a name="batchCoprocessorService-org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor-org.apache.hbase.thirdparty.com.google.protobuf.Message-byte:A-byte:A-R-org.apache.hadoop.hbase.client.coprocessor.Batch.Callback-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>batchCoprocessorService</h4> |
| <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| default <R extends org.apache.hbase.thirdparty.com.google.protobuf.Message> void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.732">batchCoprocessorService</a>(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, |
| org.apache.hbase.thirdparty.com.google.protobuf.Message request, |
| byte[] startKey, |
| byte[] endKey, |
| R responsePrototype, |
| org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) |
| throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 3.0.0, will removed in 4.0.0. The batch call here references the blocking |
| interface for of a protobuf stub, so it is not possible to do it in an asynchronous |
| way, even if now we are building the <a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client"><code>Table</code></a> implementation based on the |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a>, which is not good. Use the coprocessorService methods in |
| <a href="../../../../../org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><code>AsyncTable</code></a> directly instead.</span></div> |
| <div class="block">Creates an instance of the given <code>Service</code> subclass for each table region spanning the |
| range from the <code>startKey</code> row to <code>endKey</code> row (inclusive), all the invocations to |
| the same region server will be batched into one call. The coprocessor service is invoked |
| according to the service instance, method name and parameters. |
| <p/> |
| The given |
| <code>Batch.Callback.update(byte[],byte[],Object)</code> |
| method will be called with the return value from each region's invocation.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>R</code> - the response type for the coprocessor Service method</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>methodDescriptor</code> - the descriptor for the protobuf service method to call.</dd> |
| <dd><code>request</code> - the method call parameters</dd> |
| <dd><code>startKey</code> - start region selection with region containing this row. If <code>null</code>, the |
| selection will start with the first table region.</dd> |
| <dd><code>endKey</code> - select regions up to and including the region containing this row. If |
| <code>null</code>, selection will continue through the last table region.</dd> |
| <dd><code>responsePrototype</code> - the proto type of the response of the method in Service.</dd> |
| <dd><code>callback</code> - callback to invoke with the response for each region</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>org.apache.hbase.thirdparty.com.google.protobuf.ServiceException</code></dd> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/hadoop/hbase/client/Connection.html#toAsyncConnection--"><code>Connection.toAsyncConnection()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getRpcTimeout-java.util.concurrent.TimeUnit-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRpcTimeout</h4> |
| <pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.747">getRpcTimeout</a>(<a href="https://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="paramLabel">Parameters:</span></dt> |
| <dd><code>unit</code> - the unit of time the timeout to be represented in</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>rpc timeout in the specified time unit</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/apache/hadoop/hbase/client/Table.html#getReadRpcTimeout-java.util.concurrent.TimeUnit-"><code>getReadRpcTimeout(TimeUnit)</code></a>, |
| <a href="../../../../../org/apache/hadoop/hbase/client/Table.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>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.756">getReadRpcTimeout</a>(<a href="https://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> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>unit</code> - the unit of time the timeout to be represented in</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>read rpc timeout in the specified time unit</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getWriteRpcTimeout-java.util.concurrent.TimeUnit-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWriteRpcTimeout</h4> |
| <pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.765">getWriteRpcTimeout</a>(<a href="https://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> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>unit</code> - the unit of time the timeout to be represented in</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>write rpc timeout in the specified time unit</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getOperationTimeout-java.util.concurrent.TimeUnit-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getOperationTimeout</h4> |
| <pre>default long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Table.html#line.774">getOperationTimeout</a>(<a href="https://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> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>unit</code> - the unit of time the timeout to be represented in</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>operation rpc timeout in the specified time unit</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 navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.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/Table.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/SnapshotType.html" title="enum in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/hadoop/hbase/client/TableBuilder.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/Table.html" target="_top">Frames</a></li> |
| <li><a href="Table.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| 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.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2007–2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |