| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>CellUtil (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="CellUtil (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CellUtil.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/hadoop/hbase/ChoreService.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/hadoop/hbase/CellUtil.html" target="_top">Frames</a></li> |
| <li><a href="CellUtil.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.hadoop.hbase</div> |
| <h2 title="Class CellUtil" class="title">Class CellUtil</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.hadoop.hbase.CellUtil</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>@InterfaceAudience.Public |
| public final class <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.44">CellUtil</a> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block">Utility methods helpful for slinging <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a> instances. Some methods below are for internal |
| use only and are marked InterfaceAudience.Private at the method level. Note that all such methods |
| have been marked deprecated in HBase-2.0 which will be subsequently removed in HBase-3.0</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#cloneFamily-org.apache.hadoop.hbase.Cell-">cloneFamily</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#cloneQualifier-org.apache.hadoop.hbase.Cell-">cloneQualifier</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#cloneRow-org.apache.hadoop.hbase.Cell-">cloneRow</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">get individual arrays for tests</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#cloneValue-org.apache.hadoop.hbase.Cell-">cloneValue</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#compareColumns-org.apache.hadoop.hbase.Cell-byte:A-int-int-int-int-">compareColumns</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] right, |
| int rfoffset, |
| int rflength, |
| int rqoffset, |
| int rqlength)</code> |
| <div class="block">Compares the cell's column (family and qualifier) with the given byte[]</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#compareFamilies-org.apache.hadoop.hbase.Cell-byte:A-int-int-">compareFamilies</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] right, |
| int roffset, |
| int rlength)</code> |
| <div class="block">Compares the cell's family with the given byte[]</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#compareQualifiers-org.apache.hadoop.hbase.Cell-byte:A-int-int-">compareQualifiers</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] right, |
| int rOffset, |
| int rLength)</code> |
| <div class="block">Compares the cell's qualifier with the given byte[]</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyFamilyTo-org.apache.hadoop.hbase.Cell-byte:A-int-">copyFamilyTo</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] destination, |
| int destinationOffset)</code> |
| <div class="block">Copies the family to the given byte[]</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyFamilyTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-">copyFamilyTo</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> destination, |
| int destinationOffset)</code> |
| <div class="block">Copies the family to the given bytebuffer</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyQualifierTo-org.apache.hadoop.hbase.Cell-byte:A-int-">copyQualifierTo</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] destination, |
| int destinationOffset)</code> |
| <div class="block">Copies the qualifier to the given byte[]</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyQualifierTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-">copyQualifierTo</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> destination, |
| int destinationOffset)</code> |
| <div class="block">Copies the qualifier to the given bytebuffer</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyRow-org.apache.hadoop.hbase.Cell-">copyRow</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Copies the row to a new byte[]</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyRowTo-org.apache.hadoop.hbase.Cell-byte:A-int-">copyRowTo</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] destination, |
| int destinationOffset)</code> |
| <div class="block">Copies the row to the given byte[]</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyRowTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-">copyRowTo</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> destination, |
| int destinationOffset)</code> |
| <div class="block">Copies the row to the given bytebuffer</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyValueTo-org.apache.hadoop.hbase.Cell-byte:A-int-">copyValueTo</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] destination, |
| int destinationOffset)</code> |
| <div class="block">Copies the value to the given byte[]</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyValueTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-">copyValueTo</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> destination, |
| int destinationOffset)</code> |
| <div class="block">Copies the value to the given bytebuffer</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCellScanner-org.apache.hadoop.hbase.Cell:A-">createCellScanner</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cellArray)</code> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCellScanner-java.lang.Iterable-">createCellScanner</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cellIterable)</code> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCellScanner-java.util.Iterator-">createCellScanner</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells)</code> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCellScanner-java.util.List-">createCellScanner</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? extends <a href="../../../../org/apache/hadoop/hbase/CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a>> cellScannerables)</code> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCellScanner-java.util.NavigableMap-">createCellScanner</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>>> map)</code> |
| <div class="block">Flatten the map of cells out under the CellScanner</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#equals-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">equals</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> a, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> b)</code> |
| <div class="block">equals</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getCellKeyAsString-org.apache.hadoop.hbase.Cell-">getCellKeyAsString</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getCellKeyAsString-org.apache.hadoop.hbase.Cell-java.util.function.Function-">getCellKeyAsString</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> rowConverter)</code> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#isDelete-org.apache.hadoop.hbase.Cell-">isDelete</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#isPut-org.apache.hadoop.hbase.Cell-">isPut</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>static byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#makeColumn-byte:A-byte:A-">makeColumn</a></span>(byte[] family, |
| byte[] qualifier)</code> |
| <div class="block">Makes a column in family:qualifier form from separate byte arrays.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingColumn-org.apache.hadoop.hbase.Cell-byte:A-byte:A-">matchingColumn</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] fam, |
| byte[] qual)</code> </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingColumn-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">matchingColumn</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingColumnFamilyAndQualifierPrefix-org.apache.hadoop.hbase.Cell-byte:A-byte:A-">matchingColumnFamilyAndQualifierPrefix</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] fam, |
| byte[] qual)</code> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingFamily-org.apache.hadoop.hbase.Cell-byte:A-">matchingFamily</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] buf)</code> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingFamily-org.apache.hadoop.hbase.Cell-byte-org.apache.hadoop.hbase.Cell-byte-">matchingFamily</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte lfamlength, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right, |
| byte rfamlength)</code> </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingFamily-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">matchingFamily</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingQualifier-org.apache.hadoop.hbase.Cell-byte:A-">matchingQualifier</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] buf)</code> |
| <div class="block">Finds if the qualifier part of the cell and the KV serialized |
| byte[] are equal</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingQualifier-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">matchingQualifier</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingRow-org.apache.hadoop.hbase.Cell-byte:A-int-int-">matchingRow</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] buf, |
| int offset, |
| int length)</code> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingRowColumn-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">matchingRowColumn</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> |
| <div class="block">Compares the row and column of two keyvalues for equality</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingRowColumnBytes-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">matchingRowColumnBytes</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingRows-org.apache.hadoop.hbase.Cell-byte:A-">matchingRows</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] buf)</code> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingRows-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">matchingRows</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> |
| <div class="block">Compares the row of two keyvalues for equality</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingRows-org.apache.hadoop.hbase.Cell-short-org.apache.hadoop.hbase.Cell-short-">matchingRows</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| short lrowlength, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right, |
| short rrowlength)</code> </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingTags-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">matchingTags</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingTimestamp-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">matchingTimestamp</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> a, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> b)</code> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingValue-org.apache.hadoop.hbase.Cell-byte:A-">matchingValue</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] buf)</code> </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingValue-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">matchingValue</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingValue-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-int-int-">matchingValue</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right, |
| int lvlength, |
| int rvlength)</code> </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>static byte[][]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#parseColumn-byte:A-">parseColumn</a></span>(byte[] c)</code> |
| <div class="block">Splits a column in <code>family:qualifier</code> form into separate byte arrays.</div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#toString-org.apache.hadoop.hbase.Cell-boolean-">toString</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| boolean verbose)</code> |
| <div class="block">Returns a string representation of the cell</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="cloneRow-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cloneRow</h4> |
| <pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.54">cloneRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">get individual arrays for tests</div> |
| </li> |
| </ul> |
| <a name="cloneFamily-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cloneFamily</h4> |
| <pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.60">cloneFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| </li> |
| </ul> |
| <a name="cloneQualifier-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cloneQualifier</h4> |
| <pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.66">cloneQualifier</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| </li> |
| </ul> |
| <a name="cloneValue-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cloneValue</h4> |
| <pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.72">cloneValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| </li> |
| </ul> |
| <a name="makeColumn-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>makeColumn</h4> |
| <pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.86">makeColumn</a>(byte[] family, |
| byte[] qualifier)</pre> |
| <div class="block">Makes a column in family:qualifier form from separate byte arrays. |
| <p> |
| Not recommended for usage as this is old-style API.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>family</code> - </dd> |
| <dd><code>qualifier</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>family:qualifier</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="parseColumn-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>parseColumn</h4> |
| <pre>public static byte[][] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.103">parseColumn</a>(byte[] c)</pre> |
| <div class="block">Splits a column in <code>family:qualifier</code> form into separate byte arrays. An empty qualifier |
| (ie, <code>fam:</code>) is parsed as <code>{ fam, EMPTY_BYTE_ARRAY }</code> while no delimiter (ie, |
| <code>fam</code>) is parsed as an array of one element, <code>{ fam }</code>. |
| <p> |
| Don't forget, HBase DOES support empty qualifiers. (see HBASE-9549) |
| </p> |
| <p> |
| Not recommend to be used as this is old-style API. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>c</code> - The column.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The parsed column.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyRowTo-org.apache.hadoop.hbase.Cell-byte:A-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyRowTo</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.133">copyRowTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] destination, |
| int destinationOffset)</pre> |
| <div class="block">Copies the row to the given byte[]</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell whose row has to be copied</dd> |
| <dd><code>destination</code> - the destination byte[] to which the row has to be copied</dd> |
| <dd><code>destinationOffset</code> - the offset in the destination byte[]</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the offset of the byte[] after the copy has happened</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyRowTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyRowTo</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.153">copyRowTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> destination, |
| int destinationOffset)</pre> |
| <div class="block">Copies the row to the given bytebuffer</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - cell the cell whose row has to be copied</dd> |
| <dd><code>destination</code> - the destination bytebuffer to which the row has to be copied</dd> |
| <dd><code>destinationOffset</code> - the offset in the destination byte[]</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the offset of the bytebuffer after the copy has happened</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyRow-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyRow</h4> |
| <pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.170">copyRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Copies the row to a new byte[]</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell from which row has to copied</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the byte[] containing the row</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyFamilyTo-org.apache.hadoop.hbase.Cell-byte:A-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyFamilyTo</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.188">copyFamilyTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] destination, |
| int destinationOffset)</pre> |
| <div class="block">Copies the family to the given byte[]</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell whose family has to be copied</dd> |
| <dd><code>destination</code> - the destination byte[] to which the family has to be copied</dd> |
| <dd><code>destinationOffset</code> - the offset in the destination byte[]</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the offset of the byte[] after the copy has happened</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyFamilyTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyFamilyTo</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.208">copyFamilyTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> destination, |
| int destinationOffset)</pre> |
| <div class="block">Copies the family to the given bytebuffer</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell whose family has to be copied</dd> |
| <dd><code>destination</code> - the destination bytebuffer to which the family has to be copied</dd> |
| <dd><code>destinationOffset</code> - the offset in the destination bytebuffer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the offset of the bytebuffer after the copy has happened</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyQualifierTo-org.apache.hadoop.hbase.Cell-byte:A-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyQualifierTo</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.227">copyQualifierTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] destination, |
| int destinationOffset)</pre> |
| <div class="block">Copies the qualifier to the given byte[]</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell whose qualifier has to be copied</dd> |
| <dd><code>destination</code> - the destination byte[] to which the qualifier has to be copied</dd> |
| <dd><code>destinationOffset</code> - the offset in the destination byte[]</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the offset of the byte[] after the copy has happened</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyQualifierTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyQualifierTo</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.247">copyQualifierTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> destination, |
| int destinationOffset)</pre> |
| <div class="block">Copies the qualifier to the given bytebuffer</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell whose qualifier has to be copied</dd> |
| <dd><code>destination</code> - the destination bytebuffer to which the qualifier has to be copied</dd> |
| <dd><code>destinationOffset</code> - the offset in the destination bytebuffer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the offset of the bytebuffer after the copy has happened</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyValueTo-org.apache.hadoop.hbase.Cell-byte:A-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyValueTo</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.268">copyValueTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] destination, |
| int destinationOffset)</pre> |
| <div class="block">Copies the value to the given byte[]</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell whose value has to be copied</dd> |
| <dd><code>destination</code> - the destination byte[] to which the value has to be copied</dd> |
| <dd><code>destinationOffset</code> - the offset in the destination byte[]</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the offset of the byte[] after the copy has happened</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyValueTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyValueTo</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.288">copyValueTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> destination, |
| int destinationOffset)</pre> |
| <div class="block">Copies the value to the given bytebuffer</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell whose value has to be copied</dd> |
| <dd><code>destination</code> - the destination bytebuffer to which the value has to be copied</dd> |
| <dd><code>destinationOffset</code> - the offset in the destination bytebuffer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the offset of the bytebuffer after the copy has happened</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createCellScanner-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCellScanner</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.304">createCellScanner</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? extends <a href="../../../../org/apache/hadoop/hbase/CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a>> cellScannerables)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cellScannerables</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>CellScanner interface over <code>cellIterables</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createCellScanner-java.lang.Iterable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCellScanner</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.333">createCellScanner</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cellIterable)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cellIterable</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>CellScanner interface over <code>cellIterable</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createCellScanner-java.util.Iterator-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCellScanner</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.343">createCellScanner</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cells</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>CellScanner interface over <code>cellIterable</code> or null if <code>cells</code> is |
| null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createCellScanner-org.apache.hadoop.hbase.Cell:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCellScanner</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.367">createCellScanner</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cellArray)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cellArray</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>CellScanner interface over <code>cellArray</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createCellScanner-java.util.NavigableMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCellScanner</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.392">createCellScanner</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>>> map)</pre> |
| <div class="block">Flatten the map of cells out under the CellScanner</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>map</code> - Map of Cell Lists; for example, the map of families to Cells that is used |
| inside Put, etc., keeping Cells organized by family.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>CellScanner interface over <code>cellIterable</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="matchingRows-org.apache.hadoop.hbase.Cell-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingRows</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.421">matchingRows</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] buf)</pre> |
| </li> |
| </ul> |
| <a name="matchingRow-org.apache.hadoop.hbase.Cell-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingRow</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.428">matchingRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] buf, |
| int offset, |
| int length)</pre> |
| </li> |
| </ul> |
| <a name="matchingFamily-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingFamily</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.433">matchingFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> |
| </li> |
| </ul> |
| <a name="matchingFamily-org.apache.hadoop.hbase.Cell-byte-org.apache.hadoop.hbase.Cell-byte-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingFamily</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.439">matchingFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte lfamlength, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right, |
| byte rfamlength)</pre> |
| </li> |
| </ul> |
| <a name="matchingFamily-org.apache.hadoop.hbase.Cell-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingFamily</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.461">matchingFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] buf)</pre> |
| </li> |
| </ul> |
| <a name="matchingQualifier-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingQualifier</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.468">matchingQualifier</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> |
| </li> |
| </ul> |
| <a name="matchingQualifier-org.apache.hadoop.hbase.Cell-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingQualifier</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.504">matchingQualifier</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] buf)</pre> |
| <div class="block">Finds if the qualifier part of the cell and the KV serialized |
| byte[] are equal</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>left</code> - </dd> |
| <dd><code>buf</code> - the serialized keyvalue format byte[]</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the qualifier matches, false otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="matchingColumn-org.apache.hadoop.hbase.Cell-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingColumn</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.511">matchingColumn</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] fam, |
| byte[] qual)</pre> |
| </li> |
| </ul> |
| <a name="matchingColumnFamilyAndQualifierPrefix-org.apache.hadoop.hbase.Cell-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingColumnFamilyAndQualifierPrefix</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.518">matchingColumnFamilyAndQualifierPrefix</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] fam, |
| byte[] qual)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if matching column family and the qualifier starts with <code>qual</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="matchingColumn-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingColumn</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.523">matchingColumn</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> |
| </li> |
| </ul> |
| <a name="matchingValue-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingValue</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.537">matchingValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> |
| </li> |
| </ul> |
| <a name="matchingValue-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingValue</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.541">matchingValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right, |
| int lvlength, |
| int rvlength)</pre> |
| </li> |
| </ul> |
| <a name="matchingValue-org.apache.hadoop.hbase.Cell-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingValue</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.563">matchingValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] buf)</pre> |
| </li> |
| </ul> |
| <a name="matchingTags-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingTags</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.573">matchingTags</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> |
| </li> |
| </ul> |
| <a name="isDelete-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDelete</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.583">isDelete</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if a delete type, a <code>KeyValue.Type.Delete</code> or a |
| {KeyValue.Type#DeleteFamily} or a |
| <code>KeyValue.Type.DeleteColumn</code> KeyValue type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isPut-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isPut</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.591">isPut</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if this cell is a Put.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCellKeyAsString-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCellKeyAsString</h4> |
| <pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.625">getCellKeyAsString</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The Key portion of the passed <code>cell</code> as a String.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCellKeyAsString-org.apache.hadoop.hbase.Cell-java.util.function.Function-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCellKeyAsString</h4> |
| <pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.635">getCellKeyAsString</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> rowConverter)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell to convert</dd> |
| <dd><code>rowConverter</code> - used to convert the row of the cell to a string</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The Key portion of the passed <code>cell</code> as a String.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString-org.apache.hadoop.hbase.Cell-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.659">toString</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| boolean verbose)</pre> |
| <div class="block">Returns a string representation of the cell</div> |
| </li> |
| </ul> |
| <a name="equals-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equals</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.692">equals</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> a, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> b)</pre> |
| <div class="block">equals</div> |
| </li> |
| </ul> |
| <a name="matchingTimestamp-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingTimestamp</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.697">matchingTimestamp</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> a, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> b)</pre> |
| </li> |
| </ul> |
| <a name="matchingRows-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingRows</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.707">matchingRows</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> |
| <div class="block">Compares the row of two keyvalues for equality</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>left</code> - </dd> |
| <dd><code>right</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if rows match.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="matchingRows-org.apache.hadoop.hbase.Cell-short-org.apache.hadoop.hbase.Cell-short-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingRows</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.713">matchingRows</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| short lrowlength, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right, |
| short rrowlength)</pre> |
| </li> |
| </ul> |
| <a name="matchingRowColumn-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingRowColumn</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.742">matchingRowColumn</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> |
| <div class="block">Compares the row and column of two keyvalues for equality</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>left</code> - </dd> |
| <dd><code>right</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if same row and column.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="matchingRowColumnBytes-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingRowColumnBytes</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.768">matchingRowColumnBytes</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> |
| </li> |
| </ul> |
| <a name="compareQualifiers-org.apache.hadoop.hbase.Cell-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareQualifiers</h4> |
| <pre>public static final int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.806">compareQualifiers</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] right, |
| int rOffset, |
| int rLength)</pre> |
| <div class="block">Compares the cell's qualifier with the given byte[]</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>left</code> - the cell for which the qualifier has to be compared</dd> |
| <dd><code>right</code> - the byte[] having the qualifier</dd> |
| <dd><code>rOffset</code> - the offset of the qualifier</dd> |
| <dd><code>rLength</code> - the length of the qualifier</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>greater than 0 if left cell's qualifier is bigger than byte[], lesser than 0 if left |
| cell's qualifier is lesser than byte[] and 0 otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compareFamilies-org.apache.hadoop.hbase.Cell-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareFamilies</h4> |
| <pre>public static final int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.825">compareFamilies</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] right, |
| int roffset, |
| int rlength)</pre> |
| <div class="block">Compares the cell's family with the given byte[]</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>left</code> - the cell for which the family has to be compared</dd> |
| <dd><code>right</code> - the byte[] having the family</dd> |
| <dd><code>roffset</code> - the offset of the family</dd> |
| <dd><code>rlength</code> - the length of the family</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>greater than 0 if left cell's family is bigger than byte[], lesser than 0 if left |
| cell's family is lesser than byte[] and 0 otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compareColumns-org.apache.hadoop.hbase.Cell-byte:A-int-int-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>compareColumns</h4> |
| <pre>public static final int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.846">compareColumns</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] right, |
| int rfoffset, |
| int rflength, |
| int rqoffset, |
| int rqlength)</pre> |
| <div class="block">Compares the cell's column (family and qualifier) with the given byte[]</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>left</code> - the cell for which the column has to be compared</dd> |
| <dd><code>right</code> - the byte[] having the column</dd> |
| <dd><code>rfoffset</code> - the offset of the family</dd> |
| <dd><code>rflength</code> - the length of the family</dd> |
| <dd><code>rqoffset</code> - the offset of the qualifier</dd> |
| <dd><code>rqlength</code> - the length of the qualifier</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>greater than 0 if left cell's column is bigger than byte[], lesser than 0 if left |
| cell's column is lesser than byte[] and 0 otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CellUtil.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/hadoop/hbase/ChoreService.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/hadoop/hbase/CellUtil.html" target="_top">Frames</a></li> |
| <li><a href="CellUtil.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2007–2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |