| <!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>Result (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="Result (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":9,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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/Result.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/RequestControllerFactory.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.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/Result.html" target="_top">Frames</a></li> |
| <li><a href="Result.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><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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="Class Result" class="title">Class Result</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.hadoop.hbase.client.Result</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../org/apache/hadoop/hbase/CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a>, <a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>@InterfaceAudience.Public |
| public class <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.83">Result</a> |
| extends <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> |
| implements <a href="../../../../../org/apache/hadoop/hbase/CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a>, <a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></pre> |
| <div class="block">Single row result of a <a href="../../../../../org/apache/hadoop/hbase/client/Get.html" title="class in org.apache.hadoop.hbase.client"><code>Get</code></a> or <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html" title="class in org.apache.hadoop.hbase.client"><code>Scan</code></a> query.<p> |
| |
| This class is <b>NOT THREAD SAFE</b>.<p> |
| |
| Convenience methods are available that return various <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> |
| structures and values directly.<p> |
| |
| To get a complete mapping of all cells in the Result, which can include |
| multiple families and multiple versions, use <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getMap--"><code>getMap()</code></a>.<p> |
| |
| To get a mapping of each family to its columns (qualifiers and values), |
| including only the latest version of each, use <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getNoVersionMap--"><code>getNoVersionMap()</code></a>. |
| |
| To get a mapping of qualifiers to latest values for an individual family use |
| <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getFamilyMap-byte:A-"><code>getFamilyMap(byte[])</code></a>.<p> |
| |
| To get the latest value for a specific family and qualifier use |
| <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getValue-byte:A-byte:A-"><code>getValue(byte[], byte[])</code></a>. |
| |
| A Result is backed by an array of <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a> objects, each representing |
| an HBase cell defined by the row, family, qualifier, timestamp, and value.<p> |
| |
| The underlying <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a> objects can be accessed through the method <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#listCells--"><code>listCells()</code></a>. |
| This will create a List from the internal Cell []. Better is to exploit the fact that |
| a new Result instance is a primed <a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase"><code>CellScanner</code></a>; just call <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#advance--"><code>advance()</code></a> and |
| <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#current--"><code>current()</code></a> to iterate over Cells as you would any <a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase"><code>CellScanner</code></a>. |
| Call <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#cellScanner--"><code>cellScanner()</code></a> to reset should you need to iterate the same Result over again |
| (<a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase"><code>CellScanner</code></a>s are one-shot). |
| |
| If you need to overwrite a Result with another Result instance -- as in the old 'mapred' |
| RecordReader next invocations -- then create an empty Result with the null constructor and |
| in then use <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#copyFrom-org.apache.hadoop.hbase.client.Result-"><code>copyFrom(Result)</code></a></div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#cells">cells</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#cellScannerIndex">cellScannerIndex</a></span></code> |
| <div class="block">Index for where we are when Result is acting as a <a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase"><code>CellScanner</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#cursor">cursor</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <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/Result.html#EMPTY_RESULT">EMPTY_RESULT</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#exists">exists</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,byte[]>>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#familyMap">familyMap</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#INITIAL_CELLSCANNER_INDEX">INITIAL_CELLSCANNER_INDEX</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ThreadLocal.html?is-external=true" title="class or interface in java.lang">ThreadLocal</a><byte[]></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#localBuffer">localBuffer</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#mayHaveMoreCellsInRow">mayHaveMoreCellsInRow</a></span></code> |
| <div class="block">See <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#mayHaveMoreCellsInRow--"><code>mayHaveMoreCellsInRow()</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#PAD_WIDTH">PAD_WIDTH</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#readonly">readonly</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#row">row</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#stale">stale</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../../../../org/apache/hadoop/hbase/client/RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#stats">stats</a></span></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colLast" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code> </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#Result--">Result</a></span>()</code> |
| <div class="block">Creates an empty Result w/ no KeyValue payload; returns null if you call <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#rawCells--"><code>rawCells()</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#Result-boolean-">Result</a></span>(boolean readonly)</code> |
| <div class="block">Allows to construct special purpose immutable Result objects, |
| such as EMPTY_RESULT.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#Result-org.apache.hadoop.hbase.Cell:A-java.lang.Boolean-boolean-boolean-">Result</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</code> |
| <div class="block">Private ctor.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#Result-org.apache.hadoop.hbase.client.Cursor-">Result</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a> cursor)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== 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="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete 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>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#advance--">advance</a></span>()</code> |
| <div class="block">Advance the scanner 1 cell.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#binarySearch-org.apache.hadoop.hbase.Cell:A-byte:A-byte:A-">binarySearch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] kvs, |
| byte[] family, |
| byte[] qualifier)</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#binarySearch-org.apache.hadoop.hbase.Cell:A-byte:A-int-int-byte:A-int-int-">binarySearch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] kvs, |
| byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</code> |
| <div class="block">Searches for the latest value for the specified column.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#cellScanner--">cellScanner</a></span>()</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>private void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#checkReadonly--">checkReadonly</a></span>()</code> |
| <div class="block">All methods modifying state of Result object must call this method |
| to ensure that special purpose immutable Results can't be accidentally modified.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#compareResults-org.apache.hadoop.hbase.client.Result-org.apache.hadoop.hbase.client.Result-">compareResults</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res1, |
| <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res2)</code> |
| <div class="block">Does a deep comparison of two Results, down to the byte arrays.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#containsColumn-byte:A-byte:A-">containsColumn</a></span>(byte[] family, |
| byte[] qualifier)</code> |
| <div class="block">Checks for existence of a value for the specified column (empty or not).</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#containsColumn-byte:A-int-int-byte:A-int-int-">containsColumn</a></span>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</code> |
| <div class="block">Checks for existence of a value for the specified column (empty or not).</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#containsEmptyColumn-byte:A-byte:A-">containsEmptyColumn</a></span>(byte[] family, |
| byte[] qualifier)</code> |
| <div class="block">Checks if the specified column contains an empty value (a zero-length byte array).</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#containsEmptyColumn-byte:A-int-int-byte:A-int-int-">containsEmptyColumn</a></span>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</code> |
| <div class="block">Checks if the specified column contains an empty value (a zero-length byte array).</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#containsNonEmptyColumn-byte:A-byte:A-">containsNonEmptyColumn</a></span>(byte[] family, |
| byte[] qualifier)</code> |
| <div class="block">Checks if the specified column contains a non-empty value (not a zero-length byte array).</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#containsNonEmptyColumn-byte:A-int-int-byte:A-int-int-">containsNonEmptyColumn</a></span>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</code> |
| <div class="block">Checks if the specified column contains a non-empty value (not a zero-length byte array).</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#copyFrom-org.apache.hadoop.hbase.client.Result-">copyFrom</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> other)</code> |
| <div class="block">Copy another Result into this one.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static <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/Result.html#create-org.apache.hadoop.hbase.Cell:A-">create</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells)</code> |
| <div class="block">Instantiate a Result with the specified array of KeyValues.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static <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/Result.html#create-org.apache.hadoop.hbase.Cell:A-java.lang.Boolean-boolean-">create</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists, |
| boolean stale)</code> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static <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/Result.html#create-org.apache.hadoop.hbase.Cell:A-java.lang.Boolean-boolean-boolean-">create</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</code> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static <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/Result.html#create-java.util.List-">create</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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells)</code> |
| <div class="block">Instantiate a Result with the specified List of KeyValues.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static <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/Result.html#create-java.util.List-java.lang.Boolean-">create</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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists)</code> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>static <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/Result.html#create-java.util.List-java.lang.Boolean-boolean-">create</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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists, |
| boolean stale)</code> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>static <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/Result.html#create-java.util.List-java.lang.Boolean-boolean-boolean-">create</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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</code> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>static <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/Result.html#createCompleteResult-java.lang.Iterable-">createCompleteResult</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> partialResults)</code> |
| <div class="block">Forms a single result from the partial results in the partialResults list.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>static <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/Result.html#createCursorResult-org.apache.hadoop.hbase.client.Cursor-">createCursorResult</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a> cursor)</code> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#current--">current</a></span>()</code> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getColumnCells-byte:A-byte:A-">getColumnCells</a></span>(byte[] family, |
| byte[] qualifier)</code> |
| <div class="block">Return the Cells for the specific column.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getColumnLatestCell-byte:A-byte:A-">getColumnLatestCell</a></span>(byte[] family, |
| byte[] qualifier)</code> |
| <div class="block">The Cell for the most recent timestamp for a given column.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getColumnLatestCell-byte:A-int-int-byte:A-int-int-">getColumnLatestCell</a></span>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</code> |
| <div class="block">The Cell for the most recent timestamp for a given column.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getCursor--">getCursor</a></span>()</code> |
| <div class="block">Return the cursor if this Result is a cursor result.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getExists--">getExists</a></span>()</code> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],byte[]></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getFamilyMap-byte:A-">getFamilyMap</a></span>(byte[] family)</code> |
| <div class="block">Map of qualifiers to values.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,byte[]>>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getMap--">getMap</a></span>()</code> |
| <div class="block">Map of families to all versions of its qualifiers and values.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],byte[]>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getNoVersionMap--">getNoVersionMap</a></span>()</code> |
| <div class="block">Map of families to their most recent qualifiers and values.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getRow--">getRow</a></span>()</code> |
| <div class="block">Method for retrieving the row key that corresponds to |
| the row from which this Result was created.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/client/RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getStats--">getStats</a></span>()</code> </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getTotalSizeOfCells-org.apache.hadoop.hbase.client.Result-">getTotalSizeOfCells</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> result)</code> |
| <div class="block">Get total size of raw cells</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getValue-byte:A-byte:A-">getValue</a></span>(byte[] family, |
| byte[] qualifier)</code> |
| <div class="block">Get the latest version of the specified column.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getValueAsByteBuffer-byte:A-byte:A-">getValueAsByteBuffer</a></span>(byte[] family, |
| byte[] qualifier)</code> |
| <div class="block">Returns the value wrapped in a new <code>ByteBuffer</code>.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getValueAsByteBuffer-byte:A-int-int-byte:A-int-int-">getValueAsByteBuffer</a></span>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</code> |
| <div class="block">Returns the value wrapped in a new <code>ByteBuffer</code>.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#isCursor--">isCursor</a></span>()</code> |
| <div class="block">Return true if this Result is a cursor to tell users where the server has scanned.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#isEmpty--">isEmpty</a></span>()</code> |
| <div class="block">Check if the underlying Cell [] is empty or not</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#isStale--">isStale</a></span>()</code> |
| <div class="block">Whether or not the results are coming from possibly stale data.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code><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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#listCells--">listCells</a></span>()</code> |
| <div class="block">Create a sorted list of the Cell's in this result.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#loadValue-byte:A-byte:A-java.nio.ByteBuffer-">loadValue</a></span>(byte[] family, |
| byte[] qualifier, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> dst)</code> |
| <div class="block">Loads the latest version of the specified column into the provided <code>ByteBuffer</code>.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#loadValue-byte:A-int-int-byte:A-int-int-java.nio.ByteBuffer-">loadValue</a></span>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> dst)</code> |
| <div class="block">Loads the latest version of the specified column into the provided <code>ByteBuffer</code>.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#mayHaveMoreCellsInRow--">mayHaveMoreCellsInRow</a></span>()</code> |
| <div class="block">For scanning large rows, the RS may choose to return the cells chunk by chunk to prevent OOM |
| or timeout.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>private byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#notNullBytes-byte:A-">notNullBytes</a></span>(byte[] bytes)</code> </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#rawCells--">rawCells</a></span>()</code> |
| <div class="block">Return the array of Cells backing this Result instance.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#setExists-java.lang.Boolean-">setExists</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists)</code> </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#setStatistics-org.apache.hadoop.hbase.client.RegionLoadStats-">setStatistics</a></span>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a> loadStats)</code> |
| <div class="block">Set load information about the region to the information about the result</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#size--">size</a></span>()</code> </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#toString--">toString</a></span>()</code> </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code>byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#value--">value</a></span>()</code> |
| <div class="block">Returns the value of the first column in the Result.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<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></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="cells"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cells</h4> |
| <pre>private <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.84">cells</a></pre> |
| </li> |
| </ul> |
| <a name="exists"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>exists</h4> |
| <pre>private <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.85">exists</a></pre> |
| </li> |
| </ul> |
| <a name="stale"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stale</h4> |
| <pre>private boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.86">stale</a></pre> |
| </li> |
| </ul> |
| <a name="mayHaveMoreCellsInRow"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mayHaveMoreCellsInRow</h4> |
| <pre>private boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.91">mayHaveMoreCellsInRow</a></pre> |
| <div class="block">See <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#mayHaveMoreCellsInRow--"><code>mayHaveMoreCellsInRow()</code></a>.</div> |
| </li> |
| </ul> |
| <a name="row"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>row</h4> |
| <pre>private transient byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.94">row</a></pre> |
| </li> |
| </ul> |
| <a name="familyMap"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>familyMap</h4> |
| <pre>private transient <a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,byte[]>>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.97">familyMap</a></pre> |
| </li> |
| </ul> |
| <a name="localBuffer"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>localBuffer</h4> |
| <pre>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ThreadLocal.html?is-external=true" title="class or interface in java.lang">ThreadLocal</a><byte[]> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.99">localBuffer</a></pre> |
| </li> |
| </ul> |
| <a name="PAD_WIDTH"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PAD_WIDTH</h4> |
| <pre>private static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.100">PAD_WIDTH</a></pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.client.Result.PAD_WIDTH">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="EMPTY_RESULT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>EMPTY_RESULT</h4> |
| <pre>public static final <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/Result.html#line.101">EMPTY_RESULT</a></pre> |
| </li> |
| </ul> |
| <a name="INITIAL_CELLSCANNER_INDEX"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>INITIAL_CELLSCANNER_INDEX</h4> |
| <pre>private static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.103">INITIAL_CELLSCANNER_INDEX</a></pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.client.Result.INITIAL_CELLSCANNER_INDEX">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="cellScannerIndex"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cellScannerIndex</h4> |
| <pre>private int <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.108">cellScannerIndex</a></pre> |
| <div class="block">Index for where we are when Result is acting as a <a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase"><code>CellScanner</code></a>.</div> |
| </li> |
| </ul> |
| <a name="stats"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stats</h4> |
| <pre>private <a href="../../../../../org/apache/hadoop/hbase/client/RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.109">stats</a></pre> |
| </li> |
| </ul> |
| <a name="readonly"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>readonly</h4> |
| <pre>private final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.111">readonly</a></pre> |
| </li> |
| </ul> |
| <a name="cursor"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>cursor</h4> |
| <pre>private <a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.113">cursor</a></pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="Result--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Result</h4> |
| <pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.121">Result</a>()</pre> |
| <div class="block">Creates an empty Result w/ no KeyValue payload; returns null if you call <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#rawCells--"><code>rawCells()</code></a>. |
| Use this to represent no results if <code>null</code> won't do or in old 'mapred' as opposed |
| to 'mapreduce' package MapReduce where you need to overwrite a Result instance with a |
| <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#copyFrom-org.apache.hadoop.hbase.client.Result-"><code>copyFrom(Result)</code></a> call.</div> |
| </li> |
| </ul> |
| <a name="Result-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Result</h4> |
| <pre>private <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.130">Result</a>(boolean readonly)</pre> |
| <div class="block">Allows to construct special purpose immutable Result objects, |
| such as EMPTY_RESULT.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>readonly</code> - whether this Result instance is readonly</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="Result-org.apache.hadoop.hbase.client.Cursor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Result</h4> |
| <pre>private <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.184">Result</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a> cursor)</pre> |
| </li> |
| </ul> |
| <a name="Result-org.apache.hadoop.hbase.Cell:A-java.lang.Boolean-boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Result</h4> |
| <pre>private <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.190">Result</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</pre> |
| <div class="block">Private ctor. Use <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-org.apache.hadoop.hbase.Cell:A-"><code>create(Cell[])</code></a>.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="create-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre>public static <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/Result.html#line.139">create</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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells)</pre> |
| <div class="block">Instantiate a Result with the specified List of KeyValues. |
| <br><strong>Note:</strong> You must ensure that the keyvalues are already sorted.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cells</code> - List of cells</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="create-java.util.List-java.lang.Boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre>public static <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/Result.html#line.143">create</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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists)</pre> |
| </li> |
| </ul> |
| <a name="create-java.util.List-java.lang.Boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre>public static <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/Result.html#line.147">create</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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists, |
| boolean stale)</pre> |
| </li> |
| </ul> |
| <a name="create-java.util.List-java.lang.Boolean-boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre>public static <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/Result.html#line.151">create</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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</pre> |
| </li> |
| </ul> |
| <a name="create-org.apache.hadoop.hbase.Cell:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre>public static <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/Result.html#line.164">create</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells)</pre> |
| <div class="block">Instantiate a Result with the specified array of KeyValues. |
| <br><strong>Note:</strong> You must ensure that the keyvalues are already sorted.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cells</code> - array of cells</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="create-org.apache.hadoop.hbase.Cell:A-java.lang.Boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre>public static <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/Result.html#line.168">create</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists, |
| boolean stale)</pre> |
| </li> |
| </ul> |
| <a name="create-org.apache.hadoop.hbase.Cell:A-java.lang.Boolean-boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre>public static <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/Result.html#line.172">create</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</pre> |
| </li> |
| </ul> |
| <a name="createCursorResult-org.apache.hadoop.hbase.client.Cursor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCursorResult</h4> |
| <pre>public static <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/Result.html#line.180">createCursorResult</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a> cursor)</pre> |
| </li> |
| </ul> |
| <a name="getRow--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRow</h4> |
| <pre>public byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.203">getRow</a>()</pre> |
| <div class="block">Method for retrieving the row key that corresponds to |
| the row from which this Result was created.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>row</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="rawCells--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>rawCells</h4> |
| <pre>public <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.232">rawCells</a>()</pre> |
| <div class="block">Return the array of Cells backing this Result instance. |
| |
| The array is sorted from smallest -> largest using the |
| <a href="../../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase"><code>CellComparator</code></a>. |
| |
| The array only contains what your Get or Scan specifies and no more. |
| For example if you request column "A" 1 version you will have at most 1 |
| Cell in the array. If you request column "A" with 2 version you will |
| have at most 2 Cells, with the first one being the newer timestamp and |
| the second being the older timestamp (this is the sort order defined by |
| <a href="../../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase"><code>CellComparator</code></a>). If columns don't exist, they won't be |
| present in the result. Therefore if you ask for 1 version all columns, |
| it is safe to iterate over this array and expect to see 1 Cell for |
| each column and no more. |
| |
| This API is faster than using getFamilyMap() and getMap()</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>array of Cells; can be null if nothing in the result</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="listCells--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>listCells</h4> |
| <pre>public <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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.243">listCells</a>()</pre> |
| <div class="block">Create a sorted list of the Cell's in this result. |
| |
| Since HBase 0.20.5 this is equivalent to raw().</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>sorted List of Cells; can be null if no cells in the result</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getColumnCells-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getColumnCells</h4> |
| <pre>public <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/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.262">getColumnCells</a>(byte[] family, |
| byte[] qualifier)</pre> |
| <div class="block">Return the Cells for the specific column. The Cells are sorted in |
| the <a href="../../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase"><code>CellComparator</code></a> order. That implies the first entry in |
| the list is the most recent column. If the query (Scan or Get) only |
| requested 1 version the list will contain at most 1 entry. If the column |
| did not exist in the result set (either the column does not exist |
| or the column was not selected in the query) the list will be empty. |
| |
| Also see getColumnLatest which returns just a Cell</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - the family</dd> |
| <dd><code>qualifier</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a list of Cells for this column or empty list if the column |
| did not exist in the result set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="notNullBytes-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>notNullBytes</h4> |
| <pre>private byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.286">notNullBytes</a>(byte[] bytes)</pre> |
| </li> |
| </ul> |
| <a name="binarySearch-org.apache.hadoop.hbase.Cell:A-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>binarySearch</h4> |
| <pre>protected int <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.294">binarySearch</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] kvs, |
| byte[] family, |
| byte[] qualifier)</pre> |
| </li> |
| </ul> |
| <a name="binarySearch-org.apache.hadoop.hbase.Cell:A-byte:A-int-int-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>binarySearch</h4> |
| <pre>protected int <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.331">binarySearch</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] kvs, |
| byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</pre> |
| <div class="block">Searches for the latest value for the specified column.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>kvs</code> - the array to search</dd> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>foffset</code> - family offset</dd> |
| <dd><code>flength</code> - family length</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dd><code>qoffset</code> - qualifier offset</dd> |
| <dd><code>qlength</code> - qualifier length</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the index where the value was found, or -1 otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getColumnLatestCell-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getColumnLatestCell</h4> |
| <pre>public <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.372">getColumnLatestCell</a>(byte[] family, |
| byte[] qualifier)</pre> |
| <div class="block">The Cell for the most recent timestamp for a given column.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - </dd> |
| <dd><code>qualifier</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the Cell for the column, or null if no value exists in the row or none have been |
| selected in the query (Get/Scan)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getColumnLatestCell-byte:A-int-int-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getColumnLatestCell</h4> |
| <pre>public <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.400">getColumnLatestCell</a>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</pre> |
| <div class="block">The Cell for the most recent timestamp for a given column.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>foffset</code> - family offset</dd> |
| <dd><code>flength</code> - family length</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dd><code>qoffset</code> - qualifier offset</dd> |
| <dd><code>qlength</code> - qualifier length</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the Cell for the column, or null if no value exists in the row or none have been |
| selected in the query (Get/Scan)</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValue-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValue</h4> |
| <pre>public byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.427">getValue</a>(byte[] family, |
| byte[] qualifier)</pre> |
| <div class="block">Get the latest version of the specified column. |
| Note: this call clones the value content of the hosting Cell. See |
| <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getValueAsByteBuffer-byte:A-byte:A-"><code>getValueAsByteBuffer(byte[], byte[])</code></a>, etc., or <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#listCells--"><code>listCells()</code></a> if you would |
| avoid the cloning.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>value of latest version of column, null if none found</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValueAsByteBuffer-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueAsByteBuffer</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.443">getValueAsByteBuffer</a>(byte[] family, |
| byte[] qualifier)</pre> |
| <div class="block">Returns the value wrapped in a new <code>ByteBuffer</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the latest version of the column, or <code>null</code> if none found</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValueAsByteBuffer-byte:A-int-int-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueAsByteBuffer</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.466">getValueAsByteBuffer</a>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</pre> |
| <div class="block">Returns the value wrapped in a new <code>ByteBuffer</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>foffset</code> - family offset</dd> |
| <dd><code>flength</code> - family length</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dd><code>qoffset</code> - qualifier offset</dd> |
| <dd><code>qlength</code> - qualifier length</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the latest version of the column, or <code>null</code> if none found</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="loadValue-byte:A-byte:A-java.nio.ByteBuffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>loadValue</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.491">loadValue</a>(byte[] family, |
| byte[] qualifier, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> dst) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/BufferOverflowException.html?is-external=true" title="class or interface in java.nio">BufferOverflowException</a></pre> |
| <div class="block">Loads the latest version of the specified column into the provided <code>ByteBuffer</code>. |
| <p> |
| Does not clear or flip the buffer.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dd><code>dst</code> - the buffer where to write the value</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if a value was found, <code>false</code> otherwise</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/BufferOverflowException.html?is-external=true" title="class or interface in java.nio">BufferOverflowException</a></code> - there is insufficient space remaining in the buffer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="loadValue-byte:A-int-int-byte:A-int-int-java.nio.ByteBuffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>loadValue</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.513">loadValue</a>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> dst) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/BufferOverflowException.html?is-external=true" title="class or interface in java.nio">BufferOverflowException</a></pre> |
| <div class="block">Loads the latest version of the specified column into the provided <code>ByteBuffer</code>. |
| <p> |
| Does not clear or flip the buffer.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>foffset</code> - family offset</dd> |
| <dd><code>flength</code> - family length</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dd><code>qoffset</code> - qualifier offset</dd> |
| <dd><code>qlength</code> - qualifier length</dd> |
| <dd><code>dst</code> - the buffer where to write the value</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if a value was found, <code>false</code> otherwise</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/nio/BufferOverflowException.html?is-external=true" title="class or interface in java.nio">BufferOverflowException</a></code> - there is insufficient space remaining in the buffer</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsNonEmptyColumn-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsNonEmptyColumn</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.533">containsNonEmptyColumn</a>(byte[] family, |
| byte[] qualifier)</pre> |
| <div class="block">Checks if the specified column contains a non-empty value (not a zero-length byte array).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether or not a latest value exists and is not empty</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsNonEmptyColumn-byte:A-int-int-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsNonEmptyColumn</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.550">containsNonEmptyColumn</a>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</pre> |
| <div class="block">Checks if the specified column contains a non-empty value (not a zero-length byte array).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>foffset</code> - family offset</dd> |
| <dd><code>flength</code> - family length</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dd><code>qoffset</code> - qualifier offset</dd> |
| <dd><code>qlength</code> - qualifier length</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether or not a latest value exists and is not empty</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsEmptyColumn-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsEmptyColumn</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.566">containsEmptyColumn</a>(byte[] family, |
| byte[] qualifier)</pre> |
| <div class="block">Checks if the specified column contains an empty value (a zero-length byte array).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether or not a latest value exists and is empty</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsEmptyColumn-byte:A-int-int-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsEmptyColumn</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.583">containsEmptyColumn</a>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</pre> |
| <div class="block">Checks if the specified column contains an empty value (a zero-length byte array).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>foffset</code> - family offset</dd> |
| <dd><code>flength</code> - family length</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dd><code>qoffset</code> - qualifier offset</dd> |
| <dd><code>qlength</code> - qualifier length</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether or not a latest value exists and is empty</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsColumn-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsColumn</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.598">containsColumn</a>(byte[] family, |
| byte[] qualifier)</pre> |
| <div class="block">Checks for existence of a value for the specified column (empty or not).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if at least one value exists in the result, false if not</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="containsColumn-byte:A-int-int-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsColumn</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.615">containsColumn</a>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</pre> |
| <div class="block">Checks for existence of a value for the specified column (empty or not).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>foffset</code> - family offset</dd> |
| <dd><code>flength</code> - family length</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dd><code>qoffset</code> - qualifier offset</dd> |
| <dd><code>qlength</code> - qualifier length</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if at least one value exists in the result, false if not</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMap--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMap</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,byte[]>>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.630">getMap</a>()</pre> |
| <div class="block">Map of families to all versions of its qualifiers and values. |
| <p> |
| Returns a three level Map of the form: |
| <code>Map&family,Map<qualifier,Map<timestamp,value>>></code> |
| <p> |
| Note: All other map returning methods make use of this map internally.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>map from families to qualifiers to versions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getNoVersionMap--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNoVersionMap</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],byte[]>> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.672">getNoVersionMap</a>()</pre> |
| <div class="block">Map of families to their most recent qualifiers and values. |
| <p> |
| Returns a two level Map of the form: <code>Map&family,Map<qualifier,value>></code> |
| <p> |
| The most recent version of each qualifier will be used.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>map from families to qualifiers and value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getFamilyMap-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFamilyMap</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],byte[]> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.701">getFamilyMap</a>(byte[] family)</pre> |
| <div class="block">Map of qualifiers to values. |
| <p> |
| Returns a Map of the form: <code>Map<qualifier,value></code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - column family to get</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>map of qualifiers to values</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="value--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>value</h4> |
| <pre>public byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.727">value</a>()</pre> |
| <div class="block">Returns the value of the first column in the Result.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>value of the first column</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isEmpty--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isEmpty</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.738">isEmpty</a>()</pre> |
| <div class="block">Check if the underlying Cell [] is empty or not</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if empty</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="size--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>size</h4> |
| <pre>public int <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.745">size</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the size of the underlying Cell []</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.753">toString</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><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></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>String</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compareResults-org.apache.hadoop.hbase.client.Result-org.apache.hadoop.hbase.client.Result-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareResults</h4> |
| <pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.780">compareResults</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res1, |
| <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res2) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> |
| <div class="block">Does a deep comparison of two Results, down to the byte arrays.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>res1</code> - first result to compare</dd> |
| <dd><code>res2</code> - second result to compare</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code> - Every difference is throwing an exception</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createCompleteResult-java.lang.Iterable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCompleteResult</h4> |
| <pre>public static <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/Result.html#line.810">createCompleteResult</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> partialResults) |
| 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">Forms a single result from the partial results in the partialResults list. This method is |
| useful for reconstructing partial results on the client side.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>partialResults</code> - list of partial results</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The complete result that is formed by combining all of the partial results together</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> - A complete result cannot be formed because the results in the partial list |
| come from different rows</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTotalSizeOfCells-org.apache.hadoop.hbase.client.Result-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTotalSizeOfCells</h4> |
| <pre>public static long <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.857">getTotalSizeOfCells</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> result)</pre> |
| <div class="block">Get total size of raw cells</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>result</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Total size.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyFrom-org.apache.hadoop.hbase.client.Result-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyFrom</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.874">copyFrom</a>(<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> other)</pre> |
| <div class="block">Copy another Result into this one. Needed for the old Mapred framework</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>other</code> - </dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if invoked on instance of EMPTY_RESULT |
| (which is supposed to be immutable).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="cellScanner--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cellScanner</h4> |
| <pre>public <a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.882">cellScanner</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/hadoop/hbase/CellScannable.html#cellScanner--">cellScanner</a></code> in interface <code><a href="../../../../../org/apache/hadoop/hbase/CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A CellScanner over the contained <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>s</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="current--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>current</h4> |
| <pre>public <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.889">current</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/hadoop/hbase/CellScanner.html#current--">current</a></code> in interface <code><a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the current Cell which may be mutable</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="advance--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>advance</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.898">advance</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/hadoop/hbase/CellScanner.html#advance--">CellScanner</a></code></span></div> |
| <div class="block">Advance the scanner 1 cell.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/hadoop/hbase/CellScanner.html#advance--">advance</a></code> in interface <code><a href="../../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the next cell is found and <a href="../../../../../org/apache/hadoop/hbase/CellScanner.html#current--"><code>CellScanner.current()</code></a> will return a valid Cell</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getExists--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExists</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.909">getExists</a>()</pre> |
| </li> |
| </ul> |
| <a name="setExists-java.lang.Boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setExists</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.913">setExists</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> exists)</pre> |
| </li> |
| </ul> |
| <a name="isStale--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isStale</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.923">isStale</a>()</pre> |
| <div class="block">Whether or not the results are coming from possibly stale data. Stale results |
| might be returned if <a href="../../../../../org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client"><code>Consistency</code></a> is not STRONG for the query.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Whether or not the results are coming from possibly stale data.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="mayHaveMoreCellsInRow--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>mayHaveMoreCellsInRow</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.935">mayHaveMoreCellsInRow</a>()</pre> |
| <div class="block">For scanning large rows, the RS may choose to return the cells chunk by chunk to prevent OOM |
| or timeout. This flag is used to tell you if the current Result is the last one of the current |
| row. False means this Result is the last one. True means there MAY be more cells belonging to |
| the current row. |
| If you don't use <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html#setAllowPartialResults-boolean-"><code>Scan.setAllowPartialResults(boolean)</code></a> or <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html#setBatch-int-"><code>Scan.setBatch(int)</code></a>, |
| this method will always return false because the Result must contains all cells in one Row.</div> |
| </li> |
| </ul> |
| <a name="setStatistics-org.apache.hadoop.hbase.client.RegionLoadStats-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setStatistics</h4> |
| <pre>@InterfaceAudience.Private |
| public void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.944">setStatistics</a>(<a href="../../../../../org/apache/hadoop/hbase/client/RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a> loadStats)</pre> |
| <div class="block">Set load information about the region to the information about the result</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>loadStats</code> - statistics about the current region from which this was returned</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getStats--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStats</h4> |
| <pre>public <a href="../../../../../org/apache/hadoop/hbase/client/RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.952">getStats</a>()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the associated statistics about the region from which this was returned. Can be |
| <tt>null</tt> if stats are disabled.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="checkReadonly--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkReadonly</h4> |
| <pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.960">checkReadonly</a>()</pre> |
| <div class="block">All methods modifying state of Result object must call this method |
| to ensure that special purpose immutable Results can't be accidentally modified.</div> |
| </li> |
| </ul> |
| <a name="isCursor--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isCursor</h4> |
| <pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.986">isCursor</a>()</pre> |
| <div class="block">Return true if this Result is a cursor to tell users where the server has scanned. |
| In this Result the only meaningful method is <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getCursor--"><code>getCursor()</code></a>. |
| |
| <code>while (r = scanner.next() && r != null) { |
| if(r.isCursor()){ |
| // scanning is not end, it is a cursor, save its row key and close scanner if you want, or |
| // just continue the loop to call next(). |
| } else { |
| // just like before |
| } |
| } |
| // scanning is end |
| |
| </code> |
| <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html#setNeedCursorResult-boolean-"><code>Scan.setNeedCursorResult(boolean)</code></a> |
| <a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client"><code>Cursor</code></a> |
| <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#getCursor--"><code>getCursor()</code></a></div> |
| </li> |
| </ul> |
| <a name="getCursor--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getCursor</h4> |
| <pre>public <a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.996">getCursor</a>()</pre> |
| <div class="block">Return the cursor if this Result is a cursor result. |
| <a href="../../../../../org/apache/hadoop/hbase/client/Scan.html#setNeedCursorResult-boolean-"><code>Scan.setNeedCursorResult(boolean)</code></a> |
| <a href="../../../../../org/apache/hadoop/hbase/client/Cursor.html" title="class in org.apache.hadoop.hbase.client"><code>Cursor</code></a> |
| <a href="../../../../../org/apache/hadoop/hbase/client/Result.html#isCursor--"><code>isCursor()</code></a></div> |
| </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/Result.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/RequestControllerFactory.html" title="class in org.apache.hadoop.hbase.client"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/hadoop/hbase/client/ResultScanner.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/Result.html" target="_top">Frames</a></li> |
| <li><a href="Result.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><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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> |