http://git-wip-us.apache.org/repos/asf/hbase-site/blob/45a663dd/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html new file mode 100644 index 0000000..d18af7a --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html @@ -0,0 +1,509 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>RowIndexCodecV1 (Apache HBase 2.0.0-SNAPSHOT API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="RowIndexCodecV1 (Apache HBase 2.0.0-SNAPSHOT API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RowIndexCodecV1.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/io/encoding/PrefixKeyDeltaEncoder.html" title="class in org.apache.hadoop.hbase.io.encoding"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.RowIndexEncodingState.html" title="class in org.apache.hadoop.hbase.io.encoding"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html" target="_top">Frames</a></li> +<li><a href="RowIndexCodecV1.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested_class_summary">Nested</a> | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.hadoop.hbase.io.encoding</div> +<h2 title="Class RowIndexCodecV1" class="title">Class RowIndexCodecV1</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.hadoop.hbase.io.encoding.RowIndexCodecV1</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder</a></dd> +</dl> +<hr> +<br> +<pre><a href="../../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> +public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#line.54">RowIndexCodecV1</a> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> +implements <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder</a></pre> +<div class="block">Store cells following every row's start offset, so we can binary search to a row's cells. + + Format: + flat cells + integer: number of rows + integer: row0's offset + integer: row1's offset + .... + integer: dataSize</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested_class_summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static class </code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.RowIndexEncodingState.html" title="class in org.apache.hadoop.hbase.io.encoding">RowIndexCodecV1.RowIndexEncodingState</a></strong></code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_org.apache.hadoop.hbase.io.encoding.DataBlockEncoder"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.io.encoding.<a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder</a></h3> +<code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.EncodedSeeker.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder.EncodedSeeker</a></code></li> +</ul> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#RowIndexCodecV1()">RowIndexCodecV1</a></strong>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#createFirstKeyCell(java.nio.ByteBuffer,%20int)">createFirstKeyCell</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> key, + int keyLength)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.EncodedSeeker.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder.EncodedSeeker</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#createSeeker(org.apache.hadoop.hbase.CellComparator,%20org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext)">createSeeker</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/CellComparator.html" title="class in org.apache.hadoop.hbase">CellComparator</a> comparator, + <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockDecodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockDecodingContext</a> decodingCtx)</code> +<div class="block">Create a HFileBlock seeker which find KeyValues within a block.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#decodeKeyValues(java.io.DataInputStream,%20org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext)">decodeKeyValues</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</a> source, + <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockDecodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockDecodingContext</a> decodingCtx)</code> +<div class="block">Decode.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#encode(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext,%20java.io.DataOutputStream)">encode</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockEncodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockEncodingContext</a> encodingCtx, + <a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out)</code> +<div class="block">Encodes a KeyValue.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#endBlockEncoding(org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext,%20java.io.DataOutputStream,%20byte[])">endBlockEncoding</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockEncodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockEncodingContext</a> encodingCtx, + <a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, + byte[] uncompressedBytesWithHeader)</code> +<div class="block">Ends encoding for a block of KeyValues.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#getFirstKeyCellInBlock(org.apache.hadoop.hbase.nio.ByteBuff)">getFirstKeyCellInBlock</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/nio/ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> block)</code> +<div class="block">Return first key in block as a cell.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockDecodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockDecodingContext</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#newDataBlockDecodingContext(org.apache.hadoop.hbase.io.hfile.HFileContext)">newDataBlockDecodingContext</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileContext.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileContext</a> meta)</code> +<div class="block">Creates an encoder specific decoding context, which will prepare the data + before actual decoding</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockEncodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockEncodingContext</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#newDataBlockEncodingContext(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding,%20byte[],%20org.apache.hadoop.hbase.io.hfile.HFileContext)">newDataBlockEncodingContext</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoding.html" title="enum in org.apache.hadoop.hbase.io.encoding">DataBlockEncoding</a> encoding, + byte[] header, + <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileContext.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileContext</a> meta)</code> +<div class="block">Creates a encoder specific encoding context</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#startBlockEncoding(org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext,%20java.io.DataOutputStream)">startBlockEncoding</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockEncodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockEncodingContext</a> blkEncodingCtx, + <a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out)</code> +<div class="block">Starts encoding for a block of KeyValues.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="RowIndexCodecV1()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>RowIndexCodecV1</h4> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#line.54">RowIndexCodecV1</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="startBlockEncoding(org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext, java.io.DataOutputStream)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>startBlockEncoding</h4> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#line.61">startBlockEncoding</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockEncodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockEncodingContext</a> blkEncodingCtx, + <a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#startBlockEncoding(org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext,%20java.io.DataOutputStream)">DataBlockEncoder</a></code></strong></div> +<div class="block">Starts encoding for a block of KeyValues. Call + <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#endBlockEncoding(org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext,%20java.io.DataOutputStream,%20byte[])"><code>DataBlockEncoder.endBlockEncoding(HFileBlockEncodingContext, DataOutputStream, byte[])</code></a> to finish + encoding of a block.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#startBlockEncoding(org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext,%20java.io.DataOutputStream)">startBlockEncoding</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder</a></code></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="encode(org.apache.hadoop.hbase.Cell, org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext, java.io.DataOutputStream)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>encode</h4> +<pre>public int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#line.79">encode</a>(<a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell, + <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockEncodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockEncodingContext</a> encodingCtx, + <a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#encode(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext,%20java.io.DataOutputStream)">DataBlockEncoder</a></code></strong></div> +<div class="block">Encodes a KeyValue.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#encode(org.apache.hadoop.hbase.Cell,%20org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext,%20java.io.DataOutputStream)">encode</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder</a></code></dd> +<dt><span class="strong">Returns:</span></dt><dd>unencoded kv size written</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="endBlockEncoding(org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext, java.io.DataOutputStream, byte[])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>endBlockEncoding</h4> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#line.88">endBlockEncoding</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockEncodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockEncodingContext</a> encodingCtx, + <a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, + byte[] uncompressedBytesWithHeader) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#endBlockEncoding(org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext,%20java.io.DataOutputStream,%20byte[])">DataBlockEncoder</a></code></strong></div> +<div class="block">Ends encoding for a block of KeyValues. Gives a chance for the encoder to do the finishing + stuff for the encoded block. It must be called at the end of block encoding.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#endBlockEncoding(org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext,%20java.io.DataOutputStream,%20byte[])">endBlockEncoding</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder</a></code></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="decodeKeyValues(java.io.DataInputStream, org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>decodeKeyValues</h4> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#line.103">decodeKeyValues</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</a> source, + <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockDecodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockDecodingContext</a> decodingCtx) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#decodeKeyValues(java.io.DataInputStream,%20org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext)">DataBlockEncoder</a></code></strong></div> +<div class="block">Decode.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#decodeKeyValues(java.io.DataInputStream,%20org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext)">decodeKeyValues</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - Compressed stream of KeyValues.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Uncompressed block of KeyValues.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If there is an error in source.</dd></dl> +</li> +</ul> +<a name="newDataBlockEncodingContext(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding, byte[], org.apache.hadoop.hbase.io.hfile.HFileContext)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>newDataBlockEncodingContext</h4> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockEncodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockEncodingContext</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#line.142">newDataBlockEncodingContext</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoding.html" title="enum in org.apache.hadoop.hbase.io.encoding">DataBlockEncoding</a> encoding, + byte[] header, + <a href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileContext.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileContext</a> meta)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#newDataBlockEncodingContext(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding,%20byte[],%20org.apache.hadoop.hbase.io.hfile.HFileContext)">DataBlockEncoder</a></code></strong></div> +<div class="block">Creates a encoder specific encoding context</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#newDataBlockEncodingContext(org.apache.hadoop.hbase.io.encoding.DataBlockEncoding,%20byte[],%20org.apache.hadoop.hbase.io.hfile.HFileContext)">newDataBlockEncodingContext</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>encoding</code> - encoding strategy used</dd><dd><code>header</code> - header bytes to be written, put a dummy header here if the header + is unknown</dd><dd><code>meta</code> - HFile meta data</dd> +<dt><span class="strong">Returns:</span></dt><dd>a newly created encoding context</dd></dl> +</li> +</ul> +<a name="newDataBlockDecodingContext(org.apache.hadoop.hbase.io.hfile.HFileContext)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>newDataBlockDecodingContext</h4> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockDecodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockDecodingContext</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#line.148">newDataBlockDecodingContext</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileContext.html" title="class in org.apache.hadoop.hbase.io.hfile">HFileContext</a> meta)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#newDataBlockDecodingContext(org.apache.hadoop.hbase.io.hfile.HFileContext)">DataBlockEncoder</a></code></strong></div> +<div class="block">Creates an encoder specific decoding context, which will prepare the data + before actual decoding</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#newDataBlockDecodingContext(org.apache.hadoop.hbase.io.hfile.HFileContext)">newDataBlockDecodingContext</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>meta</code> - HFile meta data</dd> +<dt><span class="strong">Returns:</span></dt><dd>a newly created decoding context</dd></dl> +</li> +</ul> +<a name="getFirstKeyCellInBlock(org.apache.hadoop.hbase.nio.ByteBuff)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFirstKeyCellInBlock</h4> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#line.153">getFirstKeyCellInBlock</a>(<a href="../../../../../../org/apache/hadoop/hbase/nio/ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> block)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#getFirstKeyCellInBlock(org.apache.hadoop.hbase.nio.ByteBuff)">DataBlockEncoder</a></code></strong></div> +<div class="block">Return first key in block as a cell. Useful for indexing. Typically does not make + a deep copy but returns a buffer wrapping a segment of the actual block's + byte array. This is because the first key in block is usually stored + unencoded.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#getFirstKeyCellInBlock(org.apache.hadoop.hbase.nio.ByteBuff)">getFirstKeyCellInBlock</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>block</code> - encoded block we want index, the position will not change</dd> +<dt><span class="strong">Returns:</span></dt><dd>First key in block as a cell.</dd></dl> +</li> +</ul> +<a name="createSeeker(org.apache.hadoop.hbase.CellComparator, org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createSeeker</h4> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.EncodedSeeker.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder.EncodedSeeker</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#line.163">createSeeker</a>(<a href="../../../../../../org/apache/hadoop/hbase/CellComparator.html" title="class in org.apache.hadoop.hbase">CellComparator</a> comparator, + <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockDecodingContext.html" title="interface in org.apache.hadoop.hbase.io.encoding">HFileBlockDecodingContext</a> decodingCtx)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#createSeeker(org.apache.hadoop.hbase.CellComparator,%20org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext)">DataBlockEncoder</a></code></strong></div> +<div class="block">Create a HFileBlock seeker which find KeyValues within a block.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html#createSeeker(org.apache.hadoop.hbase.CellComparator,%20org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext)">createSeeker</a></code> in interface <code><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html" title="interface in org.apache.hadoop.hbase.io.encoding">DataBlockEncoder</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>comparator</code> - what kind of comparison should be used</dd> +<dt><span class="strong">Returns:</span></dt><dd>A newly created seeker.</dd></dl> +</li> +</ul> +<a name="createFirstKeyCell(java.nio.ByteBuffer, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>createFirstKeyCell</h4> +<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html#line.168">createFirstKeyCell</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> key, + int keyLength)</pre> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RowIndexCodecV1.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/io/encoding/PrefixKeyDeltaEncoder.html" title="class in org.apache.hadoop.hbase.io.encoding"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.RowIndexEncodingState.html" title="class in org.apache.hadoop.hbase.io.encoding"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/io/encoding/RowIndexCodecV1.html" target="_top">Frames</a></li> +<li><a href="RowIndexCodecV1.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested_class_summary">Nested</a> | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2007–2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/45a663dd/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html new file mode 100644 index 0000000..6bbde65 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html @@ -0,0 +1,398 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>RowIndexEncoderV1 (Apache HBase 2.0.0-SNAPSHOT API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="RowIndexEncoderV1 (Apache HBase 2.0.0-SNAPSHOT API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RowIndexEncoderV1.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/io/encoding/RowIndexCodecV1.RowIndexEncodingState.html" title="class in org.apache.hadoop.hbase.io.encoding"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.html" title="class in org.apache.hadoop.hbase.io.encoding"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html" target="_top">Frames</a></li> +<li><a href="RowIndexEncoderV1.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.hadoop.hbase.io.encoding</div> +<h2 title="Class RowIndexEncoderV1" class="title">Class RowIndexEncoderV1</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.hadoop.hbase.io.encoding.RowIndexEncoderV1</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre><a href="../../../../../../org/apache/hadoop/hbase/classification/InterfaceAudience.Private.html" title="annotation in org.apache.hadoop.hbase.classification">@InterfaceAudience.Private</a> +public class <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#line.28">RowIndexEncoderV1</a> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockDefaultEncodingContext.html" title="class in org.apache.hadoop.hbase.io.encoding">HFileBlockDefaultEncodingContext</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#encodingCtx">encodingCtx</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#lastCell">lastCell</a></strong></code> +<div class="block">The Cell previously appended.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private static org.apache.commons.logging.Log</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#LOG">LOG</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private <a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#out">out</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/io/ByteArrayOutputStream.html" title="class in org.apache.hadoop.hbase.io">ByteArrayOutputStream</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#rowsOffsetBAOS">rowsOffsetBAOS</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#startOffset">startOffset</a></strong></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#RowIndexEncoderV1(java.io.DataOutputStream,%20org.apache.hadoop.hbase.io.encoding.HFileBlockDefaultEncodingContext)">RowIndexEncoderV1</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, + <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockDefaultEncodingContext.html" title="class in org.apache.hadoop.hbase.io.encoding">HFileBlockDefaultEncodingContext</a> encodingCtx)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#checkRow(org.apache.hadoop.hbase.Cell)">checkRow</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#flush()">flush</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#write(org.apache.hadoop.hbase.Cell)">write</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="LOG"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>LOG</h4> +<pre>private static final org.apache.commons.logging.Log <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#line.29">LOG</a></pre> +</li> +</ul> +<a name="lastCell"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>lastCell</h4> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#line.32">lastCell</a></pre> +<div class="block">The Cell previously appended.</div> +</li> +</ul> +<a name="out"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>out</h4> +<pre>private <a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#line.34">out</a></pre> +</li> +</ul> +<a name="encodingCtx"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>encodingCtx</h4> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockDefaultEncodingContext.html" title="class in org.apache.hadoop.hbase.io.encoding">HFileBlockDefaultEncodingContext</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#line.35">encodingCtx</a></pre> +</li> +</ul> +<a name="startOffset"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>startOffset</h4> +<pre>private int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#line.36">startOffset</a></pre> +</li> +</ul> +<a name="rowsOffsetBAOS"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>rowsOffsetBAOS</h4> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/io/ByteArrayOutputStream.html" title="class in org.apache.hadoop.hbase.io">ByteArrayOutputStream</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#line.37">rowsOffsetBAOS</a></pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="RowIndexEncoderV1(java.io.DataOutputStream, org.apache.hadoop.hbase.io.encoding.HFileBlockDefaultEncodingContext)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>RowIndexEncoderV1</h4> +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#line.40">RowIndexEncoderV1</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutputStream.html?is-external=true" title="class or interface in java.io">DataOutputStream</a> out, + <a href="../../../../../../org/apache/hadoop/hbase/io/encoding/HFileBlockDefaultEncodingContext.html" title="class in org.apache.hadoop.hbase.io.encoding">HFileBlockDefaultEncodingContext</a> encodingCtx)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="write(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>write</h4> +<pre>public int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#line.45">write</a>(<a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="checkRow(org.apache.hadoop.hbase.Cell)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>checkRow</h4> +<pre>protected boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#line.79">checkRow</a>(<a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> cell) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="flush()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>flush</h4> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html#line.96">flush</a>() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RowIndexEncoderV1.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/io/encoding/RowIndexCodecV1.RowIndexEncodingState.html" title="class in org.apache.hadoop.hbase.io.encoding"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.html" title="class in org.apache.hadoop.hbase.io.encoding"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.html" target="_top">Frames</a></li> +<li><a href="RowIndexEncoderV1.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </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 © 2007–2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/45a663dd/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html new file mode 100644 index 0000000..09f2f11 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html @@ -0,0 +1,520 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>RowIndexSeekerV1.SeekerState (Apache HBase 2.0.0-SNAPSHOT API)</title> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="RowIndexSeekerV1.SeekerState (Apache HBase 2.0.0-SNAPSHOT API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RowIndexSeekerV1.SeekerState.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/io/encoding/RowIndexSeekerV1.html" title="class in org.apache.hadoop.hbase.io.encoding"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html" target="_top">Frames</a></li> +<li><a href="RowIndexSeekerV1.SeekerState.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.hadoop.hbase.io.encoding</div> +<h2 title="Class RowIndexSeekerV1.SeekerState" class="title">Class RowIndexSeekerV1.SeekerState</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.hadoop.hbase.io.encoding.RowIndexSeekerV1.SeekerState</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.html" title="class in org.apache.hadoop.hbase.io.encoding">RowIndexSeekerV1</a></dd> +</dl> +<hr> +<br> +<pre>private class <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.html#line.311">RowIndexSeekerV1.SeekerState</a> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="../../../../../../org/apache/hadoop/hbase/nio/ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#currentBuffer">currentBuffer</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>private <a href="../../../../../../org/apache/hadoop/hbase/ByteBufferedKeyOnlyKeyValue.html" title="class in org.apache.hadoop.hbase">ByteBufferedKeyOnlyKeyValue</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#currentKey">currentKey</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#KEY_VALUE_LEN_SIZE">KEY_VALUE_LEN_SIZE</a></strong></code> +<div class="block">The size of a (key length, value length) tuple that prefixes each entry + in a data block.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#keyBuffer">keyBuffer</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#keyLength">keyLength</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#memstoreTS">memstoreTS</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#nextKvOffset">nextKvOffset</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#startOffset">startOffset</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#tagsLength">tagsLength</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#tagsOffset">tagsOffset</a></strong></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#valueLength">valueLength</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#valueOffset">valueOffset</a></strong></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier</th> +<th class="colLast" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>private </code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#RowIndexSeekerV1.SeekerState()">RowIndexSeekerV1.SeekerState</a></strong>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#copyFromNext(org.apache.hadoop.hbase.io.encoding.RowIndexSeekerV1.SeekerState)">copyFromNext</a></strong>(<a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html" title="class in org.apache.hadoop.hbase.io.encoding">RowIndexSeekerV1.SeekerState</a> nextState)</code> +<div class="block">Copy the state from the next one into this instance (the previous state placeholder).</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#getCellBufSize()">getCellBufSize</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected void</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#invalidate()">invalidate</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#isValid()">isValid</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#toCell()">toCell</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#toString()">toString</a></strong>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="KEY_VALUE_LEN_SIZE"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>KEY_VALUE_LEN_SIZE</h4> +<pre>public static final int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.316">KEY_VALUE_LEN_SIZE</a></pre> +<div class="block">The size of a (key length, value length) tuple that prefixes each entry + in a data block.</div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.hadoop.hbase.io.encoding.RowIndexSeekerV1.SeekerState.KEY_VALUE_LEN_SIZE">Constant Field Values</a></dd></dl> +</li> +</ul> +<a name="currentBuffer"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>currentBuffer</h4> +<pre>protected <a href="../../../../../../org/apache/hadoop/hbase/nio/ByteBuff.html" title="class in org.apache.hadoop.hbase.nio">ByteBuff</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.318">currentBuffer</a></pre> +</li> +</ul> +<a name="startOffset"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>startOffset</h4> +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.319">startOffset</a></pre> +</li> +</ul> +<a name="valueOffset"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>valueOffset</h4> +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.320">valueOffset</a></pre> +</li> +</ul> +<a name="keyLength"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>keyLength</h4> +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.321">keyLength</a></pre> +</li> +</ul> +<a name="valueLength"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>valueLength</h4> +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.322">valueLength</a></pre> +</li> +</ul> +<a name="tagsLength"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tagsLength</h4> +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.323">tagsLength</a></pre> +</li> +</ul> +<a name="tagsOffset"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>tagsOffset</h4> +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.324">tagsOffset</a></pre> +</li> +</ul> +<a name="keyBuffer"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>keyBuffer</h4> +<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.326">keyBuffer</a></pre> +</li> +</ul> +<a name="memstoreTS"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>memstoreTS</h4> +<pre>protected long <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.327">memstoreTS</a></pre> +</li> +</ul> +<a name="nextKvOffset"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>nextKvOffset</h4> +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.328">nextKvOffset</a></pre> +</li> +</ul> +<a name="currentKey"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>currentKey</h4> +<pre>private <a href="../../../../../../org/apache/hadoop/hbase/ByteBufferedKeyOnlyKeyValue.html" title="class in org.apache.hadoop.hbase">ByteBufferedKeyOnlyKeyValue</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.330">currentKey</a></pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="RowIndexSeekerV1.SeekerState()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>RowIndexSeekerV1.SeekerState</h4> +<pre>private <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.311">RowIndexSeekerV1.SeekerState</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="isValid()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isValid</h4> +<pre>protected boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.332">isValid</a>()</pre> +</li> +</ul> +<a name="invalidate()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>invalidate</h4> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.336">invalidate</a>()</pre> +</li> +</ul> +<a name="copyFromNext(org.apache.hadoop.hbase.io.encoding.RowIndexSeekerV1.SeekerState)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>copyFromNext</h4> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.346">copyFromNext</a>(<a href="../../../../../../org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html" title="class in org.apache.hadoop.hbase.io.encoding">RowIndexSeekerV1.SeekerState</a> nextState)</pre> +<div class="block">Copy the state from the next one into this instance (the previous state placeholder). Used to + save the previous state when we are advancing the seeker to the next key/value.</div> +</li> +</ul> +<a name="toString()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toString</h4> +<pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.364">toString</a>()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +<a name="getCellBufSize()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCellBufSize</h4> +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.368">getCellBufSize</a>()</pre> +</li> +</ul> +<a name="toCell()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toCell</h4> +<pre>public <a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html#line.376">toCell</a>()</pre> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RowIndexSeekerV1.SeekerState.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/io/encoding/RowIndexSeekerV1.html" title="class in org.apache.hadoop.hbase.io.encoding"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.SeekerState.html" target="_top">Frames</a></li> +<li><a href="RowIndexSeekerV1.SeekerState.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </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 © 2007–2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>