http://git-wip-us.apache.org/repos/asf/hbase-site/blob/1241ee85/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html
b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html
index 8386b16..caa05f5 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html
@@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab";
</dl>
<hr>
<br>
-<pre>static class <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.html#line.831">HFileBlock.Writer</a>
+<pre>static class <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.html#line.829">HFileBlock.Writer</a>
extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a></pre>
<div class="block">Unified version 2 <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFile.html"
title="class in org.apache.hadoop.hbase.io.hfile"><code>HFile</code></a> block
writer. The intended usage pattern
is as follows:
@@ -459,7 +459,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>state</h4>
-<pre>private <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html"
title="enum in org.apache.hadoop.hbase.io.hfile">HFileBlock.Writer.State</a>
<a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.839">state</a></pre>
+<pre>private <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html"
title="enum in org.apache.hadoop.hbase.io.hfile">HFileBlock.Writer.State</a>
<a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.837">state</a></pre>
<div class="block">Writer state. Used to ensure the correct usage
protocol.</div>
</li>
</ul>
@@ -469,7 +469,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>dataBlockEncoder</h4>
-<pre>private final <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileDataBlockEncoder.html"
title="interface in
org.apache.hadoop.hbase.io.hfile">HFileDataBlockEncoder</a> <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.842">dataBlockEncoder</a></pre>
+<pre>private final <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileDataBlockEncoder.html"
title="interface in
org.apache.hadoop.hbase.io.hfile">HFileDataBlockEncoder</a> <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.840">dataBlockEncoder</a></pre>
<div class="block">Data block encoder used for data blocks</div>
</li>
</ul>
@@ -479,7 +479,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>dataBlockEncodingCtx</h4>
-<pre>private <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/hfile/HFileBlock.Writer.html#line.844">dataBlockEncodingCtx</a></pre>
+<pre>private <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/hfile/HFileBlock.Writer.html#line.842">dataBlockEncodingCtx</a></pre>
</li>
</ul>
<a name="defaultBlockEncodingCtx">
@@ -488,7 +488,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>defaultBlockEncodingCtx</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/hfile/HFileBlock.Writer.html#line.847">defaultBlockEncodingCtx</a></pre>
+<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/hfile/HFileBlock.Writer.html#line.845">defaultBlockEncodingCtx</a></pre>
<div class="block">block encoding context for non-data blocks</div>
</li>
</ul>
@@ -498,7 +498,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>baosInMemory</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/hfile/HFileBlock.Writer.html#line.855">baosInMemory</a></pre>
+<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/hfile/HFileBlock.Writer.html#line.853">baosInMemory</a></pre>
<div class="block">The stream we use to accumulate data into a block in an
uncompressed format.
We reset this stream at the end of each block and reuse it. The
header is written as the first <a
href="../../../../../../org/apache/hadoop/hbase/HConstants.html#HFILEBLOCK_HEADER_SIZE"><code>HConstants.HFILEBLOCK_HEADER_SIZE</code></a>
bytes into this
@@ -511,7 +511,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>blockType</h4>
-<pre>private <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html"
title="enum in org.apache.hadoop.hbase.io.hfile">BlockType</a> <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.862">blockType</a></pre>
+<pre>private <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html"
title="enum in org.apache.hadoop.hbase.io.hfile">BlockType</a> <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.860">blockType</a></pre>
<div class="block">Current block type. Set in <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#startWriting-org.apache.hadoop.hbase.io.hfile.BlockType-"><code>startWriting(BlockType)</code></a>.
Could be
changed in <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#finishBlock--"><code>finishBlock()</code></a>
from <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html#DATA"><code>BlockType.DATA</code></a>
to <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html#ENCODED_DATA"><code>BlockType.ENCODED_DATA</code></a>.</div>
@@ -523,7 +523,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>userDataStream</h4>
-<pre>private <a
href="http://docs.oracle.com/javase/8/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/hfile/HFileBlock.Writer.html#line.868">userDataStream</a></pre>
+<pre>private <a
href="http://docs.oracle.com/javase/8/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/hfile/HFileBlock.Writer.html#line.866">userDataStream</a></pre>
<div class="block">A stream that we write uncompressed bytes to, which
compresses them and
writes them to <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#baosInMemory"><code>baosInMemory</code></a>.</div>
</li>
@@ -534,7 +534,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>unencodedDataSizeWritten</h4>
-<pre>private int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.872">unencodedDataSizeWritten</a></pre>
+<pre>private int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.870">unencodedDataSizeWritten</a></pre>
</li>
</ul>
<a name="encodedDataSizeWritten">
@@ -543,7 +543,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>encodedDataSizeWritten</h4>
-<pre>private int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.876">encodedDataSizeWritten</a></pre>
+<pre>private int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.874">encodedDataSizeWritten</a></pre>
</li>
</ul>
<a name="onDiskBlockBytesWithHeader">
@@ -552,7 +552,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>onDiskBlockBytesWithHeader</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/hfile/HFileBlock.Writer.html#line.883">onDiskBlockBytesWithHeader</a></pre>
+<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/hfile/HFileBlock.Writer.html#line.881">onDiskBlockBytesWithHeader</a></pre>
<div class="block">Bytes to be written to the file system, including the
header. Compressed
if compression is turned on. It also includes the checksum data that
immediately follows the block data. (header + data + checksums)</div>
@@ -564,7 +564,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>onDiskChecksum</h4>
-<pre>private byte[] <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.891">onDiskChecksum</a></pre>
+<pre>private byte[] <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.889">onDiskChecksum</a></pre>
<div class="block">The size of the checksum data on disk. It is used only if
data is
not compressed. If data is compressed, then the checksums are already
part of onDiskBytesWithHeader. If data is uncompressed, then this
@@ -577,7 +577,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>startOffset</h4>
-<pre>private long <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.897">startOffset</a></pre>
+<pre>private long <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.895">startOffset</a></pre>
<div class="block">Current block's start offset in the <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFile.html"
title="class in org.apache.hadoop.hbase.io.hfile"><code>HFile</code></a>. Set in
<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#writeHeaderAndData-org.apache.hadoop.fs.FSDataOutputStream-"><code>writeHeaderAndData(FSDataOutputStream)</code></a>.</div>
</li>
@@ -588,7 +588,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>prevOffsetByType</h4>
-<pre>private long[] <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.903">prevOffsetByType</a></pre>
+<pre>private long[] <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.901">prevOffsetByType</a></pre>
<div class="block">Offset of previous block by block type. Updated when the
next block is
started.</div>
</li>
@@ -599,7 +599,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>prevOffset</h4>
-<pre>private long <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.906">prevOffset</a></pre>
+<pre>private long <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.904">prevOffset</a></pre>
<div class="block">The offset of the previous block of the same type</div>
</li>
</ul>
@@ -609,7 +609,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockListLast">
<li class="blockList">
<h4>fileContext</h4>
-<pre>private <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileContext.html"
title="class in org.apache.hadoop.hbase.io.hfile">HFileContext</a> <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.908">fileContext</a></pre>
+<pre>private <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileContext.html"
title="class in org.apache.hadoop.hbase.io.hfile">HFileContext</a> <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.906">fileContext</a></pre>
<div class="block">Meta data that holds information about the hfileblock</div>
</li>
</ul>
@@ -627,7 +627,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockListLast">
<li class="blockList">
<h4>Writer</h4>
-<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.913">Writer</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileDataBlockEncoder.html"
title="interface in
org.apache.hadoop.hbase.io.hfile">HFileDataBlockEncoder</a> dataBlockEncoder,
+<pre>public <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.911">Writer</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileDataBlockEncoder.html"
title="interface in
org.apache.hadoop.hbase.io.hfile">HFileDataBlockEncoder</a> dataBlockEncoder,
<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileContext.html"
title="class in
org.apache.hadoop.hbase.io.hfile">HFileContext</a> fileContext)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@@ -649,7 +649,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>startWriting</h4>
-<pre><a
href="http://docs.oracle.com/javase/8/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/hfile/HFileBlock.Writer.html#line.943">startWriting</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html"
title="enum in
org.apache.hadoop.hbase.io.hfile">BlockType</a> newBlockType)
+<pre><a
href="http://docs.oracle.com/javase/8/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/hfile/HFileBlock.Writer.html#line.941">startWriting</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/BlockType.html"
title="enum in
org.apache.hadoop.hbase.io.hfile">BlockType</a> newBlockType)
throws <a
href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
<div class="block">Starts writing into the block. The previous block's data is
discarded.</div>
<dl>
@@ -666,7 +666,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
-<pre>void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.974">write</a>(<a
href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in
org.apache.hadoop.hbase">Cell</a> cell)
+<pre>void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.972">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/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
<div class="block">Writes the Cell to this block</div>
<dl>
@@ -683,7 +683,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getUserDataStream</h4>
-<pre><a
href="http://docs.oracle.com/javase/8/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/hfile/HFileBlock.Writer.html#line.989">getUserDataStream</a>()</pre>
+<pre><a
href="http://docs.oracle.com/javase/8/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/hfile/HFileBlock.Writer.html#line.987">getUserDataStream</a>()</pre>
<div class="block">Returns the stream for the user to write to. The block
writer takes care
of handling compression and buffering for caching on write. Can only be
called in the "writing" state.</div>
@@ -699,7 +699,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>ensureBlockReady</h4>
-<pre>void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.998">ensureBlockReady</a>()
+<pre>void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.996">ensureBlockReady</a>()
throws <a
href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
<div class="block">Transitions the block writer from the "writing" state to
the "block
ready" state. Does nothing if a block is already finished.</div>
@@ -715,7 +715,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>finishBlock</h4>
-<pre>private void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1016">finishBlock</a>()
+<pre>private void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1014">finishBlock</a>()
throws <a
href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
<div class="block">Finish up writing of the block.
Flushes the compressing stream (if using compression), fills out the header,
@@ -733,7 +733,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>putHeader</h4>
-<pre>private void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1070">putHeader</a>(byte[] dest,
+<pre>private void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1068">putHeader</a>(byte[] dest,
int offset,
int onDiskSize,
int uncompressedSize,
@@ -755,7 +755,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>putHeader</h4>
-<pre>private void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1081">putHeader</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/ByteArrayOutputStream.html"
title="class in org.apache.hadoop.hbase.io">ByteArrayOutputStream</a> dest,
+<pre>private void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1079">putHeader</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/ByteArrayOutputStream.html"
title="class in org.apache.hadoop.hbase.io">ByteArrayOutputStream</a> dest,
int onDiskSize,
int uncompressedSize,
int onDiskDataSize)</pre>
@@ -767,7 +767,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>writeHeaderAndData</h4>
-<pre>void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1094">writeHeaderAndData</a>(org.apache.hadoop.fs.FSDataOutputStream out)
+<pre>void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1092">writeHeaderAndData</a>(org.apache.hadoop.fs.FSDataOutputStream out)
throws <a
href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
<div class="block">Similar to <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#writeHeaderAndData-org.apache.hadoop.fs.FSDataOutputStream-"><code>writeHeaderAndData(FSDataOutputStream)</code></a>,
but records
the offset of this block so that it can be referenced in the next block
@@ -786,7 +786,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>finishBlockAndWriteHeaderAndData</h4>
-<pre>protected void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1115">finishBlockAndWriteHeaderAndData</a>(<a
href="http://docs.oracle.com/javase/8/docs/api/java/io/DataOutputStream.html?is-external=true"
title="class or interface in java.io">DataOutputStream</a> out)
+<pre>protected void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1113">finishBlockAndWriteHeaderAndData</a>(<a
href="http://docs.oracle.com/javase/8/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/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
<div class="block">Writes the header and the compressed data of this block (or
uncompressed
data when not using compression) into the given stream. Can be called in
@@ -806,7 +806,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getHeaderAndDataForTest</h4>
-<pre>byte[] <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1132">getHeaderAndDataForTest</a>()
+<pre>byte[] <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1130">getHeaderAndDataForTest</a>()
throws <a
href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
<div class="block">Returns the header or the compressed data (or uncompressed
data when not
using compression) as a byte array. Can be called in the "writing" state
@@ -827,7 +827,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>release</h4>
-<pre>void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1149">release</a>()</pre>
+<pre>void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1147">release</a>()</pre>
<div class="block">Releases resources used by this writer.</div>
</li>
</ul>
@@ -837,7 +837,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getOnDiskSizeWithoutHeader</h4>
-<pre>int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1168">getOnDiskSizeWithoutHeader</a>()</pre>
+<pre>int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1166">getOnDiskSizeWithoutHeader</a>()</pre>
<div class="block">Returns the on-disk size of the data portion of the block.
This is the
compressed size if compression is enabled. Can only be called in the
"block ready" state. Header is not compressed, and its size is not
@@ -854,7 +854,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getOnDiskSizeWithHeader</h4>
-<pre>int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1181">getOnDiskSizeWithHeader</a>()</pre>
+<pre>int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1179">getOnDiskSizeWithHeader</a>()</pre>
<div class="block">Returns the on-disk size of the block. Can only be called
in the
"block ready" state.</div>
<dl>
@@ -870,7 +870,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getUncompressedSizeWithoutHeader</h4>
-<pre>int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1189">getUncompressedSizeWithoutHeader</a>()</pre>
+<pre>int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1187">getUncompressedSizeWithoutHeader</a>()</pre>
<div class="block">The uncompressed size of the block data. Does not include
header size.</div>
</li>
</ul>
@@ -880,7 +880,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>getUncompressedSizeWithHeader</h4>
-<pre>int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1197">getUncompressedSizeWithHeader</a>()</pre>
+<pre>int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1195">getUncompressedSizeWithHeader</a>()</pre>
<div class="block">The uncompressed size of the block data, including header
size.</div>
</li>
</ul>
@@ -890,7 +890,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>isWriting</h4>
-<pre>boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1203">isWriting</a>()</pre>
+<pre>boolean <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1201">isWriting</a>()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if a block is being written</dd>
@@ -903,7 +903,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>encodedBlockSizeWritten</h4>
-<pre>public int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1214">encodedBlockSizeWritten</a>()</pre>
+<pre>public int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1212">encodedBlockSizeWritten</a>()</pre>
<div class="block">Returns the number of bytes written into the current block
so far, or
zero if not writing the block at the moment. Note that this will return
zero in the "block ready" state as well.</div>
@@ -919,7 +919,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>blockSizeWritten</h4>
-<pre>int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1227">blockSizeWritten</a>()</pre>
+<pre>int <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1225">blockSizeWritten</a>()</pre>
<div class="block">Returns the number of bytes written into the current block
so far, or
zero if not writing the block at the moment. Note that this will return
zero in the "block ready" state as well.</div>
@@ -935,7 +935,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>cloneUncompressedBufferWithHeader</h4>
-<pre><a
href="http://docs.oracle.com/javase/8/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/hfile/HFileBlock.Writer.html#line.1241">cloneUncompressedBufferWithHeader</a>()</pre>
+<pre><a
href="http://docs.oracle.com/javase/8/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/hfile/HFileBlock.Writer.html#line.1239">cloneUncompressedBufferWithHeader</a>()</pre>
<div class="block">Clones the header followed by the uncompressed data, even
if using
compression. This is needed for storing uncompressed blocks in the block
cache. Can be called in the "writing" state or the "block ready" state.
@@ -952,7 +952,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>cloneOnDiskBufferWithHeader</h4>
-<pre>private <a
href="http://docs.oracle.com/javase/8/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/hfile/HFileBlock.Writer.html#line.1261">cloneOnDiskBufferWithHeader</a>()</pre>
+<pre>private <a
href="http://docs.oracle.com/javase/8/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/hfile/HFileBlock.Writer.html#line.1259">cloneOnDiskBufferWithHeader</a>()</pre>
<div class="block">Clones the header followed by the on-disk
(compressed/encoded/encrypted) data. This is
needed for storing packed blocks in the block cache. Expects calling
semantics identical to
<code>#getUncompressedBufferWithHeader()</code>. Returns only the header and
data,
@@ -969,7 +969,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>expectState</h4>
-<pre>private void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1266">expectState</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html"
title="enum in
org.apache.hadoop.hbase.io.hfile">HFileBlock.Writer.State</a> expectedState)</pre>
+<pre>private void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1264">expectState</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html"
title="enum in
org.apache.hadoop.hbase.io.hfile">HFileBlock.Writer.State</a> expectedState)</pre>
</li>
</ul>
<a
name="writeBlock-org.apache.hadoop.hbase.io.hfile.HFileBlock.BlockWritable-org.apache.hadoop.fs.FSDataOutputStream-">
@@ -978,7 +978,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockList">
<li class="blockList">
<h4>writeBlock</h4>
-<pre>void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1283">writeBlock</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockWritable.html"
title="interface in
org.apache.hadoop.hbase.io.hfile">HFileBlock.BlockWritable</a> bw,
+<pre>void <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1281">writeBlock</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockWritable.html"
title="interface in
org.apache.hadoop.hbase.io.hfile">HFileBlock.BlockWritable</a> bw,
org.apache.hadoop.fs.FSDataOutputStream out)
throws <a
href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
<div class="block">Takes the given <a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockWritable.html"
title="interface in
org.apache.hadoop.hbase.io.hfile"><code>HFileBlock.BlockWritable</code></a>
instance, creates a new block of
@@ -1000,7 +1000,7 @@ extends <a
href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
<ul class="blockListLast">
<li class="blockList">
<h4>getBlockForCaching</h4>
-<pre><a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.html"
title="class in org.apache.hadoop.hbase.io.hfile">HFileBlock</a> <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1302">getBlockForCaching</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html"
title="class in
org.apache.hadoop.hbase.io.hfile">CacheConfig</a> cacheConf)</pre>
+<pre><a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/HFileBlock.html"
title="class in org.apache.hadoop.hbase.io.hfile">HFileBlock</a> <a
href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html#line.1300">getBlockForCaching</a>(<a
href="../../../../../../org/apache/hadoop/hbase/io/hfile/CacheConfig.html"
title="class in
org.apache.hadoop.hbase.io.hfile">CacheConfig</a> cacheConf)</pre>
<div class="block">Creates a new HFileBlock. Checksums have already been
validated, so
the byte buffer passed into the constructor of this newly created
block does not have checksum data even though the header minor