http://git-wip-us.apache.org/repos/asf/hbase-site/blob/97d559f1/2.0/apidocs/org/apache/hadoop/hbase/KeyValueUtil.html
----------------------------------------------------------------------
diff --git a/2.0/apidocs/org/apache/hadoop/hbase/KeyValueUtil.html 
b/2.0/apidocs/org/apache/hadoop/hbase/KeyValueUtil.html
new file mode 100644
index 0000000..4126aad
--- /dev/null
+++ b/2.0/apidocs/org/apache/hadoop/hbase/KeyValueUtil.html
@@ -0,0 +1,1211 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>KeyValueUtil (Apache HBase 2.0.0-beta-2 API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" 
title="Style">
+<script type="text/javascript" src="../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="KeyValueUtil (Apache HBase 2.0.0-beta-2 
API)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = 
{"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":41,"i24":41,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/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="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/hadoop/hbase/LocalHBaseCluster.html" 
title="class in org.apache.hadoop.hbase"><span 
class="typeNameLink">Next&nbsp;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&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;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="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.hadoop.hbase.KeyValueUtil</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>@InterfaceAudience.Private
+public class <a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.47">KeyValueUtil</a>
+extends <a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object</a></pre>
+<div class="block">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="memberSummary" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#KeyValueUtil--">KeyValueUtil</a></span>()</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="memberSummary" border="0" cellpadding="3" cellspacing="0" 
summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span 
class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a 
href="javascript:show(1);">Static Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a 
href="javascript:show(8);">Concrete Methods</a></span><span 
class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a 
href="javascript:show(32);">Deprecated Methods</a></span><span 
class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#appendKeyTo-org.apache.hadoop.hbase.Cell-byte:A-int-">appendKeyTo</a></span>(<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 id="i1" class="rowColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#appendKeyTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-">appendKeyTo</a></span>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+           <a 
href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer</a>&nbsp;buf,
+           int&nbsp;offset)</code>&nbsp;</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#appendTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-boolean-">appendTo</a></span>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+        <a 
href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer</a>&nbsp;buf,
+        int&nbsp;offset,
+        boolean&nbsp;withTags)</code>
+<div class="block">Copy the Cell content into the passed buf in KeyValue 
serialization format.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#appendToByteArray-org.apache.hadoop.hbase.Cell-byte:A-int-boolean-">appendToByteArray</a></span>(<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,
+                 boolean&nbsp;withTags)</code>
+<div class="block">copy key and value</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#appendToByteBuffer-java.nio.ByteBuffer-org.apache.hadoop.hbase.KeyValue-boolean-">appendToByteBuffer</a></span>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer</a>&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 id="i5" class="rowColor">
+<td class="colFirst"><code>static <a 
href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#copyKeyToNewByteBuffer-org.apache.hadoop.hbase.Cell-">copyKeyToNewByteBuffer</a></span>(<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 id="i6" class="altColor">
+<td class="colFirst"><code>static byte[]</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#copyToNewByteArray-org.apache.hadoop.hbase.Cell-">copyToNewByteArray</a></span>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>&nbsp;</td>
+</tr>
+<tr id="i7" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#copyToNewKeyValue-org.apache.hadoop.hbase.Cell-">copyToNewKeyValue</a></span>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>
+<div class="block">copy the cell to create a new keyvalue</div>
+</td>
+</tr>
+<tr id="i8" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#create-java.io.DataInput-">create</a></span>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html?is-external=true";
 title="class or interface in java.io">DataInput</a>&nbsp;in)</code>&nbsp;</td>
+</tr>
+<tr id="i9" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#create-int-java.io.DataInput-">create</a></span>(int&nbsp;length,
+      <a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html?is-external=true";
 title="class or interface in java.io">DataInput</a>&nbsp;in)</code>
+<div class="block">Create a KeyValue reading <code>length</code> from 
<code>in</code></div>
+</td>
+</tr>
+<tr id="i10" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow-byte:A-">createFirstOnRow</a></span>(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 id="i11" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow-byte:A-byte:A-byte:A-">createFirstOnRow</a></span>(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 id="i12" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow-byte:A-byte:A-byte:A-byte:A-">createFirstOnRow</a></span>(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 id="i13" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow-byte:A-byte:A-byte:A-long-">createFirstOnRow</a></span>(byte[]&nbsp;row,
+                byte[]&nbsp;f,
+                byte[]&nbsp;q,
+                long&nbsp;ts)</code>&nbsp;</td>
+</tr>
+<tr id="i14" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow-byte:A-int-byte:A-int-int-byte:A-int-int-byte:A-int-int-">createFirstOnRow</a></span>(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 id="i15" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow-byte:A-int-int-byte:A-int-int-byte:A-int-int-">createFirstOnRow</a></span>(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 id="i16" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow-byte:A-int-short-">createFirstOnRow</a></span>(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 id="i17" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createFirstOnRow-byte:A-long-">createFirstOnRow</a></span>(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 id="i18" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createKeyValueFromKey-byte:A-">createKeyValueFromKey</a></span>(byte[]&nbsp;b)</code>&nbsp;</td>
+</tr>
+<tr id="i19" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createKeyValueFromKey-byte:A-int-int-">createKeyValueFromKey</a></span>(byte[]&nbsp;b,
+                     int&nbsp;o,
+                     int&nbsp;l)</code>&nbsp;</td>
+</tr>
+<tr id="i20" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createKeyValueFromKey-java.nio.ByteBuffer-">createKeyValueFromKey</a></span>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in 
java.nio">ByteBuffer</a>&nbsp;bb)</code>&nbsp;</td>
+</tr>
+<tr id="i21" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createLastOnRow-byte:A-">createLastOnRow</a></span>(byte[]&nbsp;row)</code>
+<div class="block">Creates a KeyValue that is last on the specified row 
id.</div>
+</td>
+</tr>
+<tr id="i22" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#createLastOnRow-byte:A-int-int-byte:A-int-int-byte:A-int-int-">createLastOnRow</a></span>(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 id="i23" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#ensureKeyValue-org.apache.hadoop.hbase.Cell-">ensureKeyValue</a></span>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>
+<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
+<div class="block"><span class="deprecationComment">without any 
replacement.</span></div>
+</div>
+</td>
+</tr>
+<tr id="i24" class="altColor">
+<td class="colFirst"><code>static <a 
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List</a>&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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#ensureKeyValues-java.util.List-">ensureKeyValues</a></span>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List</a>&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"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
+</td>
+</tr>
+<tr id="i25" class="rowColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#getSerializedSize-org.apache.hadoop.hbase.Cell-boolean-">getSerializedSize</a></span>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+                 boolean&nbsp;withTags)</code>&nbsp;</td>
+</tr>
+<tr id="i26" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#iscreate-java.io.InputStream-boolean-">iscreate</a></span>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true";
 title="class or interface in java.io">InputStream</a>&nbsp;in,
+        boolean&nbsp;withTags)</code>
+<div class="block">Create a KeyValue reading from the raw InputStream.</div>
+</td>
+</tr>
+<tr id="i27" class="rowColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#keyLength-org.apache.hadoop.hbase.Cell-">keyLength</a></span>(<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 id="i28" class="altColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#length-org.apache.hadoop.hbase.Cell-">length</a></span>(<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 id="i29" class="rowColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#length-short-byte-int-int-int-boolean-">length</a></span>(short&nbsp;rlen,
+      byte&nbsp;flen,
+      int&nbsp;qlen,
+      int&nbsp;vlen,
+      int&nbsp;tlen,
+      boolean&nbsp;withTags)</code>&nbsp;</td>
+</tr>
+<tr id="i30" class="altColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#lengthWithMvccVersion-org.apache.hadoop.hbase.KeyValue-boolean-">lengthWithMvccVersion</a></span>(<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 id="i31" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#nextShallowCopy-java.nio.ByteBuffer-boolean-boolean-">nextShallowCopy</a></span>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer</a>&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 id="i32" class="altColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#oswrite-org.apache.hadoop.hbase.Cell-java.io.OutputStream-boolean-">oswrite</a></span>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+       <a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream</a>&nbsp;out,
+       boolean&nbsp;withTags)</code>&nbsp;</td>
+</tr>
+<tr id="i33" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#previousKey-org.apache.hadoop.hbase.KeyValue-">previousKey</a></span>(<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 id="i34" 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><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#toNewKeyCell-org.apache.hadoop.hbase.Cell-">toNewKeyCell</a></span>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>
+<div class="block">Copies the key to a new KeyValue</div>
+</td>
+</tr>
+<tr id="i35" class="rowColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#totalLengthWithMvccVersion-java.lang.Iterable-boolean-">totalLengthWithMvccVersion</a></span>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true";
 title="class or interface in java.lang">Iterable</a>&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>
+<tr id="i36" class="altColor">
+<td class="colFirst"><code>static long</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#write-org.apache.hadoop.hbase.KeyValue-java.io.DataOutput-">write</a></span>(<a
 href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;kv,
+     <a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true";
 title="class or interface in java.io">DataOutput</a>&nbsp;out)</code>
+<div class="block">Write out a KeyValue in the manner in which we used to when 
KeyValue was a
+ Writable.</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&nbsp;java.lang.<a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object</a></h3>
+<code><a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--";
 title="class or interface in java.lang">clone</a>, <a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-";
 title="class or interface in java.lang">equals</a>, <a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--";
 title="class or interface in java.lang">finalize</a>, <a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--";
 title="class or interface in java.lang">getClass</a>, <a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--";
 title="class or interface in java.lang">hashCode</a>, <a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--";
 title="class or interface in java.lang">notify</a>, <a 
href="https://docs.oracle.com/javase/8/docs/api/ja
 va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in 
java.lang">notifyAll</a>, <a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--";
 title="class or interface in java.lang">toString</a>, <a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--";
 title="class or interface in java.lang">wait</a>, <a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-";
 title="class or interface in java.lang">wait</a>, <a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-";
 title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="KeyValueUtil--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>KeyValueUtil</h4>
+<pre>public&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.47">KeyValueUtil</a>()</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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.56">length</a>(<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="paramLabel">Parameters:</span></dt>
+<dd><code>cell</code> - </dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the length</dd>
+</dl>
+</li>
+</ul>
+<a name="length-short-byte-int-int-int-boolean-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>length</h4>
+<pre>public static&nbsp;int&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.61">length</a>(short&nbsp;rlen,
+                         byte&nbsp;flen,
+                         int&nbsp;qlen,
+                         int&nbsp;vlen,
+                         int&nbsp;tlen,
+                         boolean&nbsp;withTags)</pre>
+</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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.74">keyLength</a>(<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="paramLabel">Parameters:</span></dt>
+<dd><code>cell</code> - </dd>
+<dt><span class="returnLabel">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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.82">lengthWithMvccVersion</a>(<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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.90">totalLengthWithMvccVersion</a>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true";
 title="class or interface in java.lang">Iterable</a>&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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.102">copyToNewKeyValue</a>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</pre>
+<div class="block">copy the cell to create a new keyvalue</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="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer</a>&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.114">copyKeyToNewByteBuffer</a>(<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="paramLabel">Parameters:</span></dt>
+<dd><code>cell</code> - </dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the Bytebuffer containing the key part of the cell</dd>
+</dl>
+</li>
+</ul>
+<a name="toNewKeyCell-org.apache.hadoop.hbase.Cell-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>toNewKeyCell</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.126">toNewKeyCell</a>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</pre>
+<div class="block">Copies the key to a new KeyValue</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>cell</code> - </dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the KeyValue that consists only the key part of the incoming 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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.136">copyToNewByteArray</a>(<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:A-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>appendKeyTo</h4>
+<pre>public static&nbsp;int&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.143">appendKeyTo</a>(<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:A-int-boolean-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>appendToByteArray</h4>
+<pre>public static&nbsp;int&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.158">appendToByteArray</a>(<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,
+                                    boolean&nbsp;withTags)</pre>
+<div class="block">copy key and value</div>
+</li>
+</ul>
+<a 
name="appendTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-boolean-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>appendTo</h4>
+<pre>public static&nbsp;int&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.174">appendTo</a>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+                           <a 
href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer</a>&nbsp;buf,
+                           int&nbsp;offset,
+                           boolean&nbsp;withTags)</pre>
+<div class="block">Copy the Cell content into the passed buf in KeyValue 
serialization format.</div>
+</li>
+</ul>
+<a name="appendKeyTo-org.apache.hadoop.hbase.Cell-java.nio.ByteBuffer-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>appendKeyTo</h4>
+<pre>public static&nbsp;int&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.187">appendKeyTo</a>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+                              <a 
href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer</a>&nbsp;buf,
+                              int&nbsp;offset)</pre>
+</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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.198">appendToByteBuffer</a>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer</a>&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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.220">nextShallowCopy</a>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer</a>&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="paramLabel">Parameters:</span></dt>
+<dd><code>bb</code> - </dd>
+<dd><code>includesMvccVersion</code> - </dd>
+<dd><code>includesTags</code> - </dd>
+</dl>
+</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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.258">previousKey</a>(<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="paramLabel">Parameters:</span></dt>
+<dd><code>in</code> - </dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>previous key</dd>
+</dl>
+</li>
+</ul>
+<a name="createLastOnRow-byte:A-int-int-byte:A-int-int-byte:A-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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.289">createLastOnRow</a>(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. Should NEVER be returned to a 
client.</div>
+<dl>
+<dt><span class="paramLabel">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="returnLabel">Returns:</span></dt>
+<dd>Last possible key on passed row, family, qualifier.</dd>
+</dl>
+</li>
+</ul>
+<a name="createFirstOnRow-byte:A-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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.304">createFirstOnRow</a>(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="paramLabel">Parameters:</span></dt>
+<dd><code>row</code> - - row key (arbitrary byte array)</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>First possible KeyValue on passed <code>row</code></dd>
+</dl>
+</li>
+</ul>
+<a name="createLastOnRow-byte:A-">
+<!--   -->
+</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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.316">createLastOnRow</a>(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="paramLabel">Parameters:</span></dt>
+<dd><code>row</code> - row key</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Last possible KeyValue on passed <code>row</code></dd>
+</dl>
+</li>
+</ul>
+<a name="createFirstOnRow-byte:A-">
+<!--   -->
+</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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.328">createFirstOnRow</a>(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="paramLabel">Parameters:</span></dt>
+<dd><code>row</code> - - row key (arbitrary byte array)</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>First possible KeyValue on passed <code>row</code></dd>
+</dl>
+</li>
+</ul>
+<a name="createFirstOnRow-byte:A-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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.339">createFirstOnRow</a>(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="paramLabel">Parameters:</span></dt>
+<dd><code>row</code> - - row key (arbitrary byte array)</dd>
+<dd><code>ts</code> - - timestamp</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>First possible key on passed <code>row</code> and timestamp.</dd>
+</dl>
+</li>
+</ul>
+<a name="createFirstOnRow-byte:A-byte:A-byte:A-">
+<!--   -->
+</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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.353">createFirstOnRow</a>(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="paramLabel">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="returnLabel">Returns:</span></dt>
+<dd>First possible key on passed <code>row</code>, and column.</dd>
+</dl>
+</li>
+</ul>
+<a name="createFirstOnRow-byte:A-byte:A-byte:A-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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.365">createFirstOnRow</a>(byte[]&nbsp;row,
+                                        byte[]&nbsp;f,
+                                        byte[]&nbsp;q,
+                                        long&nbsp;ts)</pre>
+<dl>
+<dt><span class="paramLabel">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="returnLabel">Returns:</span></dt>
+<dd>First possible key on passed <code>row</code>, column and timestamp</dd>
+</dl>
+</li>
+</ul>
+<a name="createFirstOnRow-byte:A-int-int-byte:A-int-int-byte:A-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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.386">createFirstOnRow</a>(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="paramLabel">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="returnLabel">Returns:</span></dt>
+<dd>First possible key on passed Row, Family, Qualifier.</dd>
+</dl>
+</li>
+</ul>
+<a name="createFirstOnRow-byte:A-byte:A-byte:A-byte:A-">
+<!--   -->
+</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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.411">createFirstOnRow</a>(byte[]&nbsp;buffer,
+                                        byte[]&nbsp;row,
+                                        byte[]&nbsp;family,
+                                        byte[]&nbsp;qualifier)
+                                 throws <a 
href="https://docs.oracle.com/javase/8/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="paramLabel">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="returnLabel">Returns:</span></dt>
+<dd>First possible key on passed Row, Family, Qualifier.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="https://docs.oracle.com/javase/8/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:A-int-byte:A-int-int-byte:A-int-int-byte:A-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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.442">createFirstOnRow</a>(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="https://docs.oracle.com/javase/8/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="paramLabel">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="returnLabel">Returns:</span></dt>
+<dd>First possible key on passed Row, Family, Qualifier.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="https://docs.oracle.com/javase/8/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="ensureKeyValue-org.apache.hadoop.hbase.Cell-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>ensureKeyValue</h4>
+<pre><a 
href="https://docs.oracle.com/javase/8/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;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.475">ensureKeyValue</a>(<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="deprecatedLabel">Deprecated.</span>&nbsp;<span 
class="deprecationComment">without any replacement.</span></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>cell</code> - </dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd><code>cell</code> if it is an object of class <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> Note: Even if the cell is an
+         object of any of the subclass of <a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase"><code>KeyValue</code></a>, we will create a new
+         <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" 
title="class in org.apache.hadoop.hbase"><code>KeyValue</code></a> object 
wrapping same buffer. This API is used only with MR based tools
+         which expect the type to be exactly KeyValue. That is the reason for 
doing this way.</dd>
+</dl>
+</li>
+</ul>
+<a name="ensureKeyValues-java.util.List-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>ensureKeyValues</h4>
+<pre><a 
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true";
 title="class or interface in java.lang">@Deprecated</a>
+public static&nbsp;<a 
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List</a>&lt;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&gt;&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.492">ensureKeyValues</a>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List</a>&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="deprecatedLabel">Deprecated.</span>&nbsp;</div>
+</li>
+</ul>
+<a name="write-org.apache.hadoop.hbase.KeyValue-java.io.DataOutput-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>write</h4>
+<pre>public static&nbsp;long&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.511">write</a>(<a
 href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;kv,
+                         <a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true";
 title="class or interface in java.io">DataOutput</a>&nbsp;out)
+                  throws <a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></pre>
+<div class="block">Write out a KeyValue in the manner in which we used to when 
KeyValue was a
+ Writable.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>kv</code> - </dd>
+<dd><code>out</code> - </dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Length written on stream</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></code></dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#create-java.io.DataInput-"><code>for
 the inverse function</code></a></dd>
+</dl>
+</li>
+</ul>
+<a name="iscreate-java.io.InputStream-boolean-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>iscreate</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.531">iscreate</a>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true";
 title="class or interface in java.io">InputStream</a>&nbsp;in,
+                                boolean&nbsp;withTags)
+                         throws <a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></pre>
+<div class="block">Create a KeyValue reading from the raw InputStream. Named
+ <code>iscreate</code> so doesn't clash with <a 
href="../../../../org/apache/hadoop/hbase/KeyValueUtil.html#create-java.io.DataInput-"><code>create(DataInput)</code></a></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>in</code> - </dd>
+<dd><code>withTags</code> - whether the keyvalue should include tags are 
not</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Created KeyValue OR if we find a length of zero, we will return
+         null which can be useful marking a stream as done.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="createKeyValueFromKey-byte:A-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createKeyValueFromKey</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.559">createKeyValueFromKey</a>(byte[]&nbsp;b)</pre>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>b</code> - </dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A KeyValue made of a byte array that holds the key-only part.
+         Needed to convert hfile index members to KeyValues.</dd>
+</dl>
+</li>
+</ul>
+<a name="createKeyValueFromKey-java.nio.ByteBuffer-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createKeyValueFromKey</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.568">createKeyValueFromKey</a>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true";
 title="class or interface in java.nio">ByteBuffer</a>&nbsp;bb)</pre>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>bb</code> - </dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A KeyValue made of a byte buffer that holds the key-only part.
+         Needed to convert hfile index members to KeyValues.</dd>
+</dl>
+</li>
+</ul>
+<a name="createKeyValueFromKey-byte:A-int-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>createKeyValueFromKey</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.579">createKeyValueFromKey</a>(byte[]&nbsp;b,
+                                             int&nbsp;o,
+                                             int&nbsp;l)</pre>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>b</code> - </dd>
+<dd><code>o</code> - </dd>
+<dd><code>l</code> - </dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>A KeyValue made of a byte array that holds the key-only part.
+         Needed to convert hfile index members to KeyValues.</dd>
+</dl>
+</li>
+</ul>
+<a name="create-java.io.DataInput-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>create</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.596">create</a>(<a
 
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html?is-external=true";
 title="class or interface in java.io">DataInput</a>&nbsp;in)
+                       throws <a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>in</code> - Where to read bytes from. Creates a byte array to hold 
the
+          KeyValue backing bytes copied from the steam.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>KeyValue created by deserializing from <code>in</code> OR if we
+         find a length of zero, we will return null which can be useful
+         marking a stream as done.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="create-int-java.io.DataInput-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>create</h4>
+<pre>public static&nbsp;<a 
href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in 
org.apache.hadoop.hbase">KeyValue</a>&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.609">create</a>(int&nbsp;length,
+                              <a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInput.html?is-external=true";
 title="class or interface in java.io">DataInput</a>&nbsp;in)
+                       throws <a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></pre>
+<div class="block">Create a KeyValue reading <code>length</code> from 
<code>in</code></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>length</code> - </dd>
+<dd><code>in</code> - </dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>Created KeyValue OR if we find a length of zero, we will return
+         null which can be useful marking a stream as done.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="getSerializedSize-org.apache.hadoop.hbase.Cell-boolean-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSerializedSize</h4>
+<pre>public static&nbsp;int&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.624">getSerializedSize</a>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+                                    boolean&nbsp;withTags)</pre>
+</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;int&nbsp;<a 
href="../../../../src-html/org/apache/hadoop/hbase/KeyValueUtil.html#line.632">oswrite</a>(<a
 href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in 
org.apache.hadoop.hbase">Cell</a>&nbsp;cell,
+                          <a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true";
 title="class or interface in java.io">OutputStream</a>&nbsp;out,
+                          boolean&nbsp;withTags)
+                   throws <a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a 
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation 
links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/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="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../org/apache/hadoop/hbase/LocalHBaseCluster.html" 
title="class in org.apache.hadoop.hbase"><span 
class="typeNameLink">Next&nbsp;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&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;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&#x2013;2018 <a 
href="https://www.apache.org/";>The Apache Software Foundation</a>. All rights 
reserved.</small></p>
+</body>
+</html>

Reply via email to