http://git-wip-us.apache.org/repos/asf/hbase-site/blob/8418e382/1.1/apidocs/org/apache/hadoop/hbase/CellUtil.html ---------------------------------------------------------------------- diff --git a/1.1/apidocs/org/apache/hadoop/hbase/CellUtil.html b/1.1/apidocs/org/apache/hadoop/hbase/CellUtil.html new file mode 100644 index 0000000..0cc34ef --- /dev/null +++ b/1.1/apidocs/org/apache/hadoop/hbase/CellUtil.html @@ -0,0 +1,1591 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>CellUtil (Apache HBase 1.1.7 API)</title> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="CellUtil (Apache HBase 1.1.7 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/CellUtil.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/hadoop/hbase/ClockOutOfSyncException.html" title="class in org.apache.hadoop.hbase"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/hadoop/hbase/CellUtil.html" target="_top">Frames</a></li> +<li><a href="CellUtil.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><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 CellUtil" class="title">Class CellUtil</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.hadoop.hbase.CellUtil</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>@InterfaceAudience.Public [email protected] +public final class <span class="strong">CellUtil</span> +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.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" 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="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#CellUtil()">CellUtil</a></strong>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</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#cloneFamily(org.apache.hadoop.hbase.Cell)">cloneFamily</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 byte[]</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#cloneQualifier(org.apache.hadoop.hbase.Cell)">cloneQualifier</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 byte[]</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#cloneRow(org.apache.hadoop.hbase.Cell)">cloneRow</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> +<div class="block">get individual arrays for tests</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static byte[]</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#cloneValue(org.apache.hadoop.hbase.Cell)">cloneValue</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 int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyFamilyTo(org.apache.hadoop.hbase.Cell,%20byte[],%20int)">copyFamilyTo</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + byte[] destination, + int destinationOffset)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyQualifierTo(org.apache.hadoop.hbase.Cell,%20byte[],%20int)">copyQualifierTo</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + byte[] destination, + int destinationOffset)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyRowTo(org.apache.hadoop.hbase.Cell,%20byte[],%20int)">copyRowTo</a></strong>(<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">copyTo</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyTagTo(org.apache.hadoop.hbase.Cell,%20byte[],%20int)">copyTagTo</a></strong>(<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 class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#copyValueTo(org.apache.hadoop.hbase.Cell,%20byte[],%20int)">copyValueTo</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + byte[] destination, + int destinationOffset)</code> </td> +</tr> +<tr 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCell(byte[])">createCell</a></strong>(byte[] row)</code> +<div class="block">Create a Cell with specific row.</div> +</td> +</tr> +<tr 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCell(byte[],%20byte[])">createCell</a></strong>(byte[] row, + byte[] value)</code> +<div class="block">Create a Cell with specific row and value.</div> +</td> +</tr> +<tr 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCell(byte[],%20byte[],%20byte[])">createCell</a></strong>(byte[] row, + byte[] family, + byte[] qualifier)</code> +<div class="block">Create a Cell with specific row.</div> +</td> +</tr> +<tr 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCell(byte[],%20byte[],%20byte[],%20long,%20byte,%20byte[])">createCell</a></strong>(byte[] row, + byte[] family, + byte[] qualifier, + long timestamp, + byte type, + byte[] value)</code> </td> +</tr> +<tr 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCell(byte[],%20byte[],%20byte[],%20long,%20byte,%20byte[],%20byte[],%20long)">createCell</a></strong>(byte[] row, + byte[] family, + byte[] qualifier, + long timestamp, + byte type, + byte[] value, + byte[] tags, + long memstoreTS)</code> </td> +</tr> +<tr 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCell(byte[],%20byte[],%20byte[],%20long,%20byte,%20byte[],%20long)">createCell</a></strong>(byte[] row, + byte[] family, + byte[] qualifier, + long timestamp, + byte type, + byte[] value, + long memstoreTS)</code> </td> +</tr> +<tr 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCell(byte[],%20byte[],%20byte[],%20long,%20org.apache.hadoop.hbase.KeyValue.Type,%20byte[],%20byte[])">createCell</a></strong>(byte[] row, + byte[] family, + byte[] qualifier, + long timestamp, + org.apache.hadoop.hbase.KeyValue.Type type, + byte[] value, + byte[] tags)</code> </td> +</tr> +<tr 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCell(byte[],%20int,%20int,%20byte[],%20int,%20int,%20byte[],%20int,%20int)">createCell</a></strong>(byte[] rowArray, + int rowOffset, + int rowLength, + byte[] familyArray, + int familyOffset, + int familyLength, + byte[] qualifierArray, + int qualifierOffset, + int qualifierLength)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static org.apache.hadoop.hbase.CellScanner</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCellScanner(org.apache.hadoop.hbase.Cell[])">createCellScanner</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>[] cellArray)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static org.apache.hadoop.hbase.CellScanner</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCellScanner(java.lang.Iterable)">createCellScanner</a></strong>(<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)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static org.apache.hadoop.hbase.CellScanner</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCellScanner(java.util.Iterator)">createCellScanner</a></strong>(<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)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static org.apache.hadoop.hbase.CellScanner</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCellScanner(java.util.List)">createCellScanner</a></strong>(<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 org.apache.hadoop.hbase.CellScannable> cellScannerables)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static org.apache.hadoop.hbase.CellScanner</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#createCellScanner(java.util.NavigableMap)">createCellScanner</a></strong>(<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)</code> +<div class="block">Flatten the map of cells out under the CellScanner</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#equals(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.Cell)">equals</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> a, + <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> b)</code> +<div class="block">equals</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static long</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#estimatedHeapSizeOf(org.apache.hadoop.hbase.Cell)">estimatedHeapSizeOf</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> +<div class="block">This is an estimate of the heap space occupied by a cell.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static long</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#estimatedHeapSizeOfWithoutTags(org.apache.hadoop.hbase.Cell)">estimatedHeapSizeOfWithoutTags</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> +<div class="block"><strong>Deprecated.</strong> </div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#estimatedSerializedSizeOf(org.apache.hadoop.hbase.Cell)">estimatedSerializedSizeOf</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 int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#estimatedSerializedSizeOfKey(org.apache.hadoop.hbase.Cell)">estimatedSerializedSizeOfKey</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 int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#estimatedSizeOf(org.apache.hadoop.hbase.Cell)">estimatedSizeOf</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>please use estimatedSerializedSizeOf(Cell)</i></div> +</div> +</td> +</tr> +<tr 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#fillFamilyRange(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.util.ByteRange)">fillFamilyRange</a></strong>(<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 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#fillQualifierRange(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.util.ByteRange)">fillQualifierRange</a></strong>(<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 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#fillRowRange(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.util.ByteRange)">fillRowRange</a></strong>(<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 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#fillTagRange(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.util.ByteRange)">fillTagRange</a></strong>(<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 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><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#fillValueRange(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.util.ByteRange)">fillValueRange</a></strong>(<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 class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#findCommonPrefixInFlatKey(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.Cell,%20boolean,%20boolean)">findCommonPrefixInFlatKey</a></strong>(<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 + <code>KeyValue</code>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>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></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getCellKeyAsString(org.apache.hadoop.hbase.Cell)">getCellKeyAsString</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 byte[]</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getCellKeySerializedAsKeyValueKey(org.apache.hadoop.hbase.Cell)">getCellKeySerializedAsKeyValueKey</a></strong>(<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 class="altColor"> +<td class="colFirst"><code>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></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getQualifierBufferShallowCopy(org.apache.hadoop.hbase.Cell)">getQualifierBufferShallowCopy</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 byte</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getRowByte(org.apache.hadoop.hbase.Cell,%20int)">getRowByte</a></strong>(<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 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/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#getValueBufferShallowCopy(org.apache.hadoop.hbase.Cell)">getValueBufferShallowCopy</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 boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#isDelete(byte)">isDelete</a></strong>(byte type)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#isDelete(org.apache.hadoop.hbase.Cell)">isDelete</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 boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#isDeleteColumnOrFamily(org.apache.hadoop.hbase.Cell)">isDeleteColumnOrFamily</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 boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#isDeleteColumns(org.apache.hadoop.hbase.Cell)">isDeleteColumns</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 boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#isDeleteColumnVersion(org.apache.hadoop.hbase.Cell)">isDeleteColumnVersion</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 boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#isDeleteFamily(org.apache.hadoop.hbase.Cell)">isDeleteFamily</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 boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#isDeleteFamilyVersion(org.apache.hadoop.hbase.Cell)">isDeleteFamilyVersion</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 boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#isDeleteType(org.apache.hadoop.hbase.Cell)">isDeleteType</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 boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingColumn(org.apache.hadoop.hbase.Cell,%20byte[],%20byte[])">matchingColumn</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + byte[] fam, + byte[] qual)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingColumn(org.apache.hadoop.hbase.Cell,%20byte[],%20int,%20int,%20byte[],%20int,%20int)">matchingColumn</a></strong>(<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 class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingColumn(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.Cell)">matchingColumn</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingFamily(org.apache.hadoop.hbase.Cell,%20byte[])">matchingFamily</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + byte[] buf)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingFamily(org.apache.hadoop.hbase.Cell,%20byte[],%20int,%20int)">matchingFamily</a></strong>(<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 class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingFamily(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.Cell)">matchingFamily</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingQualifier(org.apache.hadoop.hbase.Cell,%20byte[])">matchingQualifier</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + byte[] buf)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingQualifier(org.apache.hadoop.hbase.Cell,%20byte[],%20int,%20int)">matchingQualifier</a></strong>(<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 class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingQualifier(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.Cell)">matchingQualifier</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingRow(org.apache.hadoop.hbase.Cell,%20byte[])">matchingRow</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + byte[] buf)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingRow(org.apache.hadoop.hbase.Cell,%20byte[],%20int,%20int)">matchingRow</a></strong>(<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 class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingRow(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.Cell)">matchingRow</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingTimestamp(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.Cell)">matchingTimestamp</a></strong>(<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 class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingType(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.Cell)">matchingType</a></strong>(<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 class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingValue(org.apache.hadoop.hbase.Cell,%20byte[])">matchingValue</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + byte[] buf)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#matchingValue(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.Cell)">matchingValue</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#overlappingKeys(byte[],%20byte[],%20byte[],%20byte[])">overlappingKeys</a></strong>(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 class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#setSequenceId(org.apache.hadoop.hbase.Cell,%20long)">setSequenceId</a></strong>(<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 class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#setTimestamp(org.apache.hadoop.hbase.Cell,%20byte[],%20int)">setTimestamp</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + byte[] ts, + int tsOffset)</code> +<div class="block">Sets the given timestamp to the cell.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#setTimestamp(org.apache.hadoop.hbase.Cell,%20long)">setTimestamp</a></strong>(<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 class="altColor"> +<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><org.apache.hadoop.hbase.Tag></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> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>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></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#toString(org.apache.hadoop.hbase.Cell,%20boolean)">toString</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + boolean verbose)</code> +<div class="block">Returns a string representation of the cell</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#updateLatestStamp(org.apache.hadoop.hbase.Cell,%20byte[],%20int)">updateLatestStamp</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + byte[] ts, + int tsOffset)</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 class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#updateLatestStamp(org.apache.hadoop.hbase.Cell,%20long)">updateLatestStamp</a></strong>(<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 class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#writeFlatKey(org.apache.hadoop.hbase.Cell,%20java.io.DataOutputStream)">writeFlatKey</a></strong>(<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)</code> +<div class="block">Writes the Cell's key part as it would have serialized in a KeyValue.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/hadoop/hbase/CellUtil.html#writeRowKeyExcludingCommon(org.apache.hadoop.hbase.Cell,%20short,%20int,%20java.io.DataOutputStream)">writeRowKeyExcludingCommon</a></strong>(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + short rLen, + int commonPrefix, + <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)</code> +<div class="block">Write rowkey excluding the common part.</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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" 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="CellUtil()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>CellUtil</h4> +<pre>public CellUtil()</pre> +</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> fillRowRange(<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> fillFamilyRange(<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> fillQualifierRange(<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> fillValueRange(<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> fillTagRange(<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="cloneRow(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>cloneRow</h4> +<pre>public static byte[] cloneRow(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +<div class="block">get individual arrays for tests</div> +</li> +</ul> +<a name="cloneFamily(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>cloneFamily</h4> +<pre>public static byte[] cloneFamily(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +</li> +</ul> +<a name="cloneQualifier(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>cloneQualifier</h4> +<pre>public static byte[] cloneQualifier(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +</li> +</ul> +<a name="cloneValue(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>cloneValue</h4> +<pre>public static byte[] cloneValue(<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)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTagArray</h4> +<pre>public static byte[] getTagArray(<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 + <code>Tag.getBuffer()</code> with appropriate <code>Tag.getTagOffset()</code> and + <code>Tag.getTagLength()</code> 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> +</ul> +<a name="copyRowTo(org.apache.hadoop.hbase.Cell, byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyRowTo</h4> +<pre>public static int copyRowTo(<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> +</li> +</ul> +<a name="copyFamilyTo(org.apache.hadoop.hbase.Cell, byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyFamilyTo</h4> +<pre>public static int copyFamilyTo(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + byte[] destination, + int destinationOffset)</pre> +</li> +</ul> +<a name="copyQualifierTo(org.apache.hadoop.hbase.Cell, byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyQualifierTo</h4> +<pre>public static int copyQualifierTo(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + byte[] destination, + int destinationOffset)</pre> +</li> +</ul> +<a name="copyValueTo(org.apache.hadoop.hbase.Cell, byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyValueTo</h4> +<pre>public static int copyValueTo(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + byte[] destination, + int destinationOffset)</pre> +</li> +</ul> +<a name="copyTagTo(org.apache.hadoop.hbase.Cell, byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyTagTo</h4> +<pre>public static int copyTagTo(<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="strong">Parameters:</span></dt><dd><code>cell</code> - </dd><dd><code>destination</code> - </dd><dd><code>destinationOffset</code> - </dd> +<dt><span class="strong">Returns:</span></dt><dd>position after tags</dd></dl> +</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 getRowByte(<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="getValueBufferShallowCopy(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<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> getValueBufferShallowCopy(<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)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getQualifierBufferShallowCopy</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> getQualifierBufferShallowCopy(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</pre> +</li> +</ul> +<a name="createCell(byte[], byte[], byte[], long, byte, byte[])"> +<!-- --> +</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> createCell(byte[] row, + byte[] family, + byte[] qualifier, + long timestamp, + byte type, + byte[] value)</pre> +</li> +</ul> +<a name="createCell(byte[], int, int, byte[], int, int, byte[], int, int)"> +<!-- --> +</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> createCell(byte[] rowArray, + int rowOffset, + int rowLength, + byte[] familyArray, + int familyOffset, + int familyLength, + byte[] qualifierArray, + int qualifierOffset, + int qualifierLength)</pre> +</li> +</ul> +<a name="createCell(byte[], byte[], byte[], long, byte, byte[], long)"> +<!-- --> +</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> createCell(byte[] row, + byte[] family, + byte[] qualifier, + long timestamp, + byte type, + byte[] value, + long memstoreTS)</pre> +</li> +</ul> +<a name="createCell(byte[], byte[], byte[], long, byte, byte[], byte[], long)"> +<!-- --> +</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> createCell(byte[] row, + byte[] family, + byte[] qualifier, + long timestamp, + byte type, + byte[] value, + byte[] tags, + long memstoreTS)</pre> +</li> +</ul> +<a name="createCell(byte[], byte[], byte[], long, org.apache.hadoop.hbase.KeyValue.Type, byte[], byte[])"> +<!-- --> +</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> createCell(byte[] row, + byte[] family, + byte[] qualifier, + long timestamp, + org.apache.hadoop.hbase.KeyValue.Type type, + byte[] value, + byte[] tags)</pre> +</li> +</ul> +<a name="createCell(byte[])"> +<!-- --> +</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> createCell(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> +</li> +</ul> +<a name="createCell(byte[], byte[])"> +<!-- --> +</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> createCell(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> +<dt><span class="strong">Returns:</span></dt><dd>Cell with passed row and value but all other fields are arbitrary</dd></dl> +</li> +</ul> +<a name="createCell(byte[], byte[], byte[])"> +<!-- --> +</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> createCell(byte[] row, + byte[] family, + byte[] qualifier)</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><dd><code>family</code> - </dd><dd><code>qualifier</code> - </dd> +<dt><span class="strong">Returns:</span></dt><dd>Cell with passed row but all other fields are arbitrary</dd></dl> +</li> +</ul> +<a name="createCellScanner(java.util.List)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createCellScanner</h4> +<pre>public static org.apache.hadoop.hbase.CellScanner createCellScanner(<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 org.apache.hadoop.hbase.CellScannable> 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> +</ul> +<a name="createCellScanner(java.lang.Iterable)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createCellScanner</h4> +<pre>public static org.apache.hadoop.hbase.CellScanner createCellScanner(<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> +</ul> +<a name="createCellScanner(java.util.Iterator)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createCellScanner</h4> +<pre>public static org.apache.hadoop.hbase.CellScanner createCellScanner(<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> +</li> +</ul> +<a name="createCellScanner(org.apache.hadoop.hbase.Cell[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createCellScanner</h4> +<pre>public static org.apache.hadoop.hbase.CellScanner createCellScanner(<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> +</ul> +<a name="createCellScanner(java.util.NavigableMap)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createCellScanner</h4> +<pre>public static org.apache.hadoop.hbase.CellScanner createCellScanner(<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> +<dt><span class="strong">Returns:</span></dt><dd>CellScanner interface over <code>cellIterable</code></dd></dl> +</li> +</ul> +<a name="matchingRow(org.apache.hadoop.hbase.Cell, org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingRow</h4> +<pre>public static boolean matchingRow(<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> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>left</code> - </dd><dd><code>right</code> - </dd> +<dt><span class="strong">Returns:</span></dt><dd>True if the rows in <code>left</code> and <code>right</code> Cells match</dd></dl> +</li> +</ul> +<a name="matchingRow(org.apache.hadoop.hbase.Cell, byte[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingRow</h4> +<pre>public static boolean matchingRow(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + byte[] buf)</pre> +</li> +</ul> +<a name="matchingRow(org.apache.hadoop.hbase.Cell, byte[], int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingRow</h4> +<pre>public static boolean matchingRow(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + byte[] buf, + int offset, + int length)</pre> +</li> +</ul> +<a name="matchingFamily(org.apache.hadoop.hbase.Cell, org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingFamily</h4> +<pre>public static boolean matchingFamily(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> +</li> +</ul> +<a name="matchingFamily(org.apache.hadoop.hbase.Cell, byte[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingFamily</h4> +<pre>public static boolean matchingFamily(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + byte[] buf)</pre> +</li> +</ul> +<a name="matchingFamily(org.apache.hadoop.hbase.Cell, byte[], int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingFamily</h4> +<pre>public static boolean matchingFamily(<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, org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingQualifier</h4> +<pre>public static boolean matchingQualifier(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> +</li> +</ul> +<a name="matchingQualifier(org.apache.hadoop.hbase.Cell, byte[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingQualifier</h4> +<pre>public static boolean matchingQualifier(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + byte[] buf)</pre> +</li> +</ul> +<a name="matchingQualifier(org.apache.hadoop.hbase.Cell, byte[], int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingQualifier</h4> +<pre>public static boolean matchingQualifier(<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="matchingColumn(org.apache.hadoop.hbase.Cell, byte[], byte[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingColumn</h4> +<pre>public static boolean matchingColumn(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + byte[] fam, + byte[] qual)</pre> +</li> +</ul> +<a name="matchingColumn(org.apache.hadoop.hbase.Cell, byte[], int, int, byte[], int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingColumn</h4> +<pre>public static boolean matchingColumn(<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="matchingColumn(org.apache.hadoop.hbase.Cell, org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingColumn</h4> +<pre>public static boolean matchingColumn(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> +</li> +</ul> +<a name="matchingValue(org.apache.hadoop.hbase.Cell, org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingValue</h4> +<pre>public static boolean matchingValue(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + <a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> right)</pre> +</li> +</ul> +<a name="matchingValue(org.apache.hadoop.hbase.Cell, byte[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>matchingValue</h4> +<pre>public static boolean matchingValue(<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> left, + byte[] buf)</pre> +</li> +</ul> +<a name="isDelete(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isDelete</h4> +<pre>public static boolean isDelete(<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 <code>KeyValue.Type.Delete</code> or a + {KeyValue.Type#DeleteFamily} or a + <code>KeyValue.Type.DeleteColumn</code> KeyValue type.</dd></dl> +</li> +</ul> +<a name="isDelete(byte)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isDelete</h4> +<pre>public static boolean isDelete(byte type)</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if a delete type, a <code>KeyValue.Type.Delete</code> or a + {KeyValue.Type#DeleteFamily} or a + <code>KeyValue.Type.DeleteColumn</code> KeyValue type.</dd></dl> +</li> +</ul> +<a name="isDeleteType(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isDeleteType</h4> +<pre>public static boolean isDeleteType(<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 <code>KeyValue.Type.Delete</code> 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 isDeleteFamily(<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 isDeleteFamilyVersion(<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 isDeleteColumns(<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 isDeleteColumnVersion(<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 isDeleteColumnOrFamily(<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> +<a name="estimatedSizeOf(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>estimatedSizeOf</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 int estimatedSizeOf(<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>please use estimatedSerializedSizeOf(Cell)</i></div> +<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> +</ul> +<a name="estimatedSerializedSizeOf(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>estimatedSerializedSizeOf</h4> +<pre>public static int estimatedSerializedSizeOf(<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> +</ul> +<a name="estimatedSerializedSizeOfKey(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>estimatedSerializedSizeOfKey</h4> +<pre>public static int estimatedSerializedSizeOfKey(<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)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>estimatedHeapSizeOf</h4> +<pre>public static long estimatedHeapSizeOf(<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 + <code>HeapSize</code> we call <code>HeapSize.heapSize()</code> so cell can give a correct value. In other + cases we just consider the byte occupied by the cell components ie. row, CF, qualifier, + timestamp, type, value and tags.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd> +<dt><span class="strong">Returns:</span></dt><dd>estimate of the heap space</dd></dl> +</li> +</ul> +<a name="estimatedHeapSizeOfWithoutTags(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>estimatedHeapSizeOfWithoutTags</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 long estimatedHeapSizeOfWithoutTags(<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> </div> +<div class="block">This is a hack that should be removed once we don't care about matching + up client- and server-side estimations of cell size. It needed to be + backwards compatible with estimations done by older clients. We need to + pretend that tags never exist and cells aren't serialized with tag + length included. See HBASE-13262 and HBASE-13303</div> +</li> +</ul> +<a name="tagsIterator(byte[], int, int)"> +<!-- --> +</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><org.apache.hadoop.hbase.Tag> tagsIterator(byte[] tags, + int offset, + int length)</pre> +<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="overlappingKeys(byte[], byte[], byte[], byte[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>overlappingKeys</h4> +<pre>public static boolean overlappingKeys(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="setSequenceId(org.apache.hadoop.hbase.Cell, long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setSequenceId</h4> +<pre>public static void setSequenceId(<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.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd><dd><code>seqId</code> - </dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><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></code> - when the passed cell is not of type <code>SettableSequenceId</code></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 setTimestamp(<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> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd><dd><code>ts</code> - </dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><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></code> - when the passed cell is not of type <code>SettableTimestamp</code></dd></dl> +</li> +</ul> +<a name="setTimestamp(org.apache.hadoop.hbase.Cell, byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTimestamp</h4> +<pre>public static void setTimestamp(<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> +<div class="block">Sets the given timestamp to the cell.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd><dd><code>ts</code> - buffer containing the timestamp value</dd><dd><code>tsOffset</code> - offset to the new timestamp</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><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></code> - when the passed cell is not of type <code>SettableTimestamp</code></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 updateLatestStamp(<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 + <a href="../../../../org/apache/hadoop/hbase/HConstants.html#LATEST_TIMESTAMP"><code>HConstants.LATEST_TIMESTAMP</code></a>.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd><dd><code>ts</code> - </dd> +<dt><span class="strong">Returns:</span></dt><dd>True if cell timestamp is modified.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><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></code> - when the passed cell is not of type <code>SettableTimestamp</code></dd></dl> +</li> +</ul> +<a name="updateLatestStamp(org.apache.hadoop.hbase.Cell, byte[], int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>updateLatestStamp</h4> +<pre>public static boolean updateLatestStamp(<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> +<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="strong">Parameters:</span></dt><dd><code>cell</code> - </dd><dd><code>ts</code> - buffer containing the timestamp value</dd><dd><code>tsOffset</code> - offset to the new timestamp</dd> +<dt><span class="strong">Returns:</span></dt><dd>True if cell timestamp is modified.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><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></code> - when the passed cell is not of type <code>SettableTimestamp</code></dd></dl> +</li> +</ul> +<a name="writeFlatKey(org.apache.hadoop.hbase.Cell, java.io.DataOutputStream)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>writeFlatKey</h4> +<pre>public static void writeFlatKey(<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 + rk len><rk><1 byte cf len><cf><qualifier><8 bytes + timestamp><1 byte type></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - </dd><dd><code>out</code> - </dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><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></code></dd></dl> +</li> +</ul> +<a name="getCellKeyAsString(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCellKeyAsString</h4> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCellKeyAsString(<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> +</ul> +<a name="getCellKeySerializedAsKeyValueKey(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCellKeySerializedAsKeyValueKey</h4> +<pre>public static byte[] getCellKeySerializedAsKeyValueKey(<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 seria
<TRUNCATED>
