http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9577bd5e/devapidocs/org/apache/hadoop/hbase/CellUtil.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.html index ccc2c2c..e41b0f0 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.html +++ b/devapidocs/org/apache/hadoop/hbase/CellUtil.html @@ -61,13 +61,13 @@ <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested_class_summary">Nested</a> | </li> -<li>Field | </li> +<li><a href="#field_summary">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> -<li>Field | </li> +<li><a href="#field_detail">Field</a> | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> @@ -97,7 +97,7 @@ <br> <pre><a href="../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Public.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Public</a> <a href="../../../../org/apache/hadoop/hbase/classification/InterfaceStability.Evolving.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceStability.Evolving</a> -public final class <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.47">CellUtil</a> +public final class <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.49">CellUtil</a> extends <a href="http://docs.oracle.com/javase/7/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. Some methods below are for internal use only and are marked InterfaceAudience.Private at the @@ -175,6 +175,25 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </table> </li> </ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static <a href="http://docs.oracle.com/javase/7/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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#EMPTY_TAGS_ITR">EMPTY_TAGS_ITR</a></strong></code> </td> +</tr> +</table> +</li> +</ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> @@ -526,11 +545,22 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getSumOfCellKeyElementLengths(org.apache.hadoop.hbase.Cell)">getSumOfCellKeyElementLengths</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> </tr> <tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/hadoop/hbase/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getTag(org.apache.hadoop.hbase.Cell,%20byte)">getTag</a></strong>(<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 class="altColor"> <td class="colFirst"><code>static byte[]</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getTagArray(org.apache.hadoop.hbase.Cell)">getTagArray</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> <div class="block">Returns tag value in a new byte array.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getTags(org.apache.hadoop.hbase.Cell)">getTags</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> +</tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getValueAsBigDecimal(org.apache.hadoop.hbase.Cell)">getValueAsBigDecimal</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> @@ -742,11 +772,26 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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="class in org.apache.hadoop.hbase">Tag</a>></code></td> +<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#tagsIterator(byte[],%20int,%20int)">tagsIterator</a></strong>(byte[] tags, int offset, int length)</code> -<div class="block">Util method to iterate through the tags</div> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>As of 2.0.0 and will be removed in 3.0.0 + Instead use <a href="../../../../org/apache/hadoop/hbase/CellUtil.html#tagsIterator(org.apache.hadoop.hbase.Cell)"><code>tagsIterator(Cell)</code></a></i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static <a href="http://docs.oracle.com/javase/7/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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#tagsIterator(java.nio.ByteBuffer,%20int,%20int)">tagsIterator</a></strong>(<a href="http://docs.oracle.com/javase/7/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 class="rowColor"> +<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#tagsIterator(org.apache.hadoop.hbase.Cell)">tagsIterator</a></strong>(<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 class="altColor"> @@ -863,6 +908,23 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <div class="details"> <ul class="blockList"> <li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="EMPTY_TAGS_ITR"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>EMPTY_TAGS_ITR</h4> +<pre>private static final <a href="http://docs.oracle.com/javase/7/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/CellUtil.html#line.815">EMPTY_TAGS_ITR</a></pre> +</li> +</ul> +</li> +</ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> @@ -875,7 +937,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>CellUtil</h4> -<pre>private <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.52">CellUtil</a>()</pre> +<pre>private <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.54">CellUtil</a>()</pre> <div class="block">Private constructor to keep this class from being instantiated.</div> </li> </ul> @@ -893,7 +955,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <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/CellUtil.html#line.56">fillRowRange</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<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/CellUtil.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> @@ -904,7 +966,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <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/CellUtil.html#line.60">fillFamilyRange</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<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/CellUtil.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> @@ -914,7 +976,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <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/CellUtil.html#line.64">fillQualifierRange</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<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/CellUtil.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> @@ -924,7 +986,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <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/CellUtil.html#line.69">fillValueRange</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<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/CellUtil.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> @@ -934,7 +996,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <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/CellUtil.html#line.73">fillTagRange</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<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/CellUtil.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> @@ -944,7 +1006,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>cloneRow</h4> -<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.79">cloneRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.81">cloneRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> <div class="block">get individual arrays for tests</div> </li> </ul> @@ -954,7 +1016,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>cloneFamily</h4> -<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.85">cloneFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.87">cloneFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> </li> </ul> <a name="cloneQualifier(org.apache.hadoop.hbase.Cell)"> @@ -963,7 +1025,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>cloneQualifier</h4> -<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.91">cloneQualifier</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.93">cloneQualifier</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> </li> </ul> <a name="cloneValue(org.apache.hadoop.hbase.Cell)"> @@ -972,7 +1034,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>cloneValue</h4> -<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.97">cloneValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.99">cloneValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> </li> </ul> <a name="cloneTags(org.apache.hadoop.hbase.Cell)"> @@ -981,7 +1043,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>cloneTags</h4> -<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.103">cloneTags</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.105">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="getTagArray(org.apache.hadoop.hbase.Cell)"> @@ -990,10 +1052,10 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getTagArray</h4> -<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.116">getTagArray</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.118">getTagArray</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> <div class="block">Returns tag value in a new byte array. If server-side, use - <a href="../../../../org/apache/hadoop/hbase/Tag.html#getBuffer()"><code>Tag.getBuffer()</code></a> with appropriate <a href="../../../../org/apache/hadoop/hbase/Tag.html#getTagOffset()"><code>Tag.getTagOffset()</code></a> and - <a href="../../../../org/apache/hadoop/hbase/Tag.html#getTagLength()"><code>Tag.getTagLength()</code></a> instead to save on allocations.</div> + <a href="../../../../org/apache/hadoop/hbase/Tag.html#getValueArray()"><code>Tag.getValueArray()</code></a> with appropriate <a href="../../../../org/apache/hadoop/hbase/Tag.html#getValueOffset()"><code>Tag.getValueOffset()</code></a> and + <a href="../../../../org/apache/hadoop/hbase/Tag.html#getValueLength()"><code>Tag.getValueLength()</code></a> instead to save on allocations.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd> <dt><span class="strong">Returns:</span></dt><dd>tag value in a new byte array.</dd></dl> </li> @@ -1004,7 +1066,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyRowTo</h4> -<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.125">copyRowTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.127">copyRowTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, byte[] destination, int destinationOffset)</pre> <div class="block">copyTo</div> @@ -1016,7 +1078,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyFamilyTo</h4> -<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.138">copyFamilyTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.140">copyFamilyTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, byte[] destination, int destinationOffset)</pre> </li> @@ -1027,7 +1089,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyQualifierTo</h4> -<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.151">copyQualifierTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.153">copyQualifierTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, byte[] destination, int destinationOffset)</pre> </li> @@ -1038,7 +1100,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyValueTo</h4> -<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.164">copyValueTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.166">copyValueTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, byte[] destination, int destinationOffset)</pre> </li> @@ -1049,7 +1111,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyTagTo</h4> -<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.184">copyTagTo</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.186">copyTagTo</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> @@ -1063,7 +1125,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getRowByte</h4> -<pre>public static byte <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.199">getRowByte</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<pre>public static byte <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.201">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> @@ -1074,7 +1136,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getValueBufferShallowCopy</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/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/CellUtil.html#line.207">getValueBufferShallowCopy</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/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/CellUtil.html#line.209">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="getQualifierBufferShallowCopy(org.apache.hadoop.hbase.Cell)"> @@ -1084,7 +1146,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <li class="blockList"> <h4>getQualifierBufferShallowCopy</h4> <pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -public static <a href="http://docs.oracle.com/javase/7/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/CellUtil.html#line.219">getQualifierBufferShallowCopy</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +public static <a href="http://docs.oracle.com/javase/7/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/CellUtil.html#line.221">getQualifierBufferShallowCopy</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> <div class="block"><span class="strong">Deprecated.</span> <i>As of release 2.0.0, this will be removed in HBase 3.0.0.</i></div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd> <dt><span class="strong">Returns:</span></dt><dd>cell's qualifier wrapped into a ByteBuffer.</dd></dl> @@ -1096,7 +1158,7 @@ public static <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/By <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/CellUtil.html#line.226">createCell</a>(byte[] row, +<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/CellUtil.html#line.228">createCell</a>(byte[] row, byte[] family, byte[] qualifier, long timestamp, @@ -1110,7 +1172,7 @@ public static <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/By <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/CellUtil.html#line.235">createCell</a>(byte[] rowArray, +<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/CellUtil.html#line.237">createCell</a>(byte[] rowArray, int rowOffset, int rowLength, byte[] familyArray, @@ -1128,7 +1190,7 @@ public static <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/By <li class="blockList"> <h4>createCell</h4> <pre><a href="../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> -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/CellUtil.html#line.253">createCell</a>(byte[] row, +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/CellUtil.html#line.255">createCell</a>(byte[] row, byte[] family, byte[] qualifier, long timestamp, @@ -1147,7 +1209,7 @@ public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title <li class="blockList"> <h4>createCell</h4> <pre><a href="../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> -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/CellUtil.html#line.267">createCell</a>(byte[] row, +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/CellUtil.html#line.269">createCell</a>(byte[] row, byte[] family, byte[] qualifier, long timestamp, @@ -1167,7 +1229,7 @@ public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title <li class="blockList"> <h4>createCell</h4> <pre><a href="../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> -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/CellUtil.html#line.282">createCell</a>(byte[] row, +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/CellUtil.html#line.284">createCell</a>(byte[] row, byte[] family, byte[] qualifier, long timestamp, @@ -1185,7 +1247,7 @@ public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title <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/CellUtil.html#line.293">createCell</a>(byte[] row)</pre> +<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/CellUtil.html#line.295">createCell</a>(byte[] row)</pre> <div class="block">Create a Cell with specific row. Other fields defaulted.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - </dd> <dt><span class="strong">Returns:</span></dt><dd>Cell with passed row but all other fields are arbitrary</dd></dl> @@ -1197,7 +1259,7 @@ public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title <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/CellUtil.html#line.303">createCell</a>(byte[] row, +<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/CellUtil.html#line.305">createCell</a>(byte[] row, byte[] value)</pre> <div class="block">Create a Cell with specific row and value. Other fields are defaulted.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - </dd><dd><code>value</code> - </dd> @@ -1210,7 +1272,7 @@ public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title <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/CellUtil.html#line.319">createCell</a>(byte[] row, +<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/CellUtil.html#line.321">createCell</a>(byte[] row, byte[] family, byte[] qualifier)</pre> <div class="block">Create a Cell with specific row. Other fields defaulted.</div> @@ -1224,7 +1286,7 @@ public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title <ul class="blockList"> <li class="blockList"> <h4>createCellScanner</h4> -<pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.329">createCellScanner</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? extends <a href="../../../../org/apache/hadoop/hbase/CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a>> cellScannerables)</pre> +<pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.331">createCellScanner</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? extends <a href="../../../../org/apache/hadoop/hbase/CellScannable.html" title="interface in org.apache.hadoop.hbase">CellScannable</a>> cellScannerables)</pre> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cellScannerables</code> - </dd> <dt><span class="strong">Returns:</span></dt><dd>CellScanner interface over <code>cellIterables</code></dd></dl> </li> @@ -1235,7 +1297,7 @@ public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title <ul class="blockList"> <li class="blockList"> <h4>createCellScanner</h4> -<pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.358">createCellScanner</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cellIterable)</pre> +<pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.360">createCellScanner</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cellIterable)</pre> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cellIterable</code> - </dd> <dt><span class="strong">Returns:</span></dt><dd>CellScanner interface over <code>cellIterable</code></dd></dl> </li> @@ -1246,7 +1308,7 @@ public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title <ul class="blockList"> <li class="blockList"> <h4>createCellScanner</h4> -<pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.368">createCellScanner</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells)</pre> +<pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.370">createCellScanner</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>> cells)</pre> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cells</code> - </dd> <dt><span class="strong">Returns:</span></dt><dd>CellScanner interface over <code>cellIterable</code> or null if <code>cells</code> is null</dd></dl> @@ -1258,7 +1320,7 @@ public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title <ul class="blockList"> <li class="blockList"> <h4>createCellScanner</h4> -<pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.392">createCellScanner</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cellArray)</pre> +<pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.394">createCellScanner</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cellArray)</pre> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cellArray</code> - </dd> <dt><span class="strong">Returns:</span></dt><dd>CellScanner interface over <code>cellArray</code></dd></dl> </li> @@ -1269,7 +1331,7 @@ public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title <ul class="blockList"> <li class="blockList"> <h4>createCellScanner</h4> -<pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.417">createCellScanner</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>>> map)</pre> +<pre>public static <a href="../../../../org/apache/hadoop/hbase/CellScanner.html" title="interface in org.apache.hadoop.hbase">CellScanner</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.419">createCellScanner</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/NavigableMap.html?is-external=true" title="class or interface in java.util">NavigableMap</a><byte[],<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>>> map)</pre> <div class="block">Flatten the map of cells out under the CellScanner</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>map</code> - Map of Cell Lists; for example, the map of families to Cells that is used inside Put, etc., keeping Cells organized by family.</dd> @@ -1283,7 +1345,7 @@ public static <a href="../../../../org/apache/hadoop/hbase/Cell.html" title <li class="blockList"> <h4>matchingRow</h4> <pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> -public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.454">matchingRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.456">matchingRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> <div class="block"><span class="strong">Deprecated.</span> <i>As of release 2.0.0, this will be removed in HBase 3.0.0. Instead use <a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingRows(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.Cell)"><code>matchingRows(Cell, Cell)</code></a></i></div> @@ -1297,7 +1359,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingRow</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.458">matchingRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.460">matchingRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, byte[] buf)</pre> </li> </ul> @@ -1307,7 +1369,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingRow</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.465">matchingRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.467">matchingRow</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, byte[] buf, int offset, int length)</pre> @@ -1319,7 +1381,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingFamily</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.476">matchingFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.478">matchingFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> </li> </ul> @@ -1329,7 +1391,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingFamily</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.499">matchingFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.501">matchingFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, byte[] buf)</pre> </li> </ul> @@ -1339,7 +1401,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingFamily</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.506">matchingFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.508">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> @@ -1351,7 +1413,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingQualifier</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.517">matchingQualifier</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.519">matchingQualifier</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> </li> </ul> @@ -1361,7 +1423,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingQualifier</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.548">matchingQualifier</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.550">matchingQualifier</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, byte[] buf)</pre> <div class="block">Finds if the qualifier part of the cell and the KV serialized byte[] are equal</div> @@ -1375,7 +1437,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingQualifier</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.564">matchingQualifier</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.566">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> @@ -1391,7 +1453,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingColumn</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.578">matchingColumn</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.580">matchingColumn</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, byte[] fam, byte[] qual)</pre> </li> @@ -1402,7 +1464,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingColumn</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.584">matchingColumn</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.586">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, @@ -1417,7 +1479,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingColumn</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.591">matchingColumn</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.593">matchingColumn</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> </li> </ul> @@ -1427,7 +1489,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingValue</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.597">matchingValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.599">matchingValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> </li> </ul> @@ -1437,7 +1499,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingValue</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.601">matchingValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.603">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> @@ -1449,7 +1511,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>matchingValue</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.623">matchingValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.625">matchingValue</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, byte[] buf)</pre> </li> </ul> @@ -1459,7 +1521,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>isDelete</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.638">isDelete</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.640">isDelete</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> <dl><dt><span class="strong">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> @@ -1471,7 +1533,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>isDelete</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.647">isDelete</a>(byte type)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.649">isDelete</a>(byte type)</pre> <dl><dt><span class="strong">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> @@ -1483,7 +1545,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>isDeleteType</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.655">isDeleteType</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.657">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="strong">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> @@ -1493,7 +1555,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>isDeleteFamily</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.659">isDeleteFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.661">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)"> @@ -1502,7 +1564,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>isDeleteFamilyVersion</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.663">isDeleteFamilyVersion</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.665">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)"> @@ -1511,7 +1573,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>isDeleteColumns</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.667">isDeleteColumns</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.669">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)"> @@ -1520,7 +1582,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>isDeleteColumnVersion</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.671">isDeleteColumnVersion</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.673">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)"> @@ -1529,7 +1591,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>isDeleteColumnOrFamily</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.679">isDeleteColumnOrFamily</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.681">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="strong">Returns:</span></dt><dd>True if this cell is a delete family or column type.</dd></dl> </li> </ul> @@ -1539,7 +1601,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>estimatedSerializedSizeOf</h4> -<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.688">estimatedSerializedSizeOf</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.690">estimatedSerializedSizeOf</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd> <dt><span class="strong">Returns:</span></dt><dd>Estimate of the <code>cell</code> size in bytes.</dd></dl> </li> @@ -1550,7 +1612,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>getSumOfCellElementLengths</h4> -<pre>private static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.707">getSumOfCellElementLengths</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>private static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.709">getSumOfCellElementLengths</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd> <dt><span class="strong">Returns:</span></dt><dd>Sum of the lengths of all the elements in a Cell; does not count in any infrastructure</dd></dl> </li> @@ -1561,7 +1623,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>getSumOfCellKeyElementLengths</h4> -<pre>private static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.716">getSumOfCellKeyElementLengths</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>private static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.718">getSumOfCellKeyElementLengths</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd> <dt><span class="strong">Returns:</span></dt><dd>Sum of all elements that make up a key; does not include infrastructure, tags or values.</dd></dl> @@ -1573,7 +1635,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>estimatedSerializedSizeOfKey</h4> -<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.722">estimatedSerializedSizeOfKey</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static int <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.724">estimatedSerializedSizeOfKey</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> </li> </ul> <a name="estimatedHeapSizeOf(org.apache.hadoop.hbase.Cell)"> @@ -1582,7 +1644,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>estimatedHeapSizeOf</h4> -<pre>public static long <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.736">estimatedHeapSizeOf</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static long <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.738">estimatedHeapSizeOf</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> <div class="block">This is an estimate of the heap space occupied by a cell. When the cell is of type <a href="../../../../org/apache/hadoop/hbase/io/HeapSize.html" title="interface in org.apache.hadoop.hbase.io"><code>HeapSize</code></a> we call <a href="../../../../org/apache/hadoop/hbase/io/HeapSize.html#heapSize()"><code>HeapSize.heapSize()</code></a> so cell can give a correct value. In other cases we just consider the bytes occupied by the cell components ie. row, CF, qualifier, @@ -1597,21 +1659,71 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <ul class="blockList"> <li class="blockList"> <h4>tagsIterator</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/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="class in org.apache.hadoop.hbase">Tag</a>> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.753">tagsIterator</a>(byte[] tags, - int offset, - int length)</pre> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> +public static <a href="http://docs.oracle.com/javase/7/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/CellUtil.html#line.758">tagsIterator</a>(byte[] tags, + int offset, + int length)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>As of 2.0.0 and will be removed in 3.0.0 + Instead use <a href="../../../../org/apache/hadoop/hbase/CellUtil.html#tagsIterator(org.apache.hadoop.hbase.Cell)"><code>tagsIterator(Cell)</code></a></i></div> <div class="block">Util method to iterate through the tags</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>tags</code> - </dd><dd><code>offset</code> - </dd><dd><code>length</code> - </dd> <dt><span class="strong">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>private static <a href="http://docs.oracle.com/javase/7/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/CellUtil.html#line.786">tagsIterator</a>(<a href="http://docs.oracle.com/javase/7/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="tagsIterator(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tagsIterator</h4> +<pre>public static <a href="http://docs.oracle.com/javase/7/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/CellUtil.html#line.840">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="strong">Parameters:</span></dt><dd><code>cell</code> - The Cell over which tags iterator is needed.</dd> +<dt><span class="strong">Returns:</span></dt><dd>iterator for the 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="http://docs.oracle.com/javase/7/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/CellUtil.html#line.857">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="strong">Parameters:</span></dt><dd><code>cell</code> - The Cell</dd> +<dt><span class="strong">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="../../../../org/apache/hadoop/hbase/Tag.html" title="interface in org.apache.hadoop.hbase">Tag</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.873">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="strong">Parameters:</span></dt><dd><code>cell</code> - The Cell</dd><dd><code>type</code> - Type of the Tag to retrieve</dd> +<dt><span class="strong">Returns:</span></dt><dd>null if there is no tag of the passed in tag type</dd></dl> +</li> +</ul> <a name="overlappingKeys(byte[], byte[], byte[], byte[])"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>overlappingKeys</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.785">overlappingKeys</a>(byte[] start1, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.901">overlappingKeys</a>(byte[] start1, byte[] end1, byte[] start2, byte[] end2)</pre> @@ -1626,7 +1738,7 @@ public static boolean <a href="../../../../src-html/org/apache/hadoop/ <li class="blockList"> <h4>setSequenceId</h4> <pre><a href="../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> -public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.802">setSequenceId</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.918">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="http://docs.oracle.com/javase/7/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. @@ -1643,7 +1755,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>setTimestamp</h4> -<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.817">setTimestamp</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.933">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="http://docs.oracle.com/javase/7/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> @@ -1658,7 +1770,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>setTimestamp</h4> -<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.833">setTimestamp</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.949">setTimestamp</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, byte[] ts, int tsOffset) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> @@ -1674,7 +1786,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>updateLatestStamp</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.850">updateLatestStamp</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.966">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="http://docs.oracle.com/javase/7/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 @@ -1691,7 +1803,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>updateLatestStamp</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.867">updateLatestStamp</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<pre>public static boolean <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.983">updateLatestStamp</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, byte[] ts, int tsOffset) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> @@ -1709,7 +1821,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>writeFlatKey</h4> -<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.883">writeFlatKey</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, +<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.999">writeFlatKey</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out) throws <a href="http://docs.oracle.com/javase/7/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 @@ -1726,7 +1838,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>writeRow</h4> -<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.916">writeRow</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, +<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1032">writeRow</a>(<a href="http://docs.oracle.com/javase/7/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) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> @@ -1742,7 +1854,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>writeRowSkippingBytes</h4> -<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.932">writeRowSkippingBytes</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, +<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1048">writeRowSkippingBytes</a>(<a href="http://docs.oracle.com/javase/7/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) @@ -1759,7 +1871,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>writeFamily</h4> -<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.949">writeFamily</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, +<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1065">writeFamily</a>(<a href="http://docs.oracle.com/javase/7/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, byte flength) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> @@ -1775,7 +1887,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>writeQualifier</h4> -<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.965">writeQualifier</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, +<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1081">writeQualifier</a>(<a href="http://docs.oracle.com/javase/7/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) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> @@ -1791,7 +1903,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>writeQualifierSkippingBytes</h4> -<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.982">writeQualifierSkippingBytes</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, +<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1098">writeQualifierSkippingBytes</a>(<a href="http://docs.oracle.com/javase/7/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) @@ -1808,7 +1920,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>writeValue</h4> -<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1000">writeValue</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, +<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1116">writeValue</a>(<a href="http://docs.oracle.com/javase/7/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 vlength) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> @@ -1824,7 +1936,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>writeTags</h4> -<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1016">writeTags</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, +<pre>public static void <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1132">writeTags</a>(<a href="http://docs.oracle.com/javase/7/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 tagsLength) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> @@ -1840,7 +1952,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>getCellKeyAsString</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1029">getCellKeyAsString</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1145">getCellKeyAsString</a>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd> <dt><span class="strong">Returns:</span></dt><dd>The Key portion of the passed <code>cell</code> as a String.</dd></dl> </li> @@ -1851,7 +1963,7 @@ public static void <a href="../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>getCellKeySerializedAsKeyValueKey</h4> -<pre>public static byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/CellUtil.html#line.1061">getCellKeySerializedAsKeyValueKey</a>(<a href="../../..
<TRUNCATED>