| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>Result (Apache HBase 4.0.0-alpha-1-SNAPSHOT API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.hadoop.hbase.client, class: Result"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-3.6.1.min.js"></script> |
| <script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">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#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <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="sub-nav-list"> |
| <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> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.hadoop.hbase.client</a></div> |
| <h1 title="Class Result" class="title">Class Result</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance">org.apache.hadoop.hbase.client.Result</div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a></code>, <code><a href="../CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></code>, <code><a href="../ExtendedCellScannable.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScannable</a></code>, <code><a href="../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScanner</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="annotations">@Public |
| </span><span class="modifiers">public class </span><span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-74">Result</a></span> |
| <span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a> |
| implements <a href="../ExtendedCellScannable.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScannable</a>, <a href="../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScanner</a></span></div> |
| <div class="block">Single row result of a <a href="Get.html" title="class in org.apache.hadoop.hbase.client"><code>Get</code></a> or <a href="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/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link"><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="#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="#getNoVersionMap()"><code>getNoVersionMap()</code></a>. To get a mapping of qualifiers to latest values |
| for an individual family use <a href="#getFamilyMap(byte%5B%5D)"><code>getFamilyMap(byte[])</code></a>. |
| <p> |
| To get the latest value for a specific family and qualifier use |
| <a href="#getValue(byte%5B%5D,byte%5B%5D)"><code>getValue(byte[], byte[])</code></a>. A Result is backed by an array of <a href="../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="../Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a> objects can be accessed through the method <a href="#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="../CellScanner.html" title="interface in org.apache.hadoop.hbase"><code>CellScanner</code></a>; just call <a href="#advance()"><code>advance()</code></a> and <a href="#current()"><code>current()</code></a> to |
| iterate over Cells as you would any <a href="../CellScanner.html" title="interface in org.apache.hadoop.hbase"><code>CellScanner</code></a>. Call <a href="#cellScanner()"><code>cellScanner()</code></a> to reset |
| should you need to iterate the same Result over again (<a href="../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="#copyFrom(org.apache.hadoop.hbase.client.Result)"><code>copyFrom(Result)</code></a></div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="caption"><span>Fields</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Field</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>private <a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[]</code></div> |
| <div class="col-second even-row-color"><code><a href="#cells" class="member-name-link">cells</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private int</code></div> |
| <div class="col-second odd-row-color"><code><a href="#cellScannerIndex" class="member-name-link">cellScannerIndex</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Index for where we are when Result is acting as a <a href="../CellScanner.html" title="interface in org.apache.hadoop.hbase"><code>CellScanner</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color"><code>private <a href="Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#cursor" class="member-name-link">cursor</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>static final <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#EMPTY_RESULT" class="member-name-link">EMPTY_RESULT</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a></code></div> |
| <div class="col-second even-row-color"><code><a href="#exists" class="member-name-link">exists</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>,<wbr>byte[]>>></code></div> |
| <div class="col-second odd-row-color"><code><a href="#familyMap" class="member-name-link">familyMap</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private static final int</code></div> |
| <div class="col-second even-row-color"><code><a href="#INITIAL_CELLSCANNER_INDEX" class="member-name-link">INITIAL_CELLSCANNER_INDEX</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private static <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/ThreadLocal.html" title="class or interface in java.lang" class="external-link">ThreadLocal</a><byte[]></code></div> |
| <div class="col-second odd-row-color"><code><a href="#localBuffer" class="member-name-link">localBuffer</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private boolean</code></div> |
| <div class="col-second even-row-color"><code><a href="#mayHaveMoreCellsInRow" class="member-name-link">mayHaveMoreCellsInRow</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">See <a href="#mayHaveMoreCellsInRow()"><code>mayHaveMoreCellsInRow()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>private static final int</code></div> |
| <div class="col-second odd-row-color"><code><a href="#PAD_WIDTH" class="member-name-link">PAD_WIDTH</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private final boolean</code></div> |
| <div class="col-second even-row-color"><code><a href="#readonly" class="member-name-link">readonly</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private byte[]</code></div> |
| <div class="col-second odd-row-color"><code><a href="#row" class="member-name-link">row</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>private boolean</code></div> |
| <div class="col-second even-row-color"><code><a href="#stale" class="member-name-link">stale</a></code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private <a href="RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#stats" class="member-name-link">stats</a></code></div> |
| <div class="col-last odd-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier</div> |
| <div class="table-header col-second">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code> </code></div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">Result</a>()</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Creates an empty Result w/ no KeyValue payload; returns null if you call <a href="#rawCells()"><code>rawCells()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>private </code></div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(boolean)" class="member-name-link">Result</a><wbr>(boolean readonly)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Allows to construct special purpose immutable Result objects, such as EMPTY_RESULT.</div> |
| </div> |
| <div class="col-first even-row-color"><code>private </code></div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.apache.hadoop.hbase.client.Cursor)" class="member-name-link">Result</a><wbr>(<a href="Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a> cursor)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>private </code></div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(org.apache.hadoop.hbase.ExtendedCell%5B%5D,java.lang.Boolean,boolean,boolean)" class="member-name-link">Result</a><wbr>(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[] cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Private ctor.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#advance()" class="member-name-link">advance</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Advance the scanner 1 cell.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#binarySearch(org.apache.hadoop.hbase.Cell%5B%5D,byte%5B%5D,byte%5B%5D)" class="member-name-link">binarySearch</a><wbr>(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] kvs, |
| byte[] family, |
| byte[] qualifier)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#binarySearch(org.apache.hadoop.hbase.Cell%5B%5D,byte%5B%5D,int,int,byte%5B%5D,int,int)" class="member-name-link">binarySearch</a><wbr>(<a href="../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> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Searches for the latest value for the specified column.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScanner</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#cellScanner()" class="member-name-link">cellScanner</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">For client users: You should only use the return value as a |
| <a href="../CellScanner.html" title="interface in org.apache.hadoop.hbase"><code>CellScanner</code></a>, <a href="../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase"><code>ExtendedCellScanner</code></a> is marked as |
| IA.Private which means there is no guarantee about its API stability.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#checkReadonly()" class="member-name-link">checkReadonly</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#compareResults(org.apache.hadoop.hbase.client.Result,org.apache.hadoop.hbase.client.Result)" class="member-name-link">compareResults</a><wbr>(<a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res1, |
| <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res2)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Does a deep comparison of two Results, down to the byte arrays.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#compareResults(org.apache.hadoop.hbase.client.Result,org.apache.hadoop.hbase.client.Result,boolean)" class="member-name-link">compareResults</a><wbr>(<a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res1, |
| <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res2, |
| boolean verbose)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Does a deep comparison of two Results, down to the byte arrays.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#containsColumn(byte%5B%5D,byte%5B%5D)" class="member-name-link">containsColumn</a><wbr>(byte[] family, |
| byte[] qualifier)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Checks for existence of a value for the specified column (empty or not).</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#containsColumn(byte%5B%5D,int,int,byte%5B%5D,int,int)" class="member-name-link">containsColumn</a><wbr>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Checks for existence of a value for the specified column (empty or not).</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#containsEmptyColumn(byte%5B%5D,byte%5B%5D)" class="member-name-link">containsEmptyColumn</a><wbr>(byte[] family, |
| byte[] qualifier)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Checks if the specified column contains an empty value (a zero-length byte array).</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#containsEmptyColumn(byte%5B%5D,int,int,byte%5B%5D,int,int)" class="member-name-link">containsEmptyColumn</a><wbr>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Checks if the specified column contains an empty value (a zero-length byte array).</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#containsNonEmptyColumn(byte%5B%5D,byte%5B%5D)" class="member-name-link">containsNonEmptyColumn</a><wbr>(byte[] family, |
| byte[] qualifier)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Checks if the specified column contains a non-empty value (not a zero-length byte array).</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#containsNonEmptyColumn(byte%5B%5D,int,int,byte%5B%5D,int,int)" class="member-name-link">containsNonEmptyColumn</a><wbr>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Checks if the specified column contains a non-empty value (not a zero-length byte array).</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#copyFrom(org.apache.hadoop.hbase.client.Result)" class="member-name-link">copyFrom</a><wbr>(<a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> other)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Copy another Result into this one.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#create(java.util.List)" class="member-name-link">create</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Instantiate a Result with the specified List of KeyValues.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#create(java.util.List,java.lang.Boolean)" class="member-name-link">create</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#create(java.util.List,java.lang.Boolean,boolean)" class="member-name-link">create</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#create(java.util.List,java.lang.Boolean,boolean,boolean)" class="member-name-link">create</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#create(org.apache.hadoop.hbase.Cell%5B%5D)" class="member-name-link">create</a><wbr>(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Instantiate a Result with the specified array of KeyValues.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#create(org.apache.hadoop.hbase.Cell%5B%5D,java.lang.Boolean,boolean)" class="member-name-link">create</a><wbr>(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#create(org.apache.hadoop.hbase.Cell%5B%5D,java.lang.Boolean,boolean,boolean)" class="member-name-link">create</a><wbr>(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>(package private) static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#create(org.apache.hadoop.hbase.ExtendedCell%5B%5D)" class="member-name-link">create</a><wbr>(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[] cells)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>(package private) static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#create(org.apache.hadoop.hbase.ExtendedCell%5B%5D,java.lang.Boolean,boolean)" class="member-name-link">create</a><wbr>(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[] cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>(package private) static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#create(org.apache.hadoop.hbase.ExtendedCell%5B%5D,java.lang.Boolean,boolean,boolean)" class="member-name-link">create</a><wbr>(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[] cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#createCompleteResult(java.lang.Iterable)" class="member-name-link">createCompleteResult</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><<a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> partialResults)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Forms a single result from the partial results in the partialResults list.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#createCursorResult(org.apache.hadoop.hbase.client.Cursor)" class="member-name-link">createCursorResult</a><wbr>(<a href="Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a> cursor)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#current()" class="member-name-link">current</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">For client users: You should only use the return value as a <a href="../Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>, <a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase"><code>ExtendedCell</code></a> |
| is marked as IA.Private which means there is no guarantee about its API stability.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getColumnCells(byte%5B%5D,byte%5B%5D)" class="member-name-link">getColumnCells</a><wbr>(byte[] family, |
| byte[] qualifier)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Return the Cells for the specific column.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getColumnLatestCell(byte%5B%5D,byte%5B%5D)" class="member-name-link">getColumnLatestCell</a><wbr>(byte[] family, |
| byte[] qualifier)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">The Cell for the most recent timestamp for a given column.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getColumnLatestCell(byte%5B%5D,int,int,byte%5B%5D,int,int)" class="member-name-link">getColumnLatestCell</a><wbr>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">The Cell for the most recent timestamp for a given column.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getCursor()" class="member-name-link">getCursor</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Return the cursor if this Result is a cursor result.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getExists()" class="member-name-link">getExists</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr>byte[]></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFamilyMap(byte%5B%5D)" class="member-name-link">getFamilyMap</a><wbr>(byte[] family)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Map of qualifiers to values.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>,<wbr>byte[]>>></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMap()" class="member-name-link">getMap</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Map of families to all versions of its qualifiers and values.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr>byte[]>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getNoVersionMap()" class="member-name-link">getNoVersionMap</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Map of families to their most recent qualifiers and values.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>byte[]</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getRow()" class="member-name-link">getRow</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Method for retrieving the row key that corresponds to the row from which this Result was |
| created.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getStats()" class="member-name-link">getStats</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the associated statistics about the region from which this was returned.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static long</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#getTotalSizeOfCells(org.apache.hadoop.hbase.client.Result)" class="member-name-link">getTotalSizeOfCells</a><wbr>(<a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> result)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"> |
| <div class="block">Get total size of raw cells</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>byte[]</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getValue(byte%5B%5D,byte%5B%5D)" class="member-name-link">getValue</a><wbr>(byte[] family, |
| byte[] qualifier)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the latest version of the specified column.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getValueAsByteBuffer(byte%5B%5D,byte%5B%5D)" class="member-name-link">getValueAsByteBuffer</a><wbr>(byte[] family, |
| byte[] qualifier)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the value wrapped in a new <code>ByteBuffer</code>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getValueAsByteBuffer(byte%5B%5D,int,int,byte%5B%5D,int,int)" class="member-name-link">getValueAsByteBuffer</a><wbr>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the value wrapped in a new <code>ByteBuffer</code>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isCursor()" class="member-name-link">isCursor</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Return true if this Result is a cursor to tell users where the server has scanned.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isEmpty()" class="member-name-link">isEmpty</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Check if the underlying Cell [] is empty or not</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isStale()" class="member-name-link">isStale</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Whether or not the results are coming from possibly stale data.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#listCells()" class="member-name-link">listCells</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Create a sorted list of the Cell's in this result.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#loadValue(byte%5B%5D,byte%5B%5D,java.nio.ByteBuffer)" class="member-name-link">loadValue</a><wbr>(byte[] family, |
| byte[] qualifier, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a> dst)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Loads the latest version of the specified column into the provided <code>ByteBuffer</code>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#loadValue(byte%5B%5D,int,int,byte%5B%5D,int,int,java.nio.ByteBuffer)" class="member-name-link">loadValue</a><wbr>(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a> dst)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Loads the latest version of the specified column into the provided <code>ByteBuffer</code>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#mayHaveMoreCellsInRow()" class="member-name-link">mayHaveMoreCellsInRow</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">For scanning large rows, the RS may choose to return the cells chunk by chunk to prevent OOM or |
| timeout.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>private byte[]</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#notNullBytes(byte%5B%5D)" class="member-name-link">notNullBytes</a><wbr>(byte[] bytes)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[]</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#rawCells()" class="member-name-link">rawCells</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Return the array of Cells backing this Result instance.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>(package private) <a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[]</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#rawExtendedCells()" class="member-name-link">rawExtendedCells</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setExists(java.lang.Boolean)" class="member-name-link">setExists</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setStatistics(org.apache.hadoop.hbase.client.RegionLoadStats)" class="member-name-link">setStatistics</a><wbr>(<a href="RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a> loadStats)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Set load information about the region to the information about the result</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#size()" class="member-name-link">size</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the size of the underlying Cell []</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toString()" class="member-name-link">toString</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>byte[]</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#value()" class="member-name-link">value</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the value of the first column in the Result.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li> |
| <section class="field-details" id="field-detail"> |
| <h2>Field Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="cells"> |
| <h3>cells</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[]</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-76">cells</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="exists"> |
| <h3>exists</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-77">exists</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="stale"> |
| <h3>stale</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-78">stale</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="mayHaveMoreCellsInRow"> |
| <h3>mayHaveMoreCellsInRow</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-83">mayHaveMoreCellsInRow</a></span></div> |
| <div class="block">See <a href="#mayHaveMoreCellsInRow()"><code>mayHaveMoreCellsInRow()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="row"> |
| <h3>row</h3> |
| <div class="member-signature"><span class="modifiers">private transient</span> <span class="return-type">byte[]</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-86">row</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="familyMap"> |
| <h3>familyMap</h3> |
| <div class="member-signature"><span class="modifiers">private transient</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>,<wbr>byte[]>>></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-88">familyMap</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="localBuffer"> |
| <h3>localBuffer</h3> |
| <div class="member-signature"><span class="modifiers">private static</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/ThreadLocal.html" title="class or interface in java.lang" class="external-link">ThreadLocal</a><byte[]></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-91">localBuffer</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="PAD_WIDTH"> |
| <h3>PAD_WIDTH</h3> |
| <div class="member-signature"><span class="modifiers">private static final</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-92">PAD_WIDTH</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.client.Result.PAD_WIDTH">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="EMPTY_RESULT"> |
| <h3>EMPTY_RESULT</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-93">EMPTY_RESULT</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="INITIAL_CELLSCANNER_INDEX"> |
| <h3>INITIAL_CELLSCANNER_INDEX</h3> |
| <div class="member-signature"><span class="modifiers">private static final</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-95">INITIAL_CELLSCANNER_INDEX</a></span></div> |
| <dl class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.client.Result.INITIAL_CELLSCANNER_INDEX">Constant Field Values</a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="cellScannerIndex"> |
| <h3>cellScannerIndex</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-100">cellScannerIndex</a></span></div> |
| <div class="block">Index for where we are when Result is acting as a <a href="../CellScanner.html" title="interface in org.apache.hadoop.hbase"><code>CellScanner</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="stats"> |
| <h3>stats</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-101">stats</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="readonly"> |
| <h3>readonly</h3> |
| <div class="member-signature"><span class="modifiers">private final</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-103">readonly</a></span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="cursor"> |
| <h3>cursor</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type"><a href="Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-105">cursor</a></span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>()"> |
| <h3>Result</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-113">Result</a></span>()</div> |
| <div class="block">Creates an empty Result w/ no KeyValue payload; returns null if you call <a href="#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="#copyFrom(org.apache.hadoop.hbase.client.Result)"><code>copyFrom(Result)</code></a> call.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(boolean)"> |
| <h3>Result</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-121">Result</a></span><wbr><span class="parameters">(boolean readonly)</span></div> |
| <div class="block">Allows to construct special purpose immutable Result objects, such as EMPTY_RESULT.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>readonly</code> - whether this Result instance is readonly</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(org.apache.hadoop.hbase.client.Cursor)"> |
| <h3>Result</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-196">Result</a></span><wbr><span class="parameters">(<a href="Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a> cursor)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(org.apache.hadoop.hbase.ExtendedCell[],java.lang.Boolean,boolean,boolean)"> |
| <h3>Result</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-202">Result</a></span><wbr><span class="parameters">(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[] cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</span></div> |
| <div class="block">Private ctor. Use <a href="#create(org.apache.hadoop.hbase.Cell%5B%5D)"><code>create(Cell[])</code></a>.</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="create(java.util.List)"> |
| <h3>create</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-130">create</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells)</span></div> |
| <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 class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>cells</code> - List of cells</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="create(java.util.List,java.lang.Boolean)"> |
| <h3>create</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-134">create</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="create(java.util.List,java.lang.Boolean,boolean)"> |
| <h3>create</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-138">create</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="create(java.util.List,java.lang.Boolean,boolean,boolean)"> |
| <h3>create</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-142">create</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><? extends <a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="create(org.apache.hadoop.hbase.Cell[])"> |
| <h3>create</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-156">create</a></span><wbr><span class="parameters">(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells)</span></div> |
| <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 class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>cells</code> - array of cells</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="create(org.apache.hadoop.hbase.Cell[],java.lang.Boolean,boolean)"> |
| <h3>create</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-160">create</a></span><wbr><span class="parameters">(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="create(org.apache.hadoop.hbase.Cell[],java.lang.Boolean,boolean,boolean)"> |
| <h3>create</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-164">create</a></span><wbr><span class="parameters">(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="create(org.apache.hadoop.hbase.ExtendedCell[])"> |
| <h3>create</h3> |
| <div class="member-signature"><span class="modifiers">static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-176">create</a></span><wbr><span class="parameters">(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[] cells)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="create(org.apache.hadoop.hbase.ExtendedCell[],java.lang.Boolean,boolean)"> |
| <h3>create</h3> |
| <div class="member-signature"><span class="modifiers">static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-180">create</a></span><wbr><span class="parameters">(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[] cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="create(org.apache.hadoop.hbase.ExtendedCell[],java.lang.Boolean,boolean,boolean)"> |
| <h3>create</h3> |
| <div class="member-signature"><span class="modifiers">static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-184">create</a></span><wbr><span class="parameters">(<a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[] cells, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists, |
| boolean stale, |
| boolean mayHaveMoreCellsInRow)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createCursorResult(org.apache.hadoop.hbase.client.Cursor)"> |
| <h3>createCursorResult</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-192">createCursorResult</a></span><wbr><span class="parameters">(<a href="Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a> cursor)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getRow()"> |
| <h3>getRow</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">byte[]</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-215">getRow</a></span>()</div> |
| <div class="block">Method for retrieving the row key that corresponds to the row from which this Result was |
| created.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="rawCells()"> |
| <h3>rawCells</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[]</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-235">rawCells</a></span>()</div> |
| <div class="block">Return the array of Cells backing this Result instance. The array is sorted from smallest -> |
| largest using the <a href="../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="../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 class="notes"> |
| <dt>Returns:</dt> |
| <dd>array of Cells; can be null if nothing in the result</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="rawExtendedCells()"> |
| <h3>rawExtendedCells</h3> |
| <div class="member-signature"><span class="return-type"><a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>[]</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-239">rawExtendedCells</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="listCells()"> |
| <h3>listCells</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-248">listCells</a></span>()</div> |
| <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 class="notes"> |
| <dt>Returns:</dt> |
| <dd>sorted List of Cells; can be null if no cells in the result</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getColumnCells(byte[],byte[])"> |
| <h3>getColumnCells</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a><<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-262">getColumnCells</a></span><wbr><span class="parameters">(byte[] family, |
| byte[] qualifier)</span></div> |
| <div class="block">Return the Cells for the specific column. The Cells are sorted in the <a href="../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 class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>family</code> - the family</dd> |
| <dt>Returns:</dt> |
| <dd>a list of Cells for this column or empty list if the column did not exist in the result |
| set</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="notNullBytes(byte[])"> |
| <h3>notNullBytes</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">byte[]</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-286">notNullBytes</a></span><wbr><span class="parameters">(byte[] bytes)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="binarySearch(org.apache.hadoop.hbase.Cell[],byte[],byte[])"> |
| <h3>binarySearch</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-294">binarySearch</a></span><wbr><span class="parameters">(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] kvs, |
| byte[] family, |
| byte[] qualifier)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="binarySearch(org.apache.hadoop.hbase.Cell[],byte[],int,int,byte[],int,int)"> |
| <h3>binarySearch</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-325">binarySearch</a></span><wbr><span class="parameters">(<a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] kvs, |
| byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</span></div> |
| <div class="block">Searches for the latest value for the specified column.</div> |
| <dl class="notes"> |
| <dt>Parameters:</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>Returns:</dt> |
| <dd>the index where the value was found, or -1 otherwise</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getColumnLatestCell(byte[],byte[])"> |
| <h3>getColumnLatestCell</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-360">getColumnLatestCell</a></span><wbr><span class="parameters">(byte[] family, |
| byte[] qualifier)</span></div> |
| <div class="block">The Cell for the most recent timestamp for a given column.</div> |
| <dl class="notes"> |
| <dt>Returns:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getColumnLatestCell(byte[],int,int,byte[],int,int)"> |
| <h3>getColumnLatestCell</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-386">getColumnLatestCell</a></span><wbr><span class="parameters">(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</span></div> |
| <div class="block">The Cell for the most recent timestamp for a given column.</div> |
| <dl class="notes"> |
| <dt>Parameters:</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>Returns:</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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getValue(byte[],byte[])"> |
| <h3>getValue</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">byte[]</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-414">getValue</a></span><wbr><span class="parameters">(byte[] family, |
| byte[] qualifier)</span></div> |
| <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="#getValueAsByteBuffer(byte%5B%5D,byte%5B%5D)"><code>getValueAsByteBuffer(byte[], byte[])</code></a>, etc., or <a href="#listCells()"><code>listCells()</code></a> |
| if you would avoid the cloning.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dt>Returns:</dt> |
| <dd>value of latest version of column, null if none found</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getValueAsByteBuffer(byte[],byte[])"> |
| <h3>getValueAsByteBuffer</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-428">getValueAsByteBuffer</a></span><wbr><span class="parameters">(byte[] family, |
| byte[] qualifier)</span></div> |
| <div class="block">Returns the value wrapped in a new <code>ByteBuffer</code>.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dt>Returns:</dt> |
| <dd>the latest version of the column, or <code>null</code> if none found</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getValueAsByteBuffer(byte[],int,int,byte[],int,int)"> |
| <h3>getValueAsByteBuffer</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-449">getValueAsByteBuffer</a></span><wbr><span class="parameters">(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</span></div> |
| <div class="block">Returns the value wrapped in a new <code>ByteBuffer</code>.</div> |
| <dl class="notes"> |
| <dt>Parameters:</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>Returns:</dt> |
| <dd>the latest version of the column, or <code>null</code> if none found</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="loadValue(byte[],byte[],java.nio.ByteBuffer)"> |
| <h3>loadValue</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-471">loadValue</a></span><wbr><span class="parameters">(byte[] family, |
| byte[] qualifier, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a> dst)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/BufferOverflowException.html" title="class or interface in java.nio" class="external-link">BufferOverflowException</a></span></div> |
| <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 class="notes"> |
| <dt>Parameters:</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>Returns:</dt> |
| <dd><code>true</code> if a value was found, <code>false</code> otherwise</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/BufferOverflowException.html" title="class or interface in java.nio" class="external-link">BufferOverflowException</a></code> - there is insufficient space remaining in the buffer</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="loadValue(byte[],int,int,byte[],int,int,java.nio.ByteBuffer)"> |
| <h3>loadValue</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-490">loadValue</a></span><wbr><span class="parameters">(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength, |
| <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/ByteBuffer.html" title="class or interface in java.nio" class="external-link">ByteBuffer</a> dst)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/BufferOverflowException.html" title="class or interface in java.nio" class="external-link">BufferOverflowException</a></span></div> |
| <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 class="notes"> |
| <dt>Parameters:</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>Returns:</dt> |
| <dd><code>true</code> if a value was found, <code>false</code> otherwise</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/BufferOverflowException.html" title="class or interface in java.nio" class="external-link">BufferOverflowException</a></code> - there is insufficient space remaining in the buffer</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="containsNonEmptyColumn(byte[],byte[])"> |
| <h3>containsNonEmptyColumn</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-507">containsNonEmptyColumn</a></span><wbr><span class="parameters">(byte[] family, |
| byte[] qualifier)</span></div> |
| <div class="block">Checks if the specified column contains a non-empty value (not a zero-length byte array).</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dt>Returns:</dt> |
| <dd>whether or not a latest value exists and is not empty</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="containsNonEmptyColumn(byte[],int,int,byte[],int,int)"> |
| <h3>containsNonEmptyColumn</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-522">containsNonEmptyColumn</a></span><wbr><span class="parameters">(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</span></div> |
| <div class="block">Checks if the specified column contains a non-empty value (not a zero-length byte array).</div> |
| <dl class="notes"> |
| <dt>Parameters:</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>Returns:</dt> |
| <dd>whether or not a latest value exists and is not empty</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="containsEmptyColumn(byte[],byte[])"> |
| <h3>containsEmptyColumn</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-536">containsEmptyColumn</a></span><wbr><span class="parameters">(byte[] family, |
| byte[] qualifier)</span></div> |
| <div class="block">Checks if the specified column contains an empty value (a zero-length byte array).</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dt>Returns:</dt> |
| <dd>whether or not a latest value exists and is empty</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="containsEmptyColumn(byte[],int,int,byte[],int,int)"> |
| <h3>containsEmptyColumn</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-551">containsEmptyColumn</a></span><wbr><span class="parameters">(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</span></div> |
| <div class="block">Checks if the specified column contains an empty value (a zero-length byte array).</div> |
| <dl class="notes"> |
| <dt>Parameters:</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>Returns:</dt> |
| <dd>whether or not a latest value exists and is empty</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="containsColumn(byte[],byte[])"> |
| <h3>containsColumn</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-564">containsColumn</a></span><wbr><span class="parameters">(byte[] family, |
| byte[] qualifier)</span></div> |
| <div class="block">Checks for existence of a value for the specified column (empty or not).</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>family</code> - family name</dd> |
| <dd><code>qualifier</code> - column qualifier</dd> |
| <dt>Returns:</dt> |
| <dd>true if at least one value exists in the result, false if not</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="containsColumn(byte[],int,int,byte[],int,int)"> |
| <h3>containsColumn</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-579">containsColumn</a></span><wbr><span class="parameters">(byte[] family, |
| int foffset, |
| int flength, |
| byte[] qualifier, |
| int qoffset, |
| int qlength)</span></div> |
| <div class="block">Checks for existence of a value for the specified column (empty or not).</div> |
| <dl class="notes"> |
| <dt>Parameters:</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>Returns:</dt> |
| <dd>true if at least one value exists in the result, false if not</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMap()"> |
| <h3>getMap</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>,<wbr>byte[]>>></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-594">getMap</a></span>()</div> |
| <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 class="notes"> |
| <dt>Returns:</dt> |
| <dd>map from families to qualifiers to versions</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getNoVersionMap()"> |
| <h3>getNoVersionMap</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr>byte[]>></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-636">getNoVersionMap</a></span>()</div> |
| <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 class="notes"> |
| <dt>Returns:</dt> |
| <dd>map from families to qualifiers and value</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getFamilyMap(byte[])"> |
| <h3>getFamilyMap</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/NavigableMap.html" title="class or interface in java.util" class="external-link">NavigableMap</a><byte[],<wbr>byte[]></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-665">getFamilyMap</a></span><wbr><span class="parameters">(byte[] family)</span></div> |
| <div class="block">Map of qualifiers to values. |
| <p> |
| Returns a Map of the form: <code>Map<qualifier,value></code></div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>family</code> - column family to get</dd> |
| <dt>Returns:</dt> |
| <dd>map of qualifiers to values</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="value()"> |
| <h3>value</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">byte[]</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-688">value</a></span>()</div> |
| <div class="block">Returns the value of the first column in the Result.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>value of the first column</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isEmpty()"> |
| <h3>isEmpty</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-699">isEmpty</a></span>()</div> |
| <div class="block">Check if the underlying Cell [] is empty or not</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>true if empty</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="size()"> |
| <h3>size</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-704">size</a></span>()</div> |
| <div class="block">Returns the size of the underlying Cell []</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="toString()"> |
| <h3>toString</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-710">toString</a></span>()</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="compareResults(org.apache.hadoop.hbase.client.Result,org.apache.hadoop.hbase.client.Result)"> |
| <h3>compareResults</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-738">compareResults</a></span><wbr><span class="parameters">(<a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res1, |
| <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res2)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">Exception</a></span></div> |
| <div class="block">Does a deep comparison of two Results, down to the byte arrays.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>res1</code> - first result to compare</dd> |
| <dd><code>res2</code> - second result to compare</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">Exception</a></code> - Every difference is throwing an exception</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="compareResults(org.apache.hadoop.hbase.client.Result,org.apache.hadoop.hbase.client.Result,boolean)"> |
| <h3>compareResults</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-750">compareResults</a></span><wbr><span class="parameters">(<a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res1, |
| <a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> res2, |
| boolean verbose)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">Exception</a></span></div> |
| <div class="block">Does a deep comparison of two Results, down to the byte arrays.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>res1</code> - first result to compare</dd> |
| <dd><code>res2</code> - second result to compare</dd> |
| <dd><code>verbose</code> - includes string representation for all cells in the exception if true; otherwise |
| include rowkey only</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">Exception</a></code> - Every difference is throwing an exception</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="createCompleteResult(java.lang.Iterable)"> |
| <h3>createCompleteResult</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type"><a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-790">createCompleteResult</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Iterable.html" title="class or interface in java.lang" class="external-link">Iterable</a><<a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>> partialResults)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <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 class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>partialResults</code> - list of partial results</dd> |
| <dt>Returns:</dt> |
| <dd>The complete result that is formed by combining all of the partial results together</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - A complete result cannot be formed because the results in the partial list |
| come from different rows</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getTotalSizeOfCells(org.apache.hadoop.hbase.client.Result)"> |
| <h3>getTotalSizeOfCells</h3> |
| <div class="member-signature"><span class="modifiers">public static</span> <span class="return-type">long</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-832">getTotalSizeOfCells</a></span><wbr><span class="parameters">(<a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> result)</span></div> |
| <div class="block">Get total size of raw cells</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>Total size.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="copyFrom(org.apache.hadoop.hbase.client.Result)"> |
| <h3>copyFrom</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-848">copyFrom</a></span><wbr><span class="parameters">(<a href="Result.html" title="class in org.apache.hadoop.hbase.client">Result</a> other)</span></div> |
| <div class="block">Copy another Result into this one. Needed for the old Mapred framework</div> |
| <dl class="notes"> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang" class="external-link">UnsupportedOperationException</a></code> - if invoked on instance of EMPTY_RESULT (which is supposed |
| to be immutable).</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="cellScanner()"> |
| <h3>cellScanner</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScanner</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-860">cellScanner</a></span>()</div> |
| <div class="block">For client users: You should only use the return value as a |
| <a href="../CellScanner.html" title="interface in org.apache.hadoop.hbase"><code>CellScanner</code></a>, <a href="../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase"><code>ExtendedCellScanner</code></a> is marked as |
| IA.Private which means there is no guarantee about its API stability.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../CellScannable.html#cellScanner()">cellScanner</a></code> in interface <code><a href="../CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../ExtendedCellScannable.html#cellScanner()">cellScanner</a></code> in interface <code><a href="../ExtendedCellScannable.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScannable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="current()"> |
| <h3>current</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-871">current</a></span>()</div> |
| <div class="block">For client users: You should only use the return value as a <a href="../Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>, <a href="../ExtendedCell.html" title="interface in org.apache.hadoop.hbase"><code>ExtendedCell</code></a> |
| is marked as IA.Private which means there is no guarantee about its API stability.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../CellScanner.html#current()">current</a></code> in interface <code><a href="../CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../ExtendedCellScanner.html#current()">current</a></code> in interface <code><a href="../ExtendedCellScanner.html" title="interface in org.apache.hadoop.hbase">ExtendedCellScanner</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="advance()"> |
| <h3>advance</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-881">advance</a></span>()</div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../CellScanner.html#advance()">CellScanner</a></code></span></div> |
| <div class="block">Advance the scanner 1 cell.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../CellScanner.html#advance()">advance</a></code> in interface <code><a href="../CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>true if the next cell is found and <a href="../CellScanner.html#current()"><code>CellScanner.current()</code></a> will return a valid Cell</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getExists()"> |
| <h3>getExists</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-895">getExists</a></span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setExists(java.lang.Boolean)"> |
| <h3>setExists</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-899">setExists</a></span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a> exists)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isStale()"> |
| <h3>isStale</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-909">isStale</a></span>()</div> |
| <div class="block">Whether or not the results are coming from possibly stale data. Stale results might be returned |
| if <a href="Consistency.html" title="enum class in org.apache.hadoop.hbase.client"><code>Consistency</code></a> is not STRONG for the query.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>Whether or not the results are coming from possibly stale data.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="mayHaveMoreCellsInRow()"> |
| <h3>mayHaveMoreCellsInRow</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-921">mayHaveMoreCellsInRow</a></span>()</div> |
| <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="Scan.html#setAllowPartialResults(boolean)"><code>Scan.setAllowPartialResults(boolean)</code></a> or |
| <a href="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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setStatistics(org.apache.hadoop.hbase.client.RegionLoadStats)"> |
| <h3>setStatistics</h3> |
| <div class="member-signature"><span class="annotations">@Private |
| </span><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-929">setStatistics</a></span><wbr><span class="parameters">(<a href="RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a> loadStats)</span></div> |
| <div class="block">Set load information about the region to the information about the result</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>loadStats</code> - statistics about the current region from which this was returned</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getStats()"> |
| <h3>getStats</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="RegionLoadStats.html" title="class in org.apache.hadoop.hbase.client">RegionLoadStats</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-938">getStats</a></span>()</div> |
| <div class="block">Returns the associated statistics about the region from which this was returned. Can be |
| <tt>null</tt> if stats are disabled.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="checkReadonly()"> |
| <h3>checkReadonly</h3> |
| <div class="member-signature"><span class="modifiers">private</span> <span class="return-type">void</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-946">checkReadonly</a></span>()</div> |
| <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> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isCursor()"> |
| <h3>isCursor</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-961">isCursor</a></span>()</div> |
| <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="#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="Scan.html#setNeedCursorResult(boolean)"><code>Scan.setNeedCursorResult(boolean)</code></a> <a href="Cursor.html" title="class in org.apache.hadoop.hbase.client"><code>Cursor</code></a> <a href="#getCursor()"><code>getCursor()</code></a></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getCursor()"> |
| <h3>getCursor</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="Cursor.html" title="class in org.apache.hadoop.hbase.client">Cursor</a></span> <span class="element-name"><a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line-969">getCursor</a></span>()</div> |
| <div class="block">Return the cursor if this Result is a cursor result. <a href="Scan.html#setNeedCursorResult(boolean)"><code>Scan.setNeedCursorResult(boolean)</code></a> |
| <a href="Cursor.html" title="class in org.apache.hadoop.hbase.client"><code>Cursor</code></a> <a href="#isCursor()"><code>isCursor()</code></a></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 2007–2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |