http://git-wip-us.apache.org/repos/asf/hbase-site/blob/8418e382/1.1/apidocs/org/apache/hadoop/hbase/KeyValueUtil.html
----------------------------------------------------------------------
diff --git a/1.1/apidocs/org/apache/hadoop/hbase/KeyValueUtil.html 
b/1.1/apidocs/org/apache/hadoop/hbase/KeyValueUtil.html
new file mode 100644
index 0000000..01335b9
--- /dev/null
+++ b/1.1/apidocs/org/apache/hadoop/hbase/KeyValueUtil.html
@@ -0,0 +1,977 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Tue Nov 08 06:02:57 PST 2016 
-->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>KeyValueUtil (Apache HBase 1.1.7 API)</title>
+<meta name="date" content="2016-11-08">
+<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="KeyValueUtil (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/KeyValueUtil.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/KeyValueTestUtil.html" 
title="class in org.apache.hadoop.hbase"><span class="strong">Prev 
Class</span></a></li>
+<li><a href="../../../../org/apache/hadoop/hbase/LocalHBaseCluster.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/KeyValueUtil.html" 
target="_top">Frames</a></li>
+<li><a href="KeyValueUtil.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:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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 KeyValueUtil" class="title">Class KeyValueUtil</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.KeyValueUtil</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre><a 
href="../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html"
 title="annotation in 
org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a>
+public class <span class="strong">KeyValueUtil</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">static convenience methods for dealing with KeyValues and 
collections of KeyValues</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">&nbsp;</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/KeyValueUtil.html#KeyValueUtil()">KeyValueUtil</a></strong>()</code>&nbsp;</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">&nbsp;</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 int</code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#appendKeyTo(org.apache.hadoop.hbase.Cell,%20byte[],%20int)">appendKeyTo</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+           byte[]&nbsp;output,
+           int&nbsp;offset)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#appendToByteArray(org.apache.hadoop.hbase.Cell,%20byte[],%20int)">appendToByteArray</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+                 byte[]&nbsp;output,
+                 int&nbsp;offset)</code>
+<div class="block">copy key and value</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/KeyValueUtil.html#appendToByteBuffer(java.nio.ByteBuffer,%20org.apache.hadoop.hbase.KeyValue,%20boolean)">appendToByteBuffer</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>&nbsp;bb,
+                  <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" 
title="class in org.apache.hadoop.hbase">KeyValue</a>&nbsp;kv,
+                  boolean&nbsp;includeMvccVersion)</code>&nbsp;</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/KeyValueUtil.html#copyKeyToNewByteBuffer(org.apache.hadoop.hbase.Cell)">copyKeyToNewByteBuffer</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>
+<div class="block">The position will be set to the beginning of the new 
ByteBuffer</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/KeyValueUtil.html#copyToNewByteArray(org.apache.hadoop.hbase.Cell)">copyToNewByteArray</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>&nbsp;</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/KeyValueUtil.html#copyToNewByteBuffer(org.apache.hadoop.hbase.Cell)">copyToNewByteBuffer</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>
+<div class="block">The position will be set to the beginning of the new 
ByteBuffer</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#copyToNewKeyValue(org.apache.hadoop.hbase.Cell)">copyToNewKeyValue</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>
+<div class="block">copy key only</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstDeleteFamilyOnRow(byte[],%20byte[])">createFirstDeleteFamilyOnRow</a></strong>(byte[]&nbsp;row,
+                            byte[]&nbsp;family)</code>
+<div class="block">Create a Delete Family KeyValue for the specified row and 
family that would
+ be smaller than all other possible Delete Family KeyValues that have the
+ same row and family.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstKeyInIncrementedRow(org.apache.hadoop.hbase.Cell)">createFirstKeyInIncrementedRow</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;in)</code>
+<div class="block">Increment the row bytes and clear the other fields</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstKeyInNextRow(org.apache.hadoop.hbase.Cell)">createFirstKeyInNextRow</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;in)</code>
+<div class="block">Append single byte 0x00 to the end of the input row 
key</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow(byte[])">createFirstOnRow</a></strong>(byte[]&nbsp;row)</code>
+<div class="block">Create a KeyValue that is smaller than all other possible 
KeyValues
+ for the given row.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow(byte[],%20byte[],%20byte[])">createFirstOnRow</a></strong>(byte[]&nbsp;row,
+                byte[]&nbsp;family,
+                byte[]&nbsp;qualifier)</code>
+<div class="block">Create a KeyValue for the specified row, family and 
qualifier that would be
+ smaller than all other possible KeyValues that have the same 
row,family,qualifier.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow(byte[],%20byte[],%20byte[],%20byte[])">createFirstOnRow</a></strong>(byte[]&nbsp;buffer,
+                byte[]&nbsp;row,
+                byte[]&nbsp;family,
+                byte[]&nbsp;qualifier)</code>
+<div class="block">Create a KeyValue for the specified row, family and 
qualifier that would be
+ smaller than all other possible KeyValues that have the same row,
+ family, qualifier.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow(byte[],%20byte[],%20byte[],%20long)">createFirstOnRow</a></strong>(byte[]&nbsp;row,
+                byte[]&nbsp;f,
+                byte[]&nbsp;q,
+                long&nbsp;ts)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow(byte[],%20int,%20byte[],%20int,%20int,%20byte[],%20int,%20int,%20byte[],%20int,%20int)">createFirstOnRow</a></strong>(byte[]&nbsp;buffer,
+                int&nbsp;boffset,
+                byte[]&nbsp;row,
+                int&nbsp;roffset,
+                int&nbsp;rlength,
+                byte[]&nbsp;family,
+                int&nbsp;foffset,
+                int&nbsp;flength,
+                byte[]&nbsp;qualifier,
+                int&nbsp;qoffset,
+                int&nbsp;qlength)</code>
+<div class="block">Create a KeyValue for the specified row, family and 
qualifier that would be
+ smaller than all other possible KeyValues that have the same row,
+ family, qualifier.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow(byte[],%20int,%20int,%20byte[],%20int,%20int,%20byte[],%20int,%20int)">createFirstOnRow</a></strong>(byte[]&nbsp;row,
+                int&nbsp;roffset,
+                int&nbsp;rlength,
+                byte[]&nbsp;family,
+                int&nbsp;foffset,
+                int&nbsp;flength,
+                byte[]&nbsp;qualifier,
+                int&nbsp;qoffset,
+                int&nbsp;qlength)</code>
+<div class="block">Create a KeyValue for the specified row, family and 
qualifier that would be
+ smaller than all other possible KeyValues that have the same row,
+ family, qualifier.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow(byte[],%20int,%20short)">createFirstOnRow</a></strong>(byte[]&nbsp;row,
+                int&nbsp;roffset,
+                short&nbsp;rlength)</code>
+<div class="block">Create a KeyValue that is smaller than all other possible 
KeyValues
+ for the given row.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow(byte[],%20long)">createFirstOnRow</a></strong>(byte[]&nbsp;row,
+                long&nbsp;ts)</code>
+<div class="block">Creates a KeyValue that is smaller than all other KeyValues 
that
+ are older than the passed timestamp.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRowColTS(org.apache.hadoop.hbase.Cell,%20long)">createFirstOnRowColTS</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;kv,
+                     long&nbsp;ts)</code>
+<div class="block">Creates the first KV with the row/family/qualifier of this 
KV and the given
+ timestamp.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRowColTS(org.apache.hadoop.hbase.KeyValue,%20long)">createFirstOnRowColTS</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;kv,
+                     long&nbsp;ts)</code>
+<div class="block">Creates the first KV with the row/family/qualifier of this 
KV and the
+ given timestamp.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createLastOnRow(byte[])">createLastOnRow</a></strong>(byte[]&nbsp;row)</code>
+<div class="block">Creates a KeyValue that is last on the specified row 
id.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createLastOnRow(byte[],%20int,%20int,%20byte[],%20int,%20int,%20byte[],%20int,%20int)">createLastOnRow</a></strong>(byte[]&nbsp;row,
+               int&nbsp;roffset,
+               int&nbsp;rlength,
+               byte[]&nbsp;family,
+               int&nbsp;foffset,
+               int&nbsp;flength,
+               byte[]&nbsp;qualifier,
+               int&nbsp;qoffset,
+               int&nbsp;qlength)</code>
+<div class="block">Create a KeyValue for the specified row, family and 
qualifier that would be
+ larger than or equal to all other possible KeyValues that have the same
+ row, family, qualifier.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createLastOnRow(org.apache.hadoop.hbase.Cell)">createLastOnRow</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;kv)</code>
+<div class="block">Creates a keyValue for the specified keyvalue larger than 
or equal to all other possible
+ KeyValues that have the same row, family, qualifer.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createLastOnRowCol(org.apache.hadoop.hbase.Cell)">createLastOnRowCol</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;kv)</code>
+<div class="block">Similar to
+ <a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createLastOnRow(byte[],%20int,%20int,%20byte[],%20int,%20int,%20byte[],%20int,%20int)"><code>createLastOnRow(byte[],
 int, int, byte[], int, int, byte[], int, int)</code></a>
+ but creates the last key on the row/column of this KV (the value part of
+ the returned KV is always empty).</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#ensureKeyValue(org.apache.hadoop.hbase.Cell)">ensureKeyValue</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>
+<div class="block"><strong>Deprecated.</strong>&nbsp;
+<div class="block"><i>without any replacement.</i></div>
+</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>&lt;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&gt;</code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#ensureKeyValues(java.util.List)">ensureKeyValues</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>&lt;<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells)</code>
+<div class="block"><strong>Deprecated.</strong>&nbsp;</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/KeyValueUtil.html#keyLength(org.apache.hadoop.hbase.Cell)">keyLength</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>
+<div class="block">Returns number of bytes this cell's key part would have 
been used if serialized as in
+ <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase"><code>KeyValue</code></a>.</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/KeyValueUtil.html#length(org.apache.hadoop.hbase.Cell)">length</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>
+<div class="block">Returns number of bytes this cell would have been used if 
serialized as in <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" 
title="class in org.apache.hadoop.hbase"><code>KeyValue</code></a></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/KeyValueUtil.html#lengthWithMvccVersion(org.apache.hadoop.hbase.KeyValue,%20boolean)">lengthWithMvccVersion</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;kv,
+                     boolean&nbsp;includeMvccVersion)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#nextShallowCopy(java.nio.ByteBuffer,%20boolean,%20boolean)">nextShallowCopy</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>&nbsp;bb,
+               boolean&nbsp;includesMvccVersion,
+               boolean&nbsp;includesTags)</code>
+<div class="block">Creates a new KeyValue object positioned in the supplied 
ByteBuffer and sets the ByteBuffer's
+ position to the start of the next KeyValue.</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/KeyValueUtil.html#oswrite(org.apache.hadoop.hbase.Cell,%20java.io.OutputStream,%20boolean)">oswrite</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+       <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream</a>&nbsp;out,
+       boolean&nbsp;withTags)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a></code></td>
+<td class="colLast"><code><strong><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#previousKey(org.apache.hadoop.hbase.KeyValue)">previousKey</a></strong>(<a
 href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;in)</code>
+<div class="block">Decrement the timestamp.</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/KeyValueUtil.html#totalLengthWithMvccVersion(java.lang.Iterable,%20boolean)">totalLengthWithMvccVersion</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>&lt;? extends <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&gt;&nbsp;kvs,
+                          boolean&nbsp;includeMvccVersion)</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;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="KeyValueUtil()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>KeyValueUtil</h4>
+<pre>public&nbsp;KeyValueUtil()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="length(org.apache.hadoop.hbase.Cell)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>length</h4>
+<pre>public static&nbsp;int&nbsp;length(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</pre>
+<div class="block">Returns number of bytes this cell would have been used if 
serialized as in <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" 
title="class in org.apache.hadoop.hbase"><code>KeyValue</code></a></div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - 
</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the length</dd></dl>
+</li>
+</ul>
+<a name="keyLength(org.apache.hadoop.hbase.Cell)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>keyLength</h4>
+<pre>public static&nbsp;int&nbsp;keyLength(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</pre>
+<div class="block">Returns number of bytes this cell's key part would have 
been used if serialized as in
+ <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase"><code>KeyValue</code></a>. Key includes rowkey, 
family, qualifier, timestamp and type.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - 
</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the key length</dd></dl>
+</li>
+</ul>
+<a name="lengthWithMvccVersion(org.apache.hadoop.hbase.KeyValue, boolean)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>lengthWithMvccVersion</h4>
+<pre>public static&nbsp;int&nbsp;lengthWithMvccVersion(<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;kv,
+                        boolean&nbsp;includeMvccVersion)</pre>
+</li>
+</ul>
+<a name="totalLengthWithMvccVersion(java.lang.Iterable, boolean)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>totalLengthWithMvccVersion</h4>
+<pre>public static&nbsp;int&nbsp;totalLengthWithMvccVersion(<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>&lt;? extends <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&gt;&nbsp;kvs,
+                             boolean&nbsp;includeMvccVersion)</pre>
+</li>
+</ul>
+<a name="copyToNewKeyValue(org.apache.hadoop.hbase.Cell)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>copyToNewKeyValue</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;copyToNewKeyValue(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</pre>
+<div class="block">copy key only</div>
+</li>
+</ul>
+<a name="copyKeyToNewByteBuffer(org.apache.hadoop.hbase.Cell)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>copyKeyToNewByteBuffer</h4>
+<pre>public static&nbsp;<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>&nbsp;copyKeyToNewByteBuffer(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</pre>
+<div class="block">The position will be set to the beginning of the new 
ByteBuffer</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - 
</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the Bytebuffer containing the 
key part of the cell</dd></dl>
+</li>
+</ul>
+<a name="copyToNewByteArray(org.apache.hadoop.hbase.Cell)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>copyToNewByteArray</h4>
+<pre>public static&nbsp;byte[]&nbsp;copyToNewByteArray(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</pre>
+</li>
+</ul>
+<a name="appendKeyTo(org.apache.hadoop.hbase.Cell, byte[], int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>appendKeyTo</h4>
+<pre>public static&nbsp;int&nbsp;appendKeyTo(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+              byte[]&nbsp;output,
+              int&nbsp;offset)</pre>
+</li>
+</ul>
+<a name="appendToByteArray(org.apache.hadoop.hbase.Cell, byte[], int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>appendToByteArray</h4>
+<pre>public static&nbsp;int&nbsp;appendToByteArray(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+                    byte[]&nbsp;output,
+                    int&nbsp;offset)</pre>
+<div class="block">copy key and value</div>
+</li>
+</ul>
+<a name="copyToNewByteBuffer(org.apache.hadoop.hbase.Cell)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>copyToNewByteBuffer</h4>
+<pre>public static&nbsp;<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>&nbsp;copyToNewByteBuffer(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</pre>
+<div class="block">The position will be set to the beginning of the new 
ByteBuffer</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - 
</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the ByteBuffer containing the 
cell</dd></dl>
+</li>
+</ul>
+<a name="appendToByteBuffer(java.nio.ByteBuffer, 
org.apache.hadoop.hbase.KeyValue, boolean)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>appendToByteBuffer</h4>
+<pre>public static&nbsp;void&nbsp;appendToByteBuffer(<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>&nbsp;bb,
+                      <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;kv,
+                      boolean&nbsp;includeMvccVersion)</pre>
+</li>
+</ul>
+<a name="nextShallowCopy(java.nio.ByteBuffer, boolean, boolean)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>nextShallowCopy</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;nextShallowCopy(<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>&nbsp;bb,
+                       boolean&nbsp;includesMvccVersion,
+                       boolean&nbsp;includesTags)</pre>
+<div class="block">Creates a new KeyValue object positioned in the supplied 
ByteBuffer and sets the ByteBuffer's
+ position to the start of the next KeyValue. Does not allocate a new array or 
copy data.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>bb</code> - 
</dd><dd><code>includesMvccVersion</code> - </dd><dd><code>includesTags</code> 
- </dd></dl>
+</li>
+</ul>
+<a name="createFirstKeyInNextRow(org.apache.hadoop.hbase.Cell)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstKeyInNextRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstKeyInNextRow(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;in)</pre>
+<div class="block">Append single byte 0x00 to the end of the input row 
key</div>
+</li>
+</ul>
+<a name="createFirstKeyInIncrementedRow(org.apache.hadoop.hbase.Cell)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstKeyInIncrementedRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstKeyInIncrementedRow(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;in)</pre>
+<div class="block">Increment the row bytes and clear the other fields</div>
+</li>
+</ul>
+<a name="previousKey(org.apache.hadoop.hbase.KeyValue)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>previousKey</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;previousKey(<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;in)</pre>
+<div class="block">Decrement the timestamp.  For tests (currently wasteful)
+
+ Remember timestamps are sorted reverse chronologically.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - </dd>
+<dt><span class="strong">Returns:</span></dt><dd>previous key</dd></dl>
+</li>
+</ul>
+<a name="createLastOnRow(byte[], int, int, byte[], int, int, byte[], int, 
int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createLastOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createLastOnRow(byte[]&nbsp;row,
+                       int&nbsp;roffset,
+                       int&nbsp;rlength,
+                       byte[]&nbsp;family,
+                       int&nbsp;foffset,
+                       int&nbsp;flength,
+                       byte[]&nbsp;qualifier,
+                       int&nbsp;qoffset,
+                       int&nbsp;qlength)</pre>
+<div class="block">Create a KeyValue for the specified row, family and 
qualifier that would be
+ larger than or equal to all other possible KeyValues that have the same
+ row, family, qualifier. Used for reseeking.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - row 
key</dd><dd><code>roffset</code> - row offset</dd><dd><code>rlength</code> - 
row length</dd><dd><code>family</code> - family 
name</dd><dd><code>foffset</code> - family offset</dd><dd><code>flength</code> 
- family length</dd><dd><code>qualifier</code> - column 
qualifier</dd><dd><code>qoffset</code> - qualifier 
offset</dd><dd><code>qlength</code> - qualifier length</dd>
+<dt><span class="strong">Returns:</span></dt><dd>Last possible key on passed 
row, family, qualifier.</dd></dl>
+</li>
+</ul>
+<a name="createLastOnRow(org.apache.hadoop.hbase.Cell)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createLastOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createLastOnRow(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;kv)</pre>
+<div class="block">Creates a keyValue for the specified keyvalue larger than 
or equal to all other possible
+ KeyValues that have the same row, family, qualifer.  Used for reseeking</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>kv</code> - </dd>
+<dt><span class="strong">Returns:</span></dt><dd>KeyValue</dd></dl>
+</li>
+</ul>
+<a name="createLastOnRowCol(org.apache.hadoop.hbase.Cell)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createLastOnRowCol</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createLastOnRowCol(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;kv)</pre>
+<div class="block">Similar to
+ <a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createLastOnRow(byte[],%20int,%20int,%20byte[],%20int,%20int,%20byte[],%20int,%20int)"><code>createLastOnRow(byte[],
 int, int, byte[], int, int, byte[], int, int)</code></a>
+ but creates the last key on the row/column of this KV (the value part of
+ the returned KV is always empty). Used in creating "fake keys" for the
+ multi-column Bloom filter optimization to skip the row/column we already
+ know is not in the file.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>kv</code> - - 
cell</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the last key on the 
row/column of the given key-value pair</dd></dl>
+</li>
+</ul>
+<a name="createFirstOnRowColTS(org.apache.hadoop.hbase.Cell, long)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstOnRowColTS</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstOnRowColTS(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;kv,
+                             long&nbsp;ts)</pre>
+<div class="block">Creates the first KV with the row/family/qualifier of this 
KV and the given
+ timestamp. Uses the "maximum" KV type that guarantees that the new KV is
+ the lowest possible for this combination of row, family, qualifier, and
+ timestamp. This KV's own timestamp is ignored. While this function copies
+ the value from this KV, it is normally used on key-only KVs.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>kv</code> - - 
cell</dd><dd><code>ts</code> - </dd></dl>
+</li>
+</ul>
+<a name="createFirstOnRow(byte[], int, short)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstOnRow(byte[]&nbsp;row,
+                        int&nbsp;roffset,
+                        short&nbsp;rlength)</pre>
+<div class="block">Create a KeyValue that is smaller than all other possible 
KeyValues
+ for the given row. That is any (valid) KeyValue on 'row' would sort
+ _after_ the result.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - - 
row key (arbitrary byte array)</dd>
+<dt><span class="strong">Returns:</span></dt><dd>First possible KeyValue on 
passed <code>row</code></dd></dl>
+</li>
+</ul>
+<a name="createLastOnRow(byte[])">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createLastOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createLastOnRow(byte[]&nbsp;row)</pre>
+<div class="block">Creates a KeyValue that is last on the specified row id. 
That is,
+ every other possible KeyValue for the given row would compareTo()
+ less than the result of this call.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - row 
key</dd>
+<dt><span class="strong">Returns:</span></dt><dd>Last possible KeyValue on 
passed <code>row</code></dd></dl>
+</li>
+</ul>
+<a name="createFirstOnRow(byte[])">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstOnRow(byte[]&nbsp;row)</pre>
+<div class="block">Create a KeyValue that is smaller than all other possible 
KeyValues
+ for the given row. That is any (valid) KeyValue on 'row' would sort
+ _after_ the result.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - - 
row key (arbitrary byte array)</dd>
+<dt><span class="strong">Returns:</span></dt><dd>First possible KeyValue on 
passed <code>row</code></dd></dl>
+</li>
+</ul>
+<a name="createFirstOnRow(byte[], long)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstOnRow(byte[]&nbsp;row,
+                        long&nbsp;ts)</pre>
+<div class="block">Creates a KeyValue that is smaller than all other KeyValues 
that
+ are older than the passed timestamp.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - - 
row key (arbitrary byte array)</dd><dd><code>ts</code> - - timestamp</dd>
+<dt><span class="strong">Returns:</span></dt><dd>First possible key on passed 
<code>row</code> and timestamp.</dd></dl>
+</li>
+</ul>
+<a name="createFirstOnRow(byte[], byte[], byte[])">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstOnRow(byte[]&nbsp;row,
+                        byte[]&nbsp;family,
+                        byte[]&nbsp;qualifier)</pre>
+<div class="block">Create a KeyValue for the specified row, family and 
qualifier that would be
+ smaller than all other possible KeyValues that have the same 
row,family,qualifier.
+ Used for seeking.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - - 
row key (arbitrary byte array)</dd><dd><code>family</code> - - family 
name</dd><dd><code>qualifier</code> - - column qualifier</dd>
+<dt><span class="strong">Returns:</span></dt><dd>First possible key on passed 
<code>row</code>, and column.</dd></dl>
+</li>
+</ul>
+<a name="createFirstDeleteFamilyOnRow(byte[], byte[])">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstDeleteFamilyOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstDeleteFamilyOnRow(byte[]&nbsp;row,
+                                    byte[]&nbsp;family)</pre>
+<div class="block">Create a Delete Family KeyValue for the specified row and 
family that would
+ be smaller than all other possible Delete Family KeyValues that have the
+ same row and family.
+ Used for seeking.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - - 
row key (arbitrary byte array)</dd><dd><code>family</code> - - family name</dd>
+<dt><span class="strong">Returns:</span></dt><dd>First Delete Family possible 
key on passed <code>row</code>.</dd></dl>
+</li>
+</ul>
+<a name="createFirstOnRow(byte[], byte[], byte[], long)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstOnRow(byte[]&nbsp;row,
+                        byte[]&nbsp;f,
+                        byte[]&nbsp;q,
+                        long&nbsp;ts)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - - 
row key (arbitrary byte array)</dd><dd><code>f</code> - - family 
name</dd><dd><code>q</code> - - column qualifier</dd><dd><code>ts</code> - - 
timestamp</dd>
+<dt><span class="strong">Returns:</span></dt><dd>First possible key on passed 
<code>row</code>, column and timestamp</dd></dl>
+</li>
+</ul>
+<a name="createFirstOnRow(byte[], int, int, byte[], int, int, byte[], int, 
int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstOnRow(byte[]&nbsp;row,
+                        int&nbsp;roffset,
+                        int&nbsp;rlength,
+                        byte[]&nbsp;family,
+                        int&nbsp;foffset,
+                        int&nbsp;flength,
+                        byte[]&nbsp;qualifier,
+                        int&nbsp;qoffset,
+                        int&nbsp;qlength)</pre>
+<div class="block">Create a KeyValue for the specified row, family and 
qualifier that would be
+ smaller than all other possible KeyValues that have the same row,
+ family, qualifier.
+ Used for seeking.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>row</code> - row 
key</dd><dd><code>roffset</code> - row offset</dd><dd><code>rlength</code> - 
row length</dd><dd><code>family</code> - family 
name</dd><dd><code>foffset</code> - family offset</dd><dd><code>flength</code> 
- family length</dd><dd><code>qualifier</code> - column 
qualifier</dd><dd><code>qoffset</code> - qualifier 
offset</dd><dd><code>qlength</code> - qualifier length</dd>
+<dt><span class="strong">Returns:</span></dt><dd>First possible key on passed 
Row, Family, Qualifier.</dd></dl>
+</li>
+</ul>
+<a name="createFirstOnRow(byte[], byte[], byte[], byte[])">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstOnRow(byte[]&nbsp;buffer,
+                        byte[]&nbsp;row,
+                        byte[]&nbsp;family,
+                        byte[]&nbsp;qualifier)
+                                 throws <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true";
 title="class or interface in java.lang">IllegalArgumentException</a></pre>
+<div class="block">Create a KeyValue for the specified row, family and 
qualifier that would be
+ smaller than all other possible KeyValues that have the same row,
+ family, qualifier.
+ Used for seeking.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>buffer</code> - 
the buffer to use for the new <code>KeyValue</code> 
object</dd><dd><code>row</code> - the value key</dd><dd><code>family</code> - 
family name</dd><dd><code>qualifier</code> - column qualifier</dd>
+<dt><span class="strong">Returns:</span></dt><dd>First possible key on passed 
Row, Family, Qualifier.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true";
 title="class or interface in java.lang">IllegalArgumentException</a></code> - 
The resulting <code>KeyValue</code> object would be larger
+ than the provided buffer or than <code>Integer.MAX_VALUE</code></dd></dl>
+</li>
+</ul>
+<a name="createFirstOnRow(byte[], int, byte[], int, int, byte[], int, int, 
byte[], int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstOnRow</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstOnRow(byte[]&nbsp;buffer,
+                        int&nbsp;boffset,
+                        byte[]&nbsp;row,
+                        int&nbsp;roffset,
+                        int&nbsp;rlength,
+                        byte[]&nbsp;family,
+                        int&nbsp;foffset,
+                        int&nbsp;flength,
+                        byte[]&nbsp;qualifier,
+                        int&nbsp;qoffset,
+                        int&nbsp;qlength)
+                                 throws <a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true";
 title="class or interface in java.lang">IllegalArgumentException</a></pre>
+<div class="block">Create a KeyValue for the specified row, family and 
qualifier that would be
+ smaller than all other possible KeyValues that have the same row,
+ family, qualifier.
+ Used for seeking.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>buffer</code> - 
the buffer to use for the new <code>KeyValue</code> 
object</dd><dd><code>boffset</code> - buffer offset</dd><dd><code>row</code> - 
the value key</dd><dd><code>roffset</code> - row 
offset</dd><dd><code>rlength</code> - row length</dd><dd><code>family</code> - 
family name</dd><dd><code>foffset</code> - family 
offset</dd><dd><code>flength</code> - family 
length</dd><dd><code>qualifier</code> - column 
qualifier</dd><dd><code>qoffset</code> - qualifier 
offset</dd><dd><code>qlength</code> - qualifier length</dd>
+<dt><span class="strong">Returns:</span></dt><dd>First possible key on passed 
Row, Family, Qualifier.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a 
href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true";
 title="class or interface in java.lang">IllegalArgumentException</a></code> - 
The resulting <code>KeyValue</code> object would be larger
+ than the provided buffer or than <code>Integer.MAX_VALUE</code></dd></dl>
+</li>
+</ul>
+<a name="createFirstOnRowColTS(org.apache.hadoop.hbase.KeyValue, long)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createFirstOnRowColTS</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;createFirstOnRowColTS(<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;kv,
+                             long&nbsp;ts)</pre>
+<div class="block">Creates the first KV with the row/family/qualifier of this 
KV and the
+ given timestamp. Uses the "maximum" KV type that guarantees that the new
+ KV is the lowest possible for this combination of row, family, qualifier,
+ and timestamp. This KV's own timestamp is ignored. While this function
+ copies the value from this KV, it is normally used on key-only KVs.</div>
+</li>
+</ul>
+<a name="ensureKeyValue(org.apache.hadoop.hbase.Cell)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>ensureKeyValue</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&nbsp;<a href="../../../../org/apache/hadoop/hbase/KeyValue.html" 
title="class in org.apache.hadoop.hbase">KeyValue</a>&nbsp;ensureKeyValue(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</pre>
+<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>without any 
replacement.</i></div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cell</code> - 
</dd>
+<dt><span class="strong">Returns:</span></dt><dd><code>cell<code> if it is an 
instance of <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" 
title="class in org.apache.hadoop.hbase"><code>KeyValue</code></a> else we will 
return a
+ new <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class 
in org.apache.hadoop.hbase"><code>KeyValue</code></a> instance made from 
<code>cell</code></dd></dl>
+</li>
+</ul>
+<a name="ensureKeyValues(java.util.List)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>ensureKeyValues</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&nbsp;<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>&lt;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&gt;&nbsp;ensureKeyValues(<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>&lt;<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells)</pre>
+<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
+</li>
+</ul>
+<a name="oswrite(org.apache.hadoop.hbase.Cell, java.io.OutputStream, boolean)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>oswrite</h4>
+<pre>public static&nbsp;void&nbsp;oswrite(<a 
href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+           <a 
href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream</a>&nbsp;out,
+           boolean&nbsp;withTags)
+                    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>
+<dl><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>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a 
name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/KeyValueUtil.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/KeyValueTestUtil.html" 
title="class in org.apache.hadoop.hbase"><span class="strong">Prev 
Class</span></a></li>
+<li><a href="../../../../org/apache/hadoop/hbase/LocalHBaseCluster.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/KeyValueUtil.html" 
target="_top">Frames</a></li>
+<li><a href="KeyValueUtil.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2007-2016 <a 
href="http://www.apache.org/";>The Apache Software Foundation</a>. All Rights 
Reserved.</small></p>
+</body>
+</html>

Reply via email to