| <!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>PrivateCellUtil (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="PrivateCellUtil (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,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":9,"i78":9,"i79":9,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":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/PrivateCellUtil.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/PleaseRestartMasterException.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.EmptyByteBufferExtendedCell.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/PrivateCellUtil.html" target="_top">Frames</a></li> |
| <li><a href="PrivateCellUtil.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><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.hadoop.hbase</div> |
| <h2 title="Class PrivateCellUtil" class="title">Class PrivateCellUtil</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.PrivateCellUtil</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>@InterfaceAudience.Private |
| public final class <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.48">PrivateCellUtil</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 slinging <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a> instances. It has more powerful and |
| rich set of APIs than those in <a href="../../../../org/apache/hadoop/hbase/CellUtil.html" title="class in org.apache.hadoop.hbase"><code>CellUtil</code></a> for internal usage.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.EmptyByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.EmptyByteBufferExtendedCell</a></span></code> |
| <div class="block">These cells are used in reseeks/seeks to improve the read performance.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.EmptyCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.EmptyCell</a></span></code> |
| <div class="block">These cells are used in reseeks/seeks to improve the read performance.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.FirstOnRowByteBufferExtendedCell</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.FirstOnRowCell</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowColByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.FirstOnRowColByteBufferExtendedCell</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowColCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.FirstOnRowColCell</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowColTSByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.FirstOnRowColTSByteBufferExtendedCell</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowColTSCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.FirstOnRowColTSCell</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.FirstOnRowDeleteFamilyCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.FirstOnRowDeleteFamilyCell</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.LastOnRowByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.LastOnRowByteBufferExtendedCell</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.LastOnRowCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.LastOnRowCell</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.LastOnRowColByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.LastOnRowColByteBufferExtendedCell</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.LastOnRowColCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.LastOnRowColCell</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.TagRewriteByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.TagRewriteByteBufferExtendedCell</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.TagRewriteCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.TagRewriteCell</a></span></code> |
| <div class="block">This can be used when a Cell has to change with addition/removal of one or more tags.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.ValueAndTagRewriteByteBufferExtendedCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.ValueAndTagRewriteByteBufferExtendedCell</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.ValueAndTagRewriteCell.html" title="class in org.apache.hadoop.hbase">PrivateCellUtil.ValueAndTagRewriteCell</a></span></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colLast" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#PrivateCellUtil--">PrivateCellUtil</a></span>()</code> |
| <div class="block">Private constructor to keep this class from being instantiated.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="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/PrivateCellUtil.html#cloneTags-org.apache.hadoop.hbase.Cell-">cloneTags</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 int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#compare-org.apache.hadoop.hbase.CellComparator-org.apache.hadoop.hbase.Cell-byte:A-int-int-">compare</a></span>(<a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a> comparator, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] key, |
| int offset, |
| int length)</code> |
| <div class="block">Used when a cell needs to be compared with a key byte[] such as cases of finding the index from |
| the index block, bloom keys from the bloom blocks This byte[] is expected to be serialized in |
| the KeyValue serialization format If the KeyValue (Cell's) serialization format changes this |
| method cannot be used.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#compareFamily-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.filter.ByteArrayComparable-">compareFamily</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/filter/ByteArrayComparable.html" title="class in org.apache.hadoop.hbase.filter">ByteArrayComparable</a> comparator)</code> |
| <div class="block">Compare cell's column family against given comparator</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#compareKeyBasedOnColHint-org.apache.hadoop.hbase.CellComparator-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-int-int-byte:A-int-int-long-byte-">compareKeyBasedOnColHint</a></span>(<a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a> comparator, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> nextIndexedCell, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> currentCell, |
| int foff, |
| int flen, |
| byte[] colHint, |
| int coff, |
| int clen, |
| long ts, |
| byte type)</code> |
| <div class="block">Used to compare two cells based on the column hint provided.</div> |
| </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/PrivateCellUtil.html#compareKeyIgnoresMvcc-org.apache.hadoop.hbase.CellComparator-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">compareKeyIgnoresMvcc</a></span>(<a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a> comparator, |
| <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 only the key portion of a cell.</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/PrivateCellUtil.html#compareQualifier-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.filter.ByteArrayComparable-">compareQualifier</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/filter/ByteArrayComparable.html" title="class in org.apache.hadoop.hbase.filter">ByteArrayComparable</a> comparator)</code> |
| <div class="block">Compare cell's qualifier against given comparator</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/PrivateCellUtil.html#compareRow-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.filter.ByteArrayComparable-">compareRow</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/filter/ByteArrayComparable.html" title="class in org.apache.hadoop.hbase.filter">ByteArrayComparable</a> comparator)</code> |
| <div class="block">Compare cell's row against given comparator</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/PrivateCellUtil.html#compareValue-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.filter.ByteArrayComparable-">compareValue</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/filter/ByteArrayComparable.html" title="class in org.apache.hadoop.hbase.filter">ByteArrayComparable</a> comparator)</code> |
| <div class="block">Compare cell's value against given comparator</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>(package private) static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#compareWithoutRow-org.apache.hadoop.hbase.CellComparator-org.apache.hadoop.hbase.Cell-byte:A-int-int-short-">compareWithoutRow</a></span>(<a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a> comparator, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] right, |
| int roffset, |
| int rlength, |
| short rowlength)</code> |
| <div class="block">Compare columnFamily, qualifier, timestamp, and key type (everything except the row).</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#compressFamily-java.io.OutputStream-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.io.util.Dictionary-">compressFamily</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/io/util/Dictionary.html" title="interface in org.apache.hadoop.hbase.io.util">Dictionary</a> dict)</code> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#compressQualifier-java.io.OutputStream-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.io.util.Dictionary-">compressQualifier</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/io/util/Dictionary.html" title="interface in org.apache.hadoop.hbase.io.util">Dictionary</a> dict)</code> </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#compressRow-java.io.OutputStream-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.io.util.Dictionary-">compressRow</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/io/util/Dictionary.html" title="interface in org.apache.hadoop.hbase.io.util">Dictionary</a> dict)</code> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#compressTags-java.io.OutputStream-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.io.TagCompressionContext-">compressTags</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/io/TagCompressionContext.html" title="class in org.apache.hadoop.hbase.io">TagCompressionContext</a> tagCompressionContext)</code> |
| <div class="block">Compresses the tags to the given outputstream using the TagcompressionContext</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/PrivateCellUtil.html#copyTagsTo-org.apache.hadoop.hbase.Cell-byte:A-int-">copyTagsTo</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 tags info into the tag portion of the cell</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/PrivateCellUtil.html#copyTagsTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-">copyTagsTo</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 tags info into the tag portion of the cell</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createCell-org.apache.hadoop.hbase.Cell-byte:A-">createCell</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] tags)</code> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createCell-org.apache.hadoop.hbase.Cell-byte:A-byte:A-">createCell</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] value, |
| byte[] tags)</code> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createCell-org.apache.hadoop.hbase.Cell-java.util.List-">createCell</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/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/hadoop/hbase/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a>> tags)</code> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createFirstDeleteFamilyCellOnRow-byte:A-byte:A-">createFirstDeleteFamilyCellOnRow</a></span>(byte[] row, |
| byte[] fam)</code> |
| <div class="block">Create a Delete Family Cell for the specified row and family that would be smaller than all |
| other possible Delete Family KeyValues that have the same row and family.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createFirstOnNextRow-org.apache.hadoop.hbase.Cell-">createFirstOnNextRow</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="i20" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createFirstOnRow-byte:A-">createFirstOnRow</a></span>(byte[] row)</code> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createFirstOnRow-byte:A-byte:A-byte:A-">createFirstOnRow</a></span>(byte[] row, |
| byte[] family, |
| byte[] col)</code> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createFirstOnRow-byte:A-int-short-">createFirstOnRow</a></span>(byte[] row, |
| int roffset, |
| short rlength)</code> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createFirstOnRow-byte:A-int-short-byte:A-int-byte-byte:A-int-int-">createFirstOnRow</a></span>(byte[] row, |
| int roffset, |
| short rlength, |
| byte[] family, |
| int foffset, |
| byte flength, |
| byte[] col, |
| int coffset, |
| int clength)</code> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createFirstOnRow-org.apache.hadoop.hbase.Cell-">createFirstOnRow</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Create a Cell that is smaller than all other possible Cells for the given Cell's row.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createFirstOnRowCol-org.apache.hadoop.hbase.Cell-">createFirstOnRowCol</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 <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createFirstOnRowCol-org.apache.hadoop.hbase.Cell-byte:A-int-int-">createFirstOnRowCol</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] qArray, |
| int qoffest, |
| int qlength)</code> |
| <div class="block">Create a Cell that is smaller than all other possible Cells for the given Cell's rk:cf and |
| passed qualifier.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createFirstOnRowColTS-org.apache.hadoop.hbase.Cell-long-">createFirstOnRowColTS</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| long ts)</code> |
| <div class="block">Creates the first cell with the row/family/qualifier of this cell and the given timestamp.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createFirstOnRowFamily-org.apache.hadoop.hbase.Cell-byte:A-int-int-">createFirstOnRowFamily</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] fArray, |
| int foff, |
| int flen)</code> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createLastOnRow-byte:A-">createLastOnRow</a></span>(byte[] row)</code> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createLastOnRow-org.apache.hadoop.hbase.Cell-">createLastOnRow</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Create a Cell that is larger than all other possible Cells for the given Cell's row.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createLastOnRowCol-org.apache.hadoop.hbase.Cell-">createLastOnRowCol</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Create a Cell that is larger than all other possible Cells for the given Cell's rk:cf:q.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createNextOnRowCol-org.apache.hadoop.hbase.Cell-">createNextOnRowCol</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="i33" class="rowColor"> |
| <td class="colFirst"><code>(package private) static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#createNextOnRowCol-org.apache.hadoop.hbase.Cell-long-byte-">createNextOnRowCol</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| long ts, |
| byte type)</code> </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#deepClone-org.apache.hadoop.hbase.Cell-">deepClone</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Deep clones the given cell if the cell supports deep cloning</div> |
| </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/PrivateCellUtil.html#equalsIgnoreMvccVersion-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">equalsIgnoreMvccVersion</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">special case for Cell.equals</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#estimatedSerializedSizeOf-org.apache.hadoop.hbase.Cell-">estimatedSerializedSizeOf</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Estimate based on keyvalue's serialization format in the RPC layer.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#estimatedSerializedSizeOfKey-org.apache.hadoop.hbase.Cell-">estimatedSerializedSizeOfKey</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Calculates the serialized key size.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#fillFamilyRange-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.util.ByteRange-">fillFamilyRange</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> range)</code> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#fillQualifierRange-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.util.ByteRange-">fillQualifierRange</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> range)</code> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#fillRowRange-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.util.ByteRange-">fillRowRange</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> range)</code> |
| <div class="block">ByteRange</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#fillTagRange-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.util.ByteRange-">fillTagRange</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> range)</code> </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#fillValueRange-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.util.ByteRange-">fillValueRange</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> range)</code> </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#findCommonPrefixInFlatKey-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-boolean-boolean-">findCommonPrefixInFlatKey</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> c1, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> c2, |
| boolean bypassFamilyCheck, |
| boolean withTsType)</code> |
| <div class="block">Find length of common prefix in keys of the cells, considering key as byte[] if serialized in |
| <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in org.apache.hadoop.hbase"><code>KeyValue</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>static byte[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#getCellKeySerializedAsKeyValueKey-org.apache.hadoop.hbase.Cell-">getCellKeySerializedAsKeyValueKey</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">This method exists just to encapsulate how we serialize keys.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>static byte</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#getQualifierByte-org.apache.hadoop.hbase.Cell-int-">getQualifierByte</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int index)</code> </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#getRowAsInt-org.apache.hadoop.hbase.Cell-">getRowAsInt</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Converts the rowkey bytes of the given cell into an int value</div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code>static byte</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#getRowByte-org.apache.hadoop.hbase.Cell-int-">getRowByte</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int index)</code> |
| <div class="block">misc</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util">Optional</a><<a href="../../../../org/apache/hadoop/hbase/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#getTag-org.apache.hadoop.hbase.Cell-byte-">getTag</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte type)</code> |
| <div class="block">Retrieve Cell's first tag, matching the passed in type</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code>static <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/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#getTags-org.apache.hadoop.hbase.Cell-">getTags</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="i50" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#getValueAsBigDecimal-org.apache.hadoop.hbase.Cell-">getValueAsBigDecimal</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Converts the value bytes of the given cell into a BigDecimal</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#getValueAsDouble-org.apache.hadoop.hbase.Cell-">getValueAsDouble</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Converts the value bytes of the given cell into a double value</div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#getValueAsInt-org.apache.hadoop.hbase.Cell-">getValueAsInt</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Converts the value bytes of the given cell into a int value</div> |
| </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#getValueAsLong-org.apache.hadoop.hbase.Cell-">getValueAsLong</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Converts the value bytes of the given cell into a long value</div> |
| </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#getValueBufferShallowCopy-org.apache.hadoop.hbase.Cell-">getValueBufferShallowCopy</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="i55" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#isDelete-byte-">isDelete</a></span>(byte type)</code> </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#isDeleteColumnOrFamily-org.apache.hadoop.hbase.Cell-">isDeleteColumnOrFamily</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="i57" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#isDeleteColumns-org.apache.hadoop.hbase.Cell-">isDeleteColumns</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="i58" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#isDeleteColumnVersion-org.apache.hadoop.hbase.Cell-">isDeleteColumnVersion</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="i59" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#isDeleteFamily-org.apache.hadoop.hbase.Cell-">isDeleteFamily</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="i60" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#isDeleteFamilyVersion-org.apache.hadoop.hbase.Cell-">isDeleteFamilyVersion</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="i61" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#isDeleteType-org.apache.hadoop.hbase.Cell-">isDeleteType</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="i62" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#matchingColumn-org.apache.hadoop.hbase.Cell-byte:A-int-int-byte:A-int-int-">matchingColumn</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] fam, |
| int foffset, |
| int flength, |
| byte[] qual, |
| int qoffset, |
| int qlength)</code> </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#matchingFamily-org.apache.hadoop.hbase.Cell-byte:A-int-int-">matchingFamily</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="i64" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#matchingQualifier-org.apache.hadoop.hbase.Cell-byte:A-int-int-">matchingQualifier</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> |
| <div class="block">Finds if the qualifier part of the cell and the KV serialized byte[] are equal</div> |
| </td> |
| </tr> |
| <tr id="i65" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#matchingRows-org.apache.hadoop.hbase.Cell-byte:A-int-int-">matchingRows</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="i66" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#matchingTags-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-int-int-">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, |
| int llength, |
| int rlength)</code> </td> |
| </tr> |
| <tr id="i67" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#matchingType-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-">matchingType</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="i68" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.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="i69" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#overlappingKeys-byte:A-byte:A-byte:A-byte:A-">overlappingKeys</a></span>(byte[] start1, |
| byte[] end1, |
| byte[] start2, |
| byte[] end2)</code> |
| <div class="block">Returns true if the first range start1...end1 overlaps with the second range start2...end2, |
| assuming the byte arrays represent row keys</div> |
| </td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#qualifierStartsWith-org.apache.hadoop.hbase.Cell-byte:A-">qualifierStartsWith</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] startsWith)</code> |
| <div class="block">Finds if the start of the qualifier part of the Cell matches <code>buf</code></div> |
| </td> |
| </tr> |
| <tr id="i71" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#setSequenceId-org.apache.hadoop.hbase.Cell-long-">setSequenceId</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| long seqId)</code> |
| <div class="block">Sets the given seqId to the cell.</div> |
| </td> |
| </tr> |
| <tr id="i72" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#setTimestamp-org.apache.hadoop.hbase.Cell-byte:A-">setTimestamp</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] ts)</code> |
| <div class="block">Sets the given timestamp to the cell.</div> |
| </td> |
| </tr> |
| <tr id="i73" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#setTimestamp-org.apache.hadoop.hbase.Cell-long-">setTimestamp</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| long ts)</code> |
| <div class="block">Sets the given timestamp to the cell.</div> |
| </td> |
| </tr> |
| <tr id="i74" class="altColor"> |
| <td class="colFirst"><code>static <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/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#tagsIterator-java.nio.ByteBuffer-int-int-">tagsIterator</a></span>(<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> tags, |
| int offset, |
| int length)</code> </td> |
| </tr> |
| <tr id="i75" class="rowColor"> |
| <td class="colFirst"><code>static <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/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#tagsIterator-org.apache.hadoop.hbase.Cell-">tagsIterator</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> |
| <div class="block">Util method to iterate through the tags in the given cell.</div> |
| </td> |
| </tr> |
| <tr id="i76" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Cell.Type.html" title="enum in org.apache.hadoop.hbase">Cell.Type</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#toType-byte-">toType</a></span>(byte type)</code> </td> |
| </tr> |
| <tr id="i77" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/KeyValue.Type.html" title="enum in org.apache.hadoop.hbase">KeyValue.Type</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#toTypeByte-org.apache.hadoop.hbase.Cell.Type-">toTypeByte</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.Type.html" title="enum in org.apache.hadoop.hbase">Cell.Type</a> type)</code> </td> |
| </tr> |
| <tr id="i78" class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#updateLatestStamp-org.apache.hadoop.hbase.Cell-byte:A-">updateLatestStamp</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] ts)</code> |
| <div class="block">Sets the given timestamp to the cell iff current timestamp is |
| <a href="../../../../org/apache/hadoop/hbase/HConstants.html#LATEST_TIMESTAMP"><code>HConstants.LATEST_TIMESTAMP</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i79" class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#updateLatestStamp-org.apache.hadoop.hbase.Cell-long-">updateLatestStamp</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| long ts)</code> |
| <div class="block">Sets the given timestamp to the cell iff current timestamp is |
| <a href="../../../../org/apache/hadoop/hbase/HConstants.html#LATEST_TIMESTAMP"><code>HConstants.LATEST_TIMESTAMP</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i80" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeCell-org.apache.hadoop.hbase.Cell-java.io.OutputStream-boolean-">writeCell</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/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| boolean withTags)</code> |
| <div class="block">Writes the cell to the given OutputStream</div> |
| </td> |
| </tr> |
| <tr id="i81" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeCellToBuffer-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-">writeCellToBuffer</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> buf, |
| int offset)</code> |
| <div class="block">Writes a cell to the buffer at the given offset</div> |
| </td> |
| </tr> |
| <tr id="i82" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeFamily-java.io.OutputStream-org.apache.hadoop.hbase.Cell-byte-">writeFamily</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte flength)</code> |
| <div class="block">Writes the family from the given cell to the output stream</div> |
| </td> |
| </tr> |
| <tr id="i83" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeFlatKey-org.apache.hadoop.hbase.Cell-java.io.DataOutput-">writeFlatKey</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/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a> out)</code> |
| <div class="block">Writes the Cell's key part as it would have serialized in a KeyValue.</div> |
| </td> |
| </tr> |
| <tr id="i84" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeFlatKey-org.apache.hadoop.hbase.Cell-java.io.OutputStream-">writeFlatKey</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/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</code> </td> |
| </tr> |
| <tr id="i85" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeQualifier-java.io.OutputStream-org.apache.hadoop.hbase.Cell-int-">writeQualifier</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int qlength)</code> |
| <div class="block">Writes the qualifier from the given cell to the output stream</div> |
| </td> |
| </tr> |
| <tr id="i86" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeQualifierSkippingBytes-java.io.DataOutputStream-org.apache.hadoop.hbase.Cell-int-int-">writeQualifierSkippingBytes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int qlength, |
| int commonPrefix)</code> |
| <div class="block">Writes the qualifier from the given cell to the output stream excluding the common prefix</div> |
| </td> |
| </tr> |
| <tr id="i87" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeRow-java.io.OutputStream-org.apache.hadoop.hbase.Cell-short-">writeRow</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| short rlength)</code> |
| <div class="block">Writes the row from the given cell to the output stream</div> |
| </td> |
| </tr> |
| <tr id="i88" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeRowKeyExcludingCommon-org.apache.hadoop.hbase.Cell-short-int-java.io.DataOutputStream-">writeRowKeyExcludingCommon</a></span>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| short rLen, |
| int commonPrefix, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out)</code> |
| <div class="block">Write rowkey excluding the common part.</div> |
| </td> |
| </tr> |
| <tr id="i89" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeRowSkippingBytes-java.io.DataOutputStream-org.apache.hadoop.hbase.Cell-short-int-">writeRowSkippingBytes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| short rlength, |
| int commonPrefix)</code> |
| <div class="block">Writes the row from the given cell to the output stream excluding the common prefix</div> |
| </td> |
| </tr> |
| <tr id="i90" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeTags-java.io.OutputStream-org.apache.hadoop.hbase.Cell-int-">writeTags</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int tagsLength)</code> |
| <div class="block">Writes the tag from the given cell to the output stream</div> |
| </td> |
| </tr> |
| <tr id="i91" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.html#writeValue-java.io.OutputStream-org.apache.hadoop.hbase.Cell-int-">writeValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int vlength)</code> |
| <div class="block">Writes the value from the given cell to the output stream</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"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="PrivateCellUtil--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>PrivateCellUtil</h4> |
| <pre>private <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.53">PrivateCellUtil</a>()</pre> |
| <div class="block">Private constructor to keep this class from being instantiated.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="fillRowRange-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.util.ByteRange-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fillRowRange</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.58">fillRowRange</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> range)</pre> |
| <div class="block">ByteRange</div> |
| </li> |
| </ul> |
| <a name="fillFamilyRange-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.util.ByteRange-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fillFamilyRange</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.62">fillFamilyRange</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> range)</pre> |
| </li> |
| </ul> |
| <a name="fillQualifierRange-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.util.ByteRange-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fillQualifierRange</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.66">fillQualifierRange</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> range)</pre> |
| </li> |
| </ul> |
| <a name="fillValueRange-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.util.ByteRange-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fillValueRange</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.71">fillValueRange</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> range)</pre> |
| </li> |
| </ul> |
| <a name="fillTagRange-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.util.ByteRange-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fillTagRange</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.75">fillTagRange</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a> range)</pre> |
| </li> |
| </ul> |
| <a name="getRowByte-org.apache.hadoop.hbase.Cell-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRowByte</h4> |
| <pre>public static byte <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.81">getRowByte</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int index)</pre> |
| <div class="block">misc</div> |
| </li> |
| </ul> |
| <a name="getQualifierByte-org.apache.hadoop.hbase.Cell-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQualifierByte</h4> |
| <pre>public static byte <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.89">getQualifierByte</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int index)</pre> |
| </li> |
| </ul> |
| <a name="getValueBufferShallowCopy-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueBufferShallowCopy</h4> |
| <pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.97">getValueBufferShallowCopy</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| </li> |
| </ul> |
| <a name="createCell-org.apache.hadoop.hbase.Cell-java.util.List-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCell</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.106">createCell</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/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/hadoop/hbase/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a>> tags)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A new cell which is having the extra tags also added to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createCell-org.apache.hadoop.hbase.Cell-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCell</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.113">createCell</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] tags)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A new cell which is having the extra tags also added to it.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createCell-org.apache.hadoop.hbase.Cell-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createCell</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.120">createCell</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] value, |
| byte[] tags)</pre> |
| </li> |
| </ul> |
| <a name="matchingRows-org.apache.hadoop.hbase.Cell-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingRows</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.714">matchingRows</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-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingFamily</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.725">matchingFamily</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="matchingQualifier-org.apache.hadoop.hbase.Cell-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingQualifier</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.744">matchingQualifier</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> |
| <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> - the cell with which we need to match the qualifier</dd> |
| <dd><code>buf</code> - the serialized keyvalue format byte[]</dd> |
| <dd><code>offset</code> - the offset of the qualifier in the byte[]</dd> |
| <dd><code>length</code> - the length of the qualifier in the byte[]</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the qualifier matches, false otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="qualifierStartsWith-org.apache.hadoop.hbase.Cell-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>qualifierStartsWith</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.764">qualifierStartsWith</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] startsWith)</pre> |
| <div class="block">Finds if the start of the qualifier part of the Cell matches <code>buf</code></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>left</code> - the cell with which we need to match the qualifier</dd> |
| <dd><code>startsWith</code> - the serialized keyvalue format byte[]</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the qualifier have same staring characters, false otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="matchingColumn-org.apache.hadoop.hbase.Cell-byte:A-int-int-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingColumn</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.780">matchingColumn</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] fam, |
| int foffset, |
| int flength, |
| byte[] qual, |
| int qoffset, |
| int qlength)</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/PrivateCellUtil.html#line.788">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="matchingType-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingType</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.811">matchingType</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="matchingTags-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchingTags</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.815">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, |
| int llength, |
| int rlength)</pre> |
| </li> |
| </ul> |
| <a name="isDelete-byte-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDelete</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.844">isDelete</a>(byte type)</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if a delete type, a <a href="../../../../org/apache/hadoop/hbase/KeyValue.Type.html#Delete"><code>KeyValue.Type.Delete</code></a> or a {KeyValue.Type#DeleteFamily} |
| or a <a href="../../../../org/apache/hadoop/hbase/KeyValue.Type.html#DeleteColumn"><code>KeyValue.Type.DeleteColumn</code></a> KeyValue type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isDeleteType-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDeleteType</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.851">isDeleteType</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 <a href="../../../../org/apache/hadoop/hbase/KeyValue.Type.html#Delete"><code>KeyValue.Type.Delete</code></a> type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isDeleteFamily-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDeleteFamily</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.855">isDeleteFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| </li> |
| </ul> |
| <a name="isDeleteFamilyVersion-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDeleteFamilyVersion</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.859">isDeleteFamilyVersion</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| </li> |
| </ul> |
| <a name="isDeleteColumns-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDeleteColumns</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.863">isDeleteColumns</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| </li> |
| </ul> |
| <a name="isDeleteColumnVersion-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDeleteColumnVersion</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.867">isDeleteColumnVersion</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| </li> |
| </ul> |
| <a name="isDeleteColumnOrFamily-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDeleteColumnOrFamily</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.874">isDeleteColumnOrFamily</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 delete family or column type.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="cloneTags-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>cloneTags</h4> |
| <pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.879">cloneTags</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| </li> |
| </ul> |
| <a name="copyTagsTo-org.apache.hadoop.hbase.Cell-byte:A-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyTagsTo</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.892">copyTagsTo</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 tags info into the tag portion of the cell</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dd><code>destination</code> - </dd> |
| <dd><code>destinationOffset</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>position after tags</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copyTagsTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copyTagsTo</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.912">copyTagsTo</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 tags info into the tag portion of the cell</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dd><code>destination</code> - </dd> |
| <dd><code>destinationOffset</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the position after tags</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTags-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTags</h4> |
| <pre>public static <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/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a>> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.928">getTags</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - The Cell</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Tags in the given Cell as a List</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTag-org.apache.hadoop.hbase.Cell-byte-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTag</h4> |
| <pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util">Optional</a><<a href="../../../../org/apache/hadoop/hbase/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a>> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.943">getTag</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte type)</pre> |
| <div class="block">Retrieve Cell's first tag, matching the passed in type</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - The Cell</dd> |
| <dd><code>type</code> - Type of the Tag to retrieve</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Optional, empty if there is no tag of the passed in tag type</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="tagsIterator-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tagsIterator</h4> |
| <pre>public static <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/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a>> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.974">tagsIterator</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Util method to iterate through the tags in the given cell.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - The Cell over which tags iterator is needed.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>iterator for the tags</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="tagsIterator-java.nio.ByteBuffer-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tagsIterator</h4> |
| <pre>public static <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/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a>> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1014">tagsIterator</a>(<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> tags, |
| int offset, |
| int length)</pre> |
| </li> |
| </ul> |
| <a name="overlappingKeys-byte:A-byte:A-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>overlappingKeys</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1047">overlappingKeys</a>(byte[] start1, |
| byte[] end1, |
| byte[] start2, |
| byte[] end2)</pre> |
| <div class="block">Returns true if the first range start1...end1 overlaps with the second range start2...end2, |
| assuming the byte arrays represent row keys</div> |
| </li> |
| </ul> |
| <a name="writeRowKeyExcludingCommon-org.apache.hadoop.hbase.Cell-short-int-java.io.DataOutputStream-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeRowKeyExcludingCommon</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1061">writeRowKeyExcludingCommon</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| short rLen, |
| int commonPrefix, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Write rowkey excluding the common part.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dd><code>rLen</code> - </dd> |
| <dd><code>commonPrefix</code> - </dd> |
| <dd><code>out</code> - </dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeRowSkippingBytes-java.io.DataOutputStream-org.apache.hadoop.hbase.Cell-short-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeRowSkippingBytes</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1083">writeRowSkippingBytes</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| short rlength, |
| int commonPrefix) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes the row from the given cell to the output stream excluding the common prefix</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>out</code> - The dataoutputstream to which the data has to be written</dd> |
| <dd><code>cell</code> - The cell whose contents has to be written</dd> |
| <dd><code>rlength</code> - the row length</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="findCommonPrefixInFlatKey-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findCommonPrefixInFlatKey</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1106">findCommonPrefixInFlatKey</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> c1, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> c2, |
| boolean bypassFamilyCheck, |
| boolean withTsType)</pre> |
| <div class="block">Find length of common prefix in keys of the cells, considering key as byte[] if serialized in |
| <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in org.apache.hadoop.hbase"><code>KeyValue</code></a>. The key format is <2 bytes rk len><rk><1 byte cf |
| len><cf><qualifier><8 bytes timestamp><1 byte type></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>c1</code> - the cell</dd> |
| <dd><code>c2</code> - the cell</dd> |
| <dd><code>bypassFamilyCheck</code> - when true assume the family bytes same in both cells. Pass it as true |
| when dealing with Cells in same CF so as to avoid some checks</dd> |
| <dd><code>withTsType</code> - when true check timestamp and type bytes also.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>length of common prefix</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compareKeyBasedOnColHint-org.apache.hadoop.hbase.CellComparator-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-int-int-byte:A-int-int-long-byte-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareKeyBasedOnColHint</h4> |
| <pre>public static final int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1226">compareKeyBasedOnColHint</a>(<a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a> comparator, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> nextIndexedCell, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> currentCell, |
| int foff, |
| int flen, |
| byte[] colHint, |
| int coff, |
| int clen, |
| long ts, |
| byte type)</pre> |
| <div class="block">Used to compare two cells based on the column hint provided. This is specifically used when we |
| need to optimize the seeks based on the next indexed key. This is an advanced usage API |
| specifically needed for some optimizations.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>nextIndexedCell</code> - the next indexed cell</dd> |
| <dd><code>currentCell</code> - the cell to be compared</dd> |
| <dd><code>foff</code> - the family offset of the currentCell</dd> |
| <dd><code>flen</code> - the family length of the currentCell</dd> |
| <dd><code>colHint</code> - the column hint provided - could be null</dd> |
| <dd><code>coff</code> - the offset of the column hint if provided, if not offset of the currentCell's |
| qualifier</dd> |
| <dd><code>clen</code> - the length of the column hint if provided, if not length of the currentCell's |
| qualifier</dd> |
| <dd><code>ts</code> - the timestamp to be seeked</dd> |
| <dd><code>type</code> - the type to be seeked</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an int based on the given column hint TODO : To be moved out of here because this is a |
| special API used in scan optimization.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compareKeyIgnoresMvcc-org.apache.hadoop.hbase.CellComparator-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareKeyIgnoresMvcc</h4> |
| <pre>public static final int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1279">compareKeyIgnoresMvcc</a>(<a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a> comparator, |
| <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 only the key portion of a cell. It does not include the sequence id/mvcc of the cell</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>an int greater than 0 if left > than right lesser than 0 if left < than right |
| equal to 0 if left is equal to right</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compareRow-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.filter.ByteArrayComparable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareRow</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1289">compareRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/filter/ByteArrayComparable.html" title="class in org.apache.hadoop.hbase.filter">ByteArrayComparable</a> comparator)</pre> |
| <div class="block">Compare cell's row against given comparator</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell to use for comparison</dd> |
| <dd><code>comparator</code> - the <a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase"><code>CellComparator</code></a> to use for comparison</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>result comparing cell's row</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compareFamily-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.filter.ByteArrayComparable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareFamily</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1303">compareFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/filter/ByteArrayComparable.html" title="class in org.apache.hadoop.hbase.filter">ByteArrayComparable</a> comparator)</pre> |
| <div class="block">Compare cell's column family against given comparator</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell to use for comparison</dd> |
| <dd><code>comparator</code> - the <a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase"><code>CellComparator</code></a> to use for comparison</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>result comparing cell's column family</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compareQualifier-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.filter.ByteArrayComparable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareQualifier</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1318">compareQualifier</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/filter/ByteArrayComparable.html" title="class in org.apache.hadoop.hbase.filter">ByteArrayComparable</a> comparator)</pre> |
| <div class="block">Compare cell's qualifier against given comparator</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell to use for comparison</dd> |
| <dd><code>comparator</code> - the <a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase"><code>CellComparator</code></a> to use for comparison</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>result comparing cell's qualifier</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toType-byte-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toType</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.Type.html" title="enum in org.apache.hadoop.hbase">Cell.Type</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1327">toType</a>(byte type)</pre> |
| </li> |
| </ul> |
| <a name="toTypeByte-org.apache.hadoop.hbase.Cell.Type-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toTypeByte</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/KeyValue.Type.html" title="enum in org.apache.hadoop.hbase">KeyValue.Type</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1339">toTypeByte</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.Type.html" title="enum in org.apache.hadoop.hbase">Cell.Type</a> type)</pre> |
| </li> |
| </ul> |
| <a name="compareValue-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.filter.ByteArrayComparable-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareValue</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.1356">compareValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/filter/ByteArrayComparable.html" title="class in org.apache.hadoop.hbase.filter">ByteArrayComparable</a> comparator)</pre> |
| <div class="block">Compare cell's value against given comparator</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell to use for comparison</dd> |
| <dd><code>comparator</code> - the <a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase"><code>CellComparator</code></a> to use for comparison</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>result comparing cell's value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeFlatKey-org.apache.hadoop.hbase.Cell-java.io.DataOutput-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeFlatKey</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2215">writeFlatKey</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/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a> out) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes the Cell's key part as it would have serialized in a KeyValue. The format is <2 bytes |
| rk len><rk><1 byte cf len><cf><qualifier><8 bytes |
| timestamp><1 byte type></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dd><code>out</code> - </dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deepClone-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deepClone</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2248">deepClone</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CloneNotSupportedException.html?is-external=true" title="class or interface in java.lang">CloneNotSupportedException</a></pre> |
| <div class="block">Deep clones the given cell if the cell supports deep cloning</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell to be cloned</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the cloned cell</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CloneNotSupportedException.html?is-external=true" title="class or interface in java.lang">CloneNotSupportedException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeCell-org.apache.hadoop.hbase.Cell-java.io.OutputStream-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeCell</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2263">writeCell</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/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| boolean withTags) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes the cell to the given OutputStream</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell to be written</dd> |
| <dd><code>out</code> - the outputstream</dd> |
| <dd><code>withTags</code> - if tags are to be written or not</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the total bytes written</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeCellToBuffer-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeCellToBuffer</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2295">writeCellToBuffer</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> buf, |
| int offset)</pre> |
| <div class="block">Writes a cell to the buffer at the given offset</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell to be written</dd> |
| <dd><code>buf</code> - the buffer to which the cell has to be wrriten</dd> |
| <dd><code>offset</code> - the offset at which the cell should be written</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeFlatKey-org.apache.hadoop.hbase.Cell-java.io.OutputStream-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeFlatKey</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2305">writeFlatKey</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/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSequenceId-org.apache.hadoop.hbase.Cell-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSequenceId</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2341">setSequenceId</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| long seqId) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Sets the given seqId to the cell. Marked as audience Private as of 1.2.0. Setting a Cell |
| sequenceid is an internal implementation detail not for general public use.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dd><code>seqId</code> - </dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - when the passed cell is not of type <a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase"><code>ExtendedCell</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTimestamp-org.apache.hadoop.hbase.Cell-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTimestamp</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2356">setTimestamp</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| long ts) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Sets the given timestamp to the cell.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dd><code>ts</code> - </dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - when the passed cell is not of type <a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase"><code>ExtendedCell</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTimestamp-org.apache.hadoop.hbase.Cell-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTimestamp</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2371">setTimestamp</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] ts) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Sets the given timestamp to the cell.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dd><code>ts</code> - buffer containing the timestamp value</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - when the passed cell is not of type <a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase"><code>ExtendedCell</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="updateLatestStamp-org.apache.hadoop.hbase.Cell-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateLatestStamp</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2388">updateLatestStamp</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| long ts) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Sets the given timestamp to the cell iff current timestamp is |
| <a href="../../../../org/apache/hadoop/hbase/HConstants.html#LATEST_TIMESTAMP"><code>HConstants.LATEST_TIMESTAMP</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dd><code>ts</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if cell timestamp is modified.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - when the passed cell is not of type <a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase"><code>ExtendedCell</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="updateLatestStamp-org.apache.hadoop.hbase.Cell-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateLatestStamp</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2404">updateLatestStamp</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] ts) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Sets the given timestamp to the cell iff current timestamp is |
| <a href="../../../../org/apache/hadoop/hbase/HConstants.html#LATEST_TIMESTAMP"><code>HConstants.LATEST_TIMESTAMP</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dd><code>ts</code> - buffer containing the timestamp value</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>True if cell timestamp is modified.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - when the passed cell is not of type <a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase"><code>ExtendedCell</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeRow-java.io.OutputStream-org.apache.hadoop.hbase.Cell-short-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeRow</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2419">writeRow</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| short rlength) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes the row from the given cell to the output stream</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>out</code> - The outputstream to which the data has to be written</dd> |
| <dd><code>cell</code> - The cell whose contents has to be written</dd> |
| <dd><code>rlength</code> - the row length</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeFamily-java.io.OutputStream-org.apache.hadoop.hbase.Cell-byte-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeFamily</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2435">writeFamily</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte flength) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes the family from the given cell to the output stream</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>out</code> - The outputstream to which the data has to be written</dd> |
| <dd><code>cell</code> - The cell whose contents has to be written</dd> |
| <dd><code>flength</code> - the family length</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeQualifier-java.io.OutputStream-org.apache.hadoop.hbase.Cell-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeQualifier</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2451">writeQualifier</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int qlength) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes the qualifier from the given cell to the output stream</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>out</code> - The outputstream to which the data has to be written</dd> |
| <dd><code>cell</code> - The cell whose contents has to be written</dd> |
| <dd><code>qlength</code> - the qualifier length</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeQualifierSkippingBytes-java.io.DataOutputStream-org.apache.hadoop.hbase.Cell-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeQualifierSkippingBytes</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2468">writeQualifierSkippingBytes</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int qlength, |
| int commonPrefix) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes the qualifier from the given cell to the output stream excluding the common prefix</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>out</code> - The dataoutputstream to which the data has to be written</dd> |
| <dd><code>cell</code> - The cell whose contents has to be written</dd> |
| <dd><code>qlength</code> - the qualifier length</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeValue-java.io.OutputStream-org.apache.hadoop.hbase.Cell-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeValue</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2488">writeValue</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int vlength) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes the value from the given cell to the output stream</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>out</code> - The outputstream to which the data has to be written</dd> |
| <dd><code>cell</code> - The cell whose contents has to be written</dd> |
| <dd><code>vlength</code> - the value length</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="writeTags-java.io.OutputStream-org.apache.hadoop.hbase.Cell-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>writeTags</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2504">writeTags</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| int tagsLength) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Writes the tag from the given cell to the output stream</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>out</code> - The outputstream to which the data has to be written</dd> |
| <dd><code>cell</code> - The cell whose contents has to be written</dd> |
| <dd><code>tagsLength</code> - the tag length</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="equalsIgnoreMvccVersion-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>equalsIgnoreMvccVersion</h4> |
| <pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2516">equalsIgnoreMvccVersion</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">special case for Cell.equals</div> |
| </li> |
| </ul> |
| <a name="getRowAsInt-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRowAsInt</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2539">getRowAsInt</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Converts the rowkey bytes of the given cell into an int value</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>rowkey as int</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValueAsLong-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueAsLong</h4> |
| <pre>public static long <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2552">getValueAsLong</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Converts the value bytes of the given cell into a long value</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>value as long</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValueAsInt-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueAsInt</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2565">getValueAsInt</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Converts the value bytes of the given cell into a int value</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>value as int</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValueAsDouble-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueAsDouble</h4> |
| <pre>public static double <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2578">getValueAsDouble</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Converts the value bytes of the given cell into a double value</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>value as double</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValueAsBigDecimal-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueAsBigDecimal</h4> |
| <pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2591">getValueAsBigDecimal</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Converts the value bytes of the given cell into a BigDecimal</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>value as BigDecimal</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compressTags-java.io.OutputStream-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.io.TagCompressionContext-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compressTags</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2606">compressTags</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/io/TagCompressionContext.html" title="class in org.apache.hadoop.hbase.io">TagCompressionContext</a> tagCompressionContext) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Compresses the tags to the given outputstream using the TagcompressionContext</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>out</code> - the outputstream to which the compression should happen</dd> |
| <dd><code>cell</code> - the cell which has tags</dd> |
| <dd><code>tagCompressionContext</code> - the TagCompressionContext</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - can throw IOException if the compression encounters issue</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compressRow-java.io.OutputStream-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.io.util.Dictionary-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compressRow</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2617">compressRow</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/io/util/Dictionary.html" title="interface in org.apache.hadoop.hbase.io.util">Dictionary</a> dict) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compressFamily-java.io.OutputStream-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.io.util.Dictionary-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compressFamily</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2626">compressFamily</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/io/util/Dictionary.html" title="interface in org.apache.hadoop.hbase.io.util">Dictionary</a> dict) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compressQualifier-java.io.OutputStream-org.apache.hadoop.hbase.Cell-org.apache.hadoop.hbase.io.util.Dictionary-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compressQualifier</h4> |
| <pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2637">compressQualifier</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| <a href="../../../../org/apache/hadoop/hbase/io/util/Dictionary.html" title="interface in org.apache.hadoop.hbase.io.util">Dictionary</a> dict) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compare-org.apache.hadoop.hbase.CellComparator-org.apache.hadoop.hbase.Cell-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compare</h4> |
| <pre>public static final int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2661">compare</a>(<a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a> comparator, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] key, |
| int offset, |
| int length)</pre> |
| <div class="block">Used when a cell needs to be compared with a key byte[] such as cases of finding the index from |
| the index block, bloom keys from the bloom blocks This byte[] is expected to be serialized in |
| the KeyValue serialization format If the KeyValue (Cell's) serialization format changes this |
| method cannot be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>comparator</code> - the <a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase"><code>CellComparator</code></a> to use for comparison</dd> |
| <dd><code>left</code> - the cell to be compared</dd> |
| <dd><code>key</code> - the serialized key part of a KeyValue</dd> |
| <dd><code>offset</code> - the offset in the key byte[]</dd> |
| <dd><code>length</code> - the length of the key byte[]</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an int greater than 0 if left is greater than right lesser than 0 if left is lesser |
| than right equal to 0 if left is equal to right</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="compareWithoutRow-org.apache.hadoop.hbase.CellComparator-org.apache.hadoop.hbase.Cell-byte:A-int-int-short-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareWithoutRow</h4> |
| <pre>static final int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2688">compareWithoutRow</a>(<a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase">CellComparator</a> comparator, |
| <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, |
| byte[] right, |
| int roffset, |
| int rlength, |
| short rowlength)</pre> |
| <div class="block">Compare columnFamily, qualifier, timestamp, and key type (everything except the row). This |
| method is used both in the normal comparator and the "same-prefix" comparator. Note that we are |
| assuming that row portions of both KVs have already been parsed and found identical, and we |
| don't validate that assumption here.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>comparator</code> - the <a href="../../../../org/apache/hadoop/hbase/CellComparator.html" title="interface in org.apache.hadoop.hbase"><code>CellComparator</code></a> to use for comparison</dd> |
| <dd><code>left</code> - the cell to be compared</dd> |
| <dd><code>right</code> - the serialized key part of a key-value</dd> |
| <dd><code>roffset</code> - the offset in the key byte[]</dd> |
| <dd><code>rlength</code> - the length of the key byte[]</dd> |
| <dd><code>rowlength</code> - the row length</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>greater than 0 if left cell is bigger, less than 0 if right cell is bigger, 0 if both |
| cells are equal</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createNextOnRowCol-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createNextOnRowCol</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2758">createNextOnRowCol</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>An new cell is located following input cell. If both of type and timestamp are minimum, |
| the input cell will be returned directly.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createNextOnRowCol-org.apache.hadoop.hbase.Cell-long-byte-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createNextOnRowCol</h4> |
| <pre>static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2772">createNextOnRowCol</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| long ts, |
| byte type)</pre> |
| </li> |
| </ul> |
| <a name="estimatedSerializedSizeOf-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>estimatedSerializedSizeOf</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2815">estimatedSerializedSizeOf</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Estimate based on keyvalue's serialization format in the RPC layer. Note that there is an extra |
| SIZEOF_INT added to the size here that indicates the actual length of the cell for cases where |
| cell's are serialized in a contiguous format (For eg in RPCs).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Estimate of the <code>cell</code> size in bytes plus an extra SIZEOF_INT indicating the |
| actual cell length.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="estimatedSerializedSizeOfKey-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>estimatedSerializedSizeOfKey</h4> |
| <pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2824">estimatedSerializedSizeOfKey</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Calculates the serialized key size. We always serialize in the KeyValue's serialization format.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - the cell for which the key size has to be calculated.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the key size</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCellKeySerializedAsKeyValueKey-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCellKeySerializedAsKeyValueKey</h4> |
| <pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2838">getCellKeySerializedAsKeyValueKey</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">This method exists just to encapsulate how we serialize keys. To be replaced by a factory that |
| we query to figure what the Cell implementation is and then, what serialization engine to use |
| and further, how to serialize the key for inclusion in hfile index. TODO.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The key portion of the Cell serialized in the old-school KeyValue way or null if passed |
| a null <code>cell</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createFirstOnRow-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFirstOnRow</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2850">createFirstOnRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Create a Cell that is smaller than all other possible Cells for the given Cell's row.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>First possible Cell on passed Cell's row.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createFirstOnRow-byte:A-int-short-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFirstOnRow</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2859">createFirstOnRow</a>(byte[] row, |
| int roffset, |
| short rlength)</pre> |
| </li> |
| </ul> |
| <a name="createFirstOnRow-byte:A-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFirstOnRow</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2863">createFirstOnRow</a>(byte[] row, |
| byte[] family, |
| byte[] col)</pre> |
| </li> |
| </ul> |
| <a name="createFirstOnRow-byte:A-int-short-byte:A-int-byte-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFirstOnRow</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2868">createFirstOnRow</a>(byte[] row, |
| int roffset, |
| short rlength, |
| byte[] family, |
| int foffset, |
| byte flength, |
| byte[] col, |
| int coffset, |
| int clength)</pre> |
| </li> |
| </ul> |
| <a name="createFirstOnRow-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFirstOnRow</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2874">createFirstOnRow</a>(byte[] row)</pre> |
| </li> |
| </ul> |
| <a name="createFirstOnRowFamily-org.apache.hadoop.hbase.Cell-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFirstOnRowFamily</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2878">createFirstOnRowFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] fArray, |
| int foff, |
| int flen)</pre> |
| </li> |
| </ul> |
| <a name="createFirstOnRowCol-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFirstOnRowCol</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2889">createFirstOnRowCol</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| </li> |
| </ul> |
| <a name="createFirstOnNextRow-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFirstOnNextRow</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2903">createFirstOnNextRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| </li> |
| </ul> |
| <a name="createFirstOnRowCol-org.apache.hadoop.hbase.Cell-byte:A-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFirstOnRowCol</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2919">createFirstOnRowCol</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| byte[] qArray, |
| int qoffest, |
| int qlength)</pre> |
| <div class="block">Create a Cell that is smaller than all other possible Cells for the given Cell's rk:cf and |
| passed qualifier.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dd><code>qArray</code> - </dd> |
| <dd><code>qoffest</code> - </dd> |
| <dd><code>qlength</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Last possible Cell on passed Cell's rk:cf and passed qualifier.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createFirstOnRowColTS-org.apache.hadoop.hbase.Cell-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFirstOnRowColTS</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2940">createFirstOnRowColTS</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, |
| long ts)</pre> |
| <div class="block">Creates the first cell with the row/family/qualifier of this cell and the given timestamp. Uses |
| the "maximum" type that guarantees that the new cell is the lowest possible for this |
| combination of row, family, qualifier, and timestamp. This cell's own timestamp is ignored.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - - cell</dd> |
| <dd><code>ts</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createLastOnRow-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createLastOnRow</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2960">createLastOnRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Create a Cell that is larger than all other possible Cells for the given Cell's row.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Last possible Cell on passed Cell's row.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createLastOnRow-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createLastOnRow</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2968">createLastOnRow</a>(byte[] row)</pre> |
| </li> |
| </ul> |
| <a name="createLastOnRowCol-org.apache.hadoop.hbase.Cell-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createLastOnRowCol</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.2979">createLastOnRowCol</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> |
| <div class="block">Create a Cell that is larger than all other possible Cells for the given Cell's rk:cf:q. Used |
| in creating "fake keys" for the multi-column Bloom filter optimization to skip the row/column |
| we already know is not in the file.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cell</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Last possible Cell on passed Cell's rk:cf:q.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createFirstDeleteFamilyCellOnRow-byte:A-byte:A-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>createFirstDeleteFamilyCellOnRow</h4> |
| <pre>public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../src-html/org/apache/hadoop/hbase/PrivateCellUtil.html#line.3001">createFirstDeleteFamilyCellOnRow</a>(byte[] row, |
| byte[] fam)</pre> |
| <div class="block">Create a Delete Family Cell for the specified row and family that would be smaller than all |
| other possible Delete Family KeyValues that have the same row and family. Used for seeking.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>row</code> - - row key (arbitrary byte array)</dd> |
| <dd><code>fam</code> - - family name</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>First Delete Family possible key on passed <code>row</code>.</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/PrivateCellUtil.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/PleaseRestartMasterException.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/hadoop/hbase/PrivateCellUtil.EmptyByteBufferExtendedCell.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/PrivateCellUtil.html" target="_top">Frames</a></li> |
| <li><a href="PrivateCellUtil.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><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2007–2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |