You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by md...@apache.org on 2018/10/12 20:04:32 UTC

[07/52] [partial] hbase-site git commit: HBASE-21114 Include 2.1 Release Docs

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ec4814ee/2.1/apidocs/org/apache/hadoop/hbase/KeyValueUtil.html
----------------------------------------------------------------------
diff --git a/2.1/apidocs/org/apache/hadoop/hbase/KeyValueUtil.html b/2.1/apidocs/org/apache/hadoop/hbase/KeyValueUtil.html
new file mode 100644
index 0000000..a6cb4ed
--- /dev/null
+++ b/2.1/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="zh">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>KeyValueUtil (Apache HBase 2.1.0 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.1.0 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","所有方法"],1:["t1","静态方法"],8:["t4","具体方法"],32:["t6","已过时的方法"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>您的浏览器已禁用 JavaScript。</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="导航">
+<li><a href="../../../../overview-summary.html">概览</a></li>
+<li><a href="package-summary.html">程序包</a></li>
+<li class="navBarCell1Rev">类</li>
+<li><a href="class-use/KeyValueUtil.html">使用</a></li>
+<li><a href="package-tree.html">树</a></li>
+<li><a href="../../../../deprecated-list.html">已过时</a></li>
+<li><a href="../../../../index-all.html">索引</a></li>
+<li><a href="../../../../help-doc.html">帮助</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/hadoop/hbase/KeyValueTestUtil.html" title="org.apache.hadoop.hbase中的类"><span class="typeNameLink">上一个类</span></a></li>
+<li><a href="../../../../org/apache/hadoop/hbase/LocalHBaseCluster.html" title="org.apache.hadoop.hbase中的类"><span class="typeNameLink">下一个类</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/hadoop/hbase/KeyValueUtil.html" target="_top">框架</a></li>
+<li><a href="KeyValueUtil.html" target="_top">无框架</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">所有类</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>概要:&nbsp;</li>
+<li>嵌套&nbsp;|&nbsp;</li>
+<li>字段&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">构造器</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">方法</a></li>
+</ul>
+<ul class="subNavList">
+<li>详细资料:&nbsp;</li>
+<li>字段&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">构造器</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">方法</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="类 KeyValueUtil" class="title">类 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="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="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>构造器概要</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
+<caption><span>构造器</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">构造器和说明</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>方法概要</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
+<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">已过时的方法</a></span><span class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">限定符和类型</th>
+<th class="colLast" scope="col">方法和说明</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="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="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="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="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="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="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="java.nio中的类或接口">ByteBuffer</a>&nbsp;bb,
+                  <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="org.apache.hadoop.hbase中的接口">Cell</a>&nbsp;cell)</code>
+<div class="block"><span class="deprecatedLabel">已过时。</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="java.util中的类或接口">List</a>&lt;<a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="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="java.util中的类或接口">List</a>&lt;<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="org.apache.hadoop.hbase中的接口">Cell</a>&gt;&nbsp;cells)</code>
+<div class="block"><span class="deprecatedLabel">已过时。</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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="java.lang中的类或接口">Iterable</a>&lt;? extends <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="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="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="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>从类继承的方法&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="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="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="java.lang中的类或接口">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="java.lang中的类或接口">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="java.lang中的类或接口">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="java.lang中的类或接口">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="java.lang中的类或接口">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-e
 xternal=true#notifyAll--" title="java.lang中的类或接口">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="java.lang中的类或接口">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="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="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>构造器详细资料</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>方法详细资料</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="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="org.apache.hadoop.hbase中的类"><code>KeyValue</code></a></div>
+<dl>
+<dt><span class="paramLabel">参数:</span></dt>
+<dd><code>cell</code> - </dd>
+<dt><span class="returnLabel">返回:</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="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="org.apache.hadoop.hbase中的类"><code>KeyValue</code></a>. Key includes rowkey, family, qualifier, timestamp and type.</div>
+<dl>
+<dt><span class="paramLabel">参数:</span></dt>
+<dd><code>cell</code> - </dd>
+<dt><span class="returnLabel">返回:</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="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="java.lang中的类或接口">Iterable</a>&lt;? extends <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="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="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="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="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="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">参数:</span></dt>
+<dd><code>cell</code> - </dd>
+<dt><span class="returnLabel">返回:</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="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="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">参数:</span></dt>
+<dd><code>cell</code> - </dd>
+<dt><span class="returnLabel">返回:</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="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="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="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="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="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="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="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="java.nio中的类或接口">ByteBuffer</a>&nbsp;bb,
+                                      <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="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="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="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">参数:</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="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="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">参数:</span></dt>
+<dd><code>in</code> - </dd>
+<dt><span class="returnLabel">返回:</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="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">参数:</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">返回:</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="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">参数:</span></dt>
+<dd><code>row</code> - - row key (arbitrary byte array)</dd>
+<dt><span class="returnLabel">返回:</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="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">参数:</span></dt>
+<dd><code>row</code> - row key</dd>
+<dt><span class="returnLabel">返回:</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="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">参数:</span></dt>
+<dd><code>row</code> - - row key (arbitrary byte array)</dd>
+<dt><span class="returnLabel">返回:</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="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">参数:</span></dt>
+<dd><code>row</code> - - row key (arbitrary byte array)</dd>
+<dd><code>ts</code> - - timestamp</dd>
+<dt><span class="returnLabel">返回:</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="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">参数:</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">返回:</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="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">参数:</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">返回:</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="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">参数:</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">返回:</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="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="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">参数:</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">返回:</span></dt>
+<dd>First possible key on passed Row, Family, Qualifier.</dd>
+<dt><span class="throwsLabel">抛出:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="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="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="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">参数:</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">返回:</span></dt>
+<dd>First possible key on passed Row, Family, Qualifier.</dd>
+<dt><span class="throwsLabel">抛出:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="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="java.lang中的类或接口">@Deprecated</a>
+public static&nbsp;<a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="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="org.apache.hadoop.hbase中的接口">Cell</a>&nbsp;cell)</pre>
+<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;<span class="deprecationComment">without any replacement.</span></div>
+<dl>
+<dt><span class="paramLabel">参数:</span></dt>
+<dd><code>cell</code> - </dd>
+<dt><span class="returnLabel">返回:</span></dt>
+<dd><code>cell</code> if it is an object of class <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="org.apache.hadoop.hbase中的类"><code>KeyValue</code></a> else we will return a
+         new <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="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="org.apache.hadoop.hbase中的类"><code>KeyValue</code></a>, we will create a new
+         <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="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="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="java.util中的类或接口">List</a>&lt;<a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="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="java.util中的类或接口">List</a>&lt;<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="org.apache.hadoop.hbase中的接口">Cell</a>&gt;&nbsp;cells)</pre>
+<div class="block"><span class="deprecatedLabel">已过时。</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="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="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="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">参数:</span></dt>
+<dd><code>kv</code> - </dd>
+<dd><code>out</code> - </dd>
+<dt><span class="returnLabel">返回:</span></dt>
+<dd>Length written on stream</dd>
+<dt><span class="throwsLabel">抛出:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="java.io中的类或接口">IOException</a></code></dd>
+<dt><span class="seeLabel">另请参阅:</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="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="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="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">参数:</span></dt>
+<dd><code>in</code> - </dd>
+<dd><code>withTags</code> - whether the keyvalue should include tags are not</dd>
+<dt><span class="returnLabel">返回:</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">抛出:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="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="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">参数:</span></dt>
+<dd><code>b</code> - </dd>
+<dt><span class="returnLabel">返回:</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="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="java.nio中的类或接口">ByteBuffer</a>&nbsp;bb)</pre>
+<dl>
+<dt><span class="paramLabel">参数:</span></dt>
+<dd><code>bb</code> - </dd>
+<dt><span class="returnLabel">返回:</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="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">参数:</span></dt>
+<dd><code>b</code> - </dd>
+<dd><code>o</code> - </dd>
+<dd><code>l</code> - </dd>
+<dt><span class="returnLabel">返回:</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="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="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="java.io中的类或接口">IOException</a></pre>
+<dl>
+<dt><span class="paramLabel">参数:</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">返回:</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">抛出:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="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="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="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="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">参数:</span></dt>
+<dd><code>length</code> - </dd>
+<dd><code>in</code> - </dd>
+<dt><span class="returnLabel">返回:</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">抛出:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="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="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="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="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="java.io中的类或接口">IOException</a></pre>
+<dl>
+<dt><span class="throwsLabel">抛出:</span></dt>
+<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="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="跳过导航链接">跳过导航链接</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="导航">
+<li><a href="../../../../overview-summary.html">概览</a></li>
+<li><a href="package-summary.html">程序包</a></li>
+<li class="navBarCell1Rev">类</li>
+<li><a href="class-use/KeyValueUtil.html">使用</a></li>
+<li><a href="package-tree.html">树</a></li>
+<li><a href="../../../../deprecated-list.html">已过时</a></li>
+<li><a href="../../../../index-all.html">索引</a></li>
+<li><a href="../../../../help-doc.html">帮助</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../org/apache/hadoop/hbase/KeyValueTestUtil.html" title="org.apache.hadoop.hbase中的类"><span class="typeNameLink">上一个类</span></a></li>
+<li><a href="../../../../org/apache/hadoop/hbase/LocalHBaseCluster.html" title="org.apache.hadoop.hbase中的类"><span class="typeNameLink">下一个类</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/hadoop/hbase/KeyValueUtil.html" target="_top">框架</a></li>
+<li><a href="KeyValueUtil.html" target="_top">无框架</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">所有类</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>概要:&nbsp;</li>
+<li>嵌套&nbsp;|&nbsp;</li>
+<li>字段&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">构造器</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">方法</a></li>
+</ul>
+<ul class="subNavList">
+<li>详细资料:&nbsp;</li>
+<li>字段&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">构造器</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">方法</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>