hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject [10/52] [partial] hbase-site git commit: Published site at 4d1bff9e78884adf689dd587d65afe36a336c56b.
Date Tue, 15 Nov 2016 18:49:20 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferSupportDataOutputStream.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferSupportDataOutputStream.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferSupportDataOutputStream.html
deleted file mode 100644
index b532aa4..0000000
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferSupportDataOutputStream.html
+++ /dev/null
@@ -1,116 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="en">
-<head>
-<title>Source code</title>
-<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
-</head>
-<body>
-<div class="sourceContainer">
-<pre><span class="sourceLineNo">001</span>/**<a name="line.1"></a>
-<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
-<span class="sourceLineNo">003</span> * or more contributor license agreements.  See the NOTICE file<a name="line.3"></a>
-<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
-<span class="sourceLineNo">005</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.5"></a>
-<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
-<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
-<span class="sourceLineNo">008</span> * with the License.  You may obtain a copy of the License at<a name="line.8"></a>
-<span class="sourceLineNo">009</span> *<a name="line.9"></a>
-<span class="sourceLineNo">010</span> *     http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
-<span class="sourceLineNo">011</span> *<a name="line.11"></a>
-<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a>
-<span class="sourceLineNo">013</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a>
-<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a>
-<span class="sourceLineNo">015</span> * See the License for the specific language governing permissions and<a name="line.15"></a>
-<span class="sourceLineNo">016</span> * limitations under the License.<a name="line.16"></a>
-<span class="sourceLineNo">017</span> */<a name="line.17"></a>
-<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.io;<a name="line.18"></a>
-<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>import java.io.DataOutputStream;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import java.io.IOException;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import java.io.OutputStream;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import java.nio.ByteBuffer;<a name="line.23"></a>
-<span class="sourceLineNo">024</span><a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.util.ByteBufferUtils;<a name="line.26"></a>
-<span class="sourceLineNo">027</span><a name="line.27"></a>
-<span class="sourceLineNo">028</span>/**<a name="line.28"></a>
-<span class="sourceLineNo">029</span> * Our extension of DataOutputStream which implements ByteBufferSupportOutputStream<a name="line.29"></a>
-<span class="sourceLineNo">030</span> */<a name="line.30"></a>
-<span class="sourceLineNo">031</span>@InterfaceAudience.Private<a name="line.31"></a>
-<span class="sourceLineNo">032</span>public class ByteBufferSupportDataOutputStream extends DataOutputStream<a name="line.32"></a>
-<span class="sourceLineNo">033</span>    implements ByteBufferSupportOutputStream {<a name="line.33"></a>
-<span class="sourceLineNo">034</span><a name="line.34"></a>
-<span class="sourceLineNo">035</span>  public ByteBufferSupportDataOutputStream(OutputStream out) {<a name="line.35"></a>
-<span class="sourceLineNo">036</span>    super(out);<a name="line.36"></a>
-<span class="sourceLineNo">037</span>  }<a name="line.37"></a>
-<span class="sourceLineNo">038</span><a name="line.38"></a>
-<span class="sourceLineNo">039</span>  @Override<a name="line.39"></a>
-<span class="sourceLineNo">040</span>  public void write(ByteBuffer b, int off, int len) throws IOException {<a name="line.40"></a>
-<span class="sourceLineNo">041</span>    ByteBufferUtils.copyBufferToStream(out, b, off, len);<a name="line.41"></a>
-<span class="sourceLineNo">042</span>    written += len;<a name="line.42"></a>
-<span class="sourceLineNo">043</span>  }<a name="line.43"></a>
-<span class="sourceLineNo">044</span>}<a name="line.44"></a>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-</pre>
-</div>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferSupportOutputStream.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferSupportOutputStream.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferSupportOutputStream.html
deleted file mode 100644
index 7a5f415..0000000
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferSupportOutputStream.html
+++ /dev/null
@@ -1,123 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="en">
-<head>
-<title>Source code</title>
-<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
-</head>
-<body>
-<div class="sourceContainer">
-<pre><span class="sourceLineNo">001</span>/**<a name="line.1"></a>
-<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
-<span class="sourceLineNo">003</span> * or more contributor license agreements.  See the NOTICE file<a name="line.3"></a>
-<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
-<span class="sourceLineNo">005</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.5"></a>
-<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
-<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
-<span class="sourceLineNo">008</span> * with the License.  You may obtain a copy of the License at<a name="line.8"></a>
-<span class="sourceLineNo">009</span> *<a name="line.9"></a>
-<span class="sourceLineNo">010</span> *     http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
-<span class="sourceLineNo">011</span> *<a name="line.11"></a>
-<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a>
-<span class="sourceLineNo">013</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a>
-<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a>
-<span class="sourceLineNo">015</span> * See the License for the specific language governing permissions and<a name="line.15"></a>
-<span class="sourceLineNo">016</span> * limitations under the License.<a name="line.16"></a>
-<span class="sourceLineNo">017</span> */<a name="line.17"></a>
-<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.io;<a name="line.18"></a>
-<span class="sourceLineNo">019</span><a name="line.19"></a>
-<span class="sourceLineNo">020</span>import java.io.IOException;<a name="line.20"></a>
-<span class="sourceLineNo">021</span>import java.nio.ByteBuffer;<a name="line.21"></a>
-<span class="sourceLineNo">022</span><a name="line.22"></a>
-<span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.23"></a>
-<span class="sourceLineNo">024</span><a name="line.24"></a>
-<span class="sourceLineNo">025</span>/**<a name="line.25"></a>
-<span class="sourceLineNo">026</span> * Interface adds support for writing {@link ByteBuffer} into OutputStream.<a name="line.26"></a>
-<span class="sourceLineNo">027</span> */<a name="line.27"></a>
-<span class="sourceLineNo">028</span>@InterfaceAudience.Private<a name="line.28"></a>
-<span class="sourceLineNo">029</span>public interface ByteBufferSupportOutputStream {<a name="line.29"></a>
-<span class="sourceLineNo">030</span><a name="line.30"></a>
-<span class="sourceLineNo">031</span>  /**<a name="line.31"></a>
-<span class="sourceLineNo">032</span>   * Writes &lt;code&gt;len&lt;/code&gt; bytes from the specified ByteBuffer starting at offset &lt;code&gt;off&lt;/code&gt;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>   * to this output stream.<a name="line.33"></a>
-<span class="sourceLineNo">034</span>   *<a name="line.34"></a>
-<span class="sourceLineNo">035</span>   * @param b the data.<a name="line.35"></a>
-<span class="sourceLineNo">036</span>   * @param off the start offset in the data.<a name="line.36"></a>
-<span class="sourceLineNo">037</span>   * @param len the number of bytes to write.<a name="line.37"></a>
-<span class="sourceLineNo">038</span>   * @exception IOException<a name="line.38"></a>
-<span class="sourceLineNo">039</span>   *              if an I/O error occurs. In particular, an &lt;code&gt;IOException&lt;/code&gt; is thrown if<a name="line.39"></a>
-<span class="sourceLineNo">040</span>   *              the output stream is closed.<a name="line.40"></a>
-<span class="sourceLineNo">041</span>   */<a name="line.41"></a>
-<span class="sourceLineNo">042</span>  void write(ByteBuffer b, int off, int len) throws IOException;<a name="line.42"></a>
-<span class="sourceLineNo">043</span><a name="line.43"></a>
-<span class="sourceLineNo">044</span>  /**<a name="line.44"></a>
-<span class="sourceLineNo">045</span>   * Writes an &lt;code&gt;int&lt;/code&gt; to the underlying output stream as four<a name="line.45"></a>
-<span class="sourceLineNo">046</span>   * bytes, high byte first.<a name="line.46"></a>
-<span class="sourceLineNo">047</span>   * @param i the &lt;code&gt;int&lt;/code&gt; to write<a name="line.47"></a>
-<span class="sourceLineNo">048</span>   * @throws IOException if an I/O error occurs.<a name="line.48"></a>
-<span class="sourceLineNo">049</span>   */<a name="line.49"></a>
-<span class="sourceLineNo">050</span>  void writeInt(int i) throws IOException;<a name="line.50"></a>
-<span class="sourceLineNo">051</span>}<a name="line.51"></a>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-</pre>
-</div>
-</body>
-</html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriter.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriter.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriter.html
new file mode 100644
index 0000000..aabb8dd
--- /dev/null
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriter.html
@@ -0,0 +1,125 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/**<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * or more contributor license agreements.  See the NOTICE file<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * with the License.  You may obtain a copy of the License at<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *     http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * See the License for the specific language governing permissions and<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * limitations under the License.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> */<a name="line.17"></a>
+<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.io;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.io.IOException;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.nio.ByteBuffer;<a name="line.21"></a>
+<span class="sourceLineNo">022</span><a name="line.22"></a>
+<span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>/**<a name="line.25"></a>
+<span class="sourceLineNo">026</span> * This interface marks a class to support writing ByteBuffers into it.<a name="line.26"></a>
+<span class="sourceLineNo">027</span> * @see ByteArrayOutputStream<a name="line.27"></a>
+<span class="sourceLineNo">028</span> * @see ByteBufferOutputStream<a name="line.28"></a>
+<span class="sourceLineNo">029</span> */<a name="line.29"></a>
+<span class="sourceLineNo">030</span>@InterfaceAudience.Private<a name="line.30"></a>
+<span class="sourceLineNo">031</span>public interface ByteBufferWriter {<a name="line.31"></a>
+<span class="sourceLineNo">032</span><a name="line.32"></a>
+<span class="sourceLineNo">033</span>  /**<a name="line.33"></a>
+<span class="sourceLineNo">034</span>   * Writes &lt;code&gt;len&lt;/code&gt; bytes from the specified ByteBuffer starting at offset &lt;code&gt;off&lt;/code&gt;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>   *<a name="line.35"></a>
+<span class="sourceLineNo">036</span>   * @param b the data.<a name="line.36"></a>
+<span class="sourceLineNo">037</span>   * @param off the start offset in the data.<a name="line.37"></a>
+<span class="sourceLineNo">038</span>   * @param len the number of bytes to write.<a name="line.38"></a>
+<span class="sourceLineNo">039</span>   * @exception IOException if an I/O error occurs.<a name="line.39"></a>
+<span class="sourceLineNo">040</span>   */<a name="line.40"></a>
+<span class="sourceLineNo">041</span>  void write(ByteBuffer b, int off, int len) throws IOException;<a name="line.41"></a>
+<span class="sourceLineNo">042</span><a name="line.42"></a>
+<span class="sourceLineNo">043</span>  /**<a name="line.43"></a>
+<span class="sourceLineNo">044</span>   * Writes an &lt;code&gt;int&lt;/code&gt; to the underlying output stream as four bytes, high byte first.<a name="line.44"></a>
+<span class="sourceLineNo">045</span>   * @param i the &lt;code&gt;int&lt;/code&gt; to write<a name="line.45"></a>
+<span class="sourceLineNo">046</span>   * @throws IOException if an I/O error occurs.<a name="line.46"></a>
+<span class="sourceLineNo">047</span>   */<a name="line.47"></a>
+<span class="sourceLineNo">048</span>  // This is pure performance oriented API been added here. It has nothing to do with<a name="line.48"></a>
+<span class="sourceLineNo">049</span>  // ByteBuffer and so not fully belong to here. This allows an int to be written at one go instead<a name="line.49"></a>
+<span class="sourceLineNo">050</span>  // of 4 (4 bytes one by one).<a name="line.50"></a>
+<span class="sourceLineNo">051</span>  // TODO remove it from here?<a name="line.51"></a>
+<span class="sourceLineNo">052</span>  void writeInt(int i) throws IOException;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>}<a name="line.53"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriterDataOutputStream.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriterDataOutputStream.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriterDataOutputStream.html
new file mode 100644
index 0000000..95180d0
--- /dev/null
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriterDataOutputStream.html
@@ -0,0 +1,116 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/**<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * or more contributor license agreements.  See the NOTICE file<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * with the License.  You may obtain a copy of the License at<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *     http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * See the License for the specific language governing permissions and<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * limitations under the License.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> */<a name="line.17"></a>
+<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.io;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.io.DataOutputStream;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.io.IOException;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.io.OutputStream;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.nio.ByteBuffer;<a name="line.23"></a>
+<span class="sourceLineNo">024</span><a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.util.ByteBufferUtils;<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>/**<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * Our extension of DataOutputStream which implements ByteBufferWriter<a name="line.29"></a>
+<span class="sourceLineNo">030</span> */<a name="line.30"></a>
+<span class="sourceLineNo">031</span>@InterfaceAudience.Private<a name="line.31"></a>
+<span class="sourceLineNo">032</span>public class ByteBufferWriterDataOutputStream extends DataOutputStream<a name="line.32"></a>
+<span class="sourceLineNo">033</span>    implements ByteBufferWriter {<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span>  public ByteBufferWriterDataOutputStream(OutputStream out) {<a name="line.35"></a>
+<span class="sourceLineNo">036</span>    super(out);<a name="line.36"></a>
+<span class="sourceLineNo">037</span>  }<a name="line.37"></a>
+<span class="sourceLineNo">038</span><a name="line.38"></a>
+<span class="sourceLineNo">039</span>  @Override<a name="line.39"></a>
+<span class="sourceLineNo">040</span>  public void write(ByteBuffer b, int off, int len) throws IOException {<a name="line.40"></a>
+<span class="sourceLineNo">041</span>    ByteBufferUtils.copyBufferToStream(out, b, off, len);<a name="line.41"></a>
+<span class="sourceLineNo">042</span>    written += len;<a name="line.42"></a>
+<span class="sourceLineNo">043</span>  }<a name="line.43"></a>
+<span class="sourceLineNo">044</span>}<a name="line.44"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriterOutputStream.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriterOutputStream.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriterOutputStream.html
new file mode 100644
index 0000000..3d11ca2
--- /dev/null
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/ByteBufferWriterOutputStream.html
@@ -0,0 +1,162 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+<title>Source code</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<div class="sourceContainer">
+<pre><span class="sourceLineNo">001</span>/**<a name="line.1"></a>
+<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a>
+<span class="sourceLineNo">003</span> * or more contributor license agreements.  See the NOTICE file<a name="line.3"></a>
+<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a>
+<span class="sourceLineNo">005</span> * regarding copyright ownership.  The ASF licenses this file<a name="line.5"></a>
+<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a>
+<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a>
+<span class="sourceLineNo">008</span> * with the License.  You may obtain a copy of the License at<a name="line.8"></a>
+<span class="sourceLineNo">009</span> *<a name="line.9"></a>
+<span class="sourceLineNo">010</span> *     http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a>
+<span class="sourceLineNo">011</span> *<a name="line.11"></a>
+<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a>
+<span class="sourceLineNo">013</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a>
+<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a>
+<span class="sourceLineNo">015</span> * See the License for the specific language governing permissions and<a name="line.15"></a>
+<span class="sourceLineNo">016</span> * limitations under the License.<a name="line.16"></a>
+<span class="sourceLineNo">017</span> */<a name="line.17"></a>
+<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.io;<a name="line.18"></a>
+<span class="sourceLineNo">019</span><a name="line.19"></a>
+<span class="sourceLineNo">020</span>import java.io.IOException;<a name="line.20"></a>
+<span class="sourceLineNo">021</span>import java.io.OutputStream;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import java.nio.ByteBuffer;<a name="line.22"></a>
+<span class="sourceLineNo">023</span><a name="line.23"></a>
+<span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.io.util.StreamUtils;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.util.ByteBufferUtils;<a name="line.26"></a>
+<span class="sourceLineNo">027</span><a name="line.27"></a>
+<span class="sourceLineNo">028</span>/**<a name="line.28"></a>
+<span class="sourceLineNo">029</span> * When deal with OutputStream which is not ByteBufferWriter type, wrap it with this class. We will<a name="line.29"></a>
+<span class="sourceLineNo">030</span> * have to write offheap ByteBuffer (DBB) data into the OS. This class is having a temp byte array<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * to which we can copy the DBB data for writing to the OS.<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * &lt;br&gt;<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * This is used while writing Cell data to WAL. In case of AsyncWAL, the OS created there is<a name="line.33"></a>
+<span class="sourceLineNo">034</span> * ByteBufferWriter. But in case of FSHLog, the OS passed by DFS client, is not of type<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * ByteBufferWriter. We will need this temp solution until DFS client supports writing ByteBuffer<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * directly to the OS it creates.<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * &lt;br&gt;<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * Note: This class is not thread safe.<a name="line.38"></a>
+<span class="sourceLineNo">039</span> */<a name="line.39"></a>
+<span class="sourceLineNo">040</span>@InterfaceAudience.Private<a name="line.40"></a>
+<span class="sourceLineNo">041</span>public class ByteBufferWriterOutputStream extends OutputStream<a name="line.41"></a>
+<span class="sourceLineNo">042</span>    implements ByteBufferWriter {<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>  private static final int TEMP_BUF_LENGTH = 4 * 1024;<a name="line.44"></a>
+<span class="sourceLineNo">045</span>  private final OutputStream os;<a name="line.45"></a>
+<span class="sourceLineNo">046</span>  private byte[] tempBuf = null;<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span>  public ByteBufferWriterOutputStream(OutputStream os) {<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    this.os = os;<a name="line.49"></a>
+<span class="sourceLineNo">050</span>  }<a name="line.50"></a>
+<span class="sourceLineNo">051</span><a name="line.51"></a>
+<span class="sourceLineNo">052</span>  @Override<a name="line.52"></a>
+<span class="sourceLineNo">053</span>  public void write(ByteBuffer b, int off, int len) throws IOException {<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    byte[] buf = null;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    if (len &gt; TEMP_BUF_LENGTH) {<a name="line.55"></a>
+<span class="sourceLineNo">056</span>      buf = new byte[len];<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    } else {<a name="line.57"></a>
+<span class="sourceLineNo">058</span>      if (this.tempBuf == null) {<a name="line.58"></a>
+<span class="sourceLineNo">059</span>        this.tempBuf = new byte[TEMP_BUF_LENGTH];<a name="line.59"></a>
+<span class="sourceLineNo">060</span>      }<a name="line.60"></a>
+<span class="sourceLineNo">061</span>      buf = this.tempBuf;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    }<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    ByteBufferUtils.copyFromBufferToArray(buf, b, off, 0, len);<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    this.os.write(buf, 0, len);<a name="line.64"></a>
+<span class="sourceLineNo">065</span>  }<a name="line.65"></a>
+<span class="sourceLineNo">066</span><a name="line.66"></a>
+<span class="sourceLineNo">067</span>  @Override<a name="line.67"></a>
+<span class="sourceLineNo">068</span>  public void writeInt(int i) throws IOException {<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    StreamUtils.writeInt(this.os, i);<a name="line.69"></a>
+<span class="sourceLineNo">070</span>  }<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span>  @Override<a name="line.72"></a>
+<span class="sourceLineNo">073</span>  public void write(int b) throws IOException {<a name="line.73"></a>
+<span class="sourceLineNo">074</span>    this.os.write(b);<a name="line.74"></a>
+<span class="sourceLineNo">075</span>  }<a name="line.75"></a>
+<span class="sourceLineNo">076</span><a name="line.76"></a>
+<span class="sourceLineNo">077</span>  public void write(byte b[], int off, int len) throws IOException {<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    this.os.write(b, off, len);<a name="line.78"></a>
+<span class="sourceLineNo">079</span>  }<a name="line.79"></a>
+<span class="sourceLineNo">080</span><a name="line.80"></a>
+<span class="sourceLineNo">081</span>  @Override<a name="line.81"></a>
+<span class="sourceLineNo">082</span>  public void flush() throws IOException {<a name="line.82"></a>
+<span class="sourceLineNo">083</span>    this.os.flush();<a name="line.83"></a>
+<span class="sourceLineNo">084</span>  }<a name="line.84"></a>
+<span class="sourceLineNo">085</span><a name="line.85"></a>
+<span class="sourceLineNo">086</span>  @Override<a name="line.86"></a>
+<span class="sourceLineNo">087</span>  public void close() throws IOException {<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    this.os.close();<a name="line.88"></a>
+<span class="sourceLineNo">089</span>  }<a name="line.89"></a>
+<span class="sourceLineNo">090</span>}<a name="line.90"></a>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</pre>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockIterator.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockIterator.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockIterator.html
index c5e4c1d..bd91a23 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockIterator.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockIterator.html
@@ -45,7 +45,7 @@
 <span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.fs.HFileSystem;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.io.ByteArrayOutputStream;<a name="line.38"></a>
 <span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.io.ByteBuffInputStream;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferSupportDataOutputStream;<a name="line.40"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferWriterDataOutputStream;<a name="line.40"></a>
 <span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.io.FSDataInputStreamWrapper;<a name="line.41"></a>
 <span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;<a name="line.42"></a>
 <span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext;<a name="line.43"></a>
@@ -970,7 +970,7 @@
 <span class="sourceLineNo">962</span>      state = State.WRITING;<a name="line.962"></a>
 <span class="sourceLineNo">963</span><a name="line.963"></a>
 <span class="sourceLineNo">964</span>      // We will compress it later in finishBlock()<a name="line.964"></a>
-<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferSupportDataOutputStream(baosInMemory);<a name="line.965"></a>
+<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferWriterDataOutputStream(baosInMemory);<a name="line.965"></a>
 <span class="sourceLineNo">966</span>      if (newBlockType == BlockType.DATA) {<a name="line.966"></a>
 <span class="sourceLineNo">967</span>        this.dataBlockEncoder.startBlockEncoding(dataBlockEncodingCtx, userDataStream);<a name="line.967"></a>
 <span class="sourceLineNo">968</span>      }<a name="line.968"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockWritable.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockWritable.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockWritable.html
index c5e4c1d..bd91a23 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockWritable.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.BlockWritable.html
@@ -45,7 +45,7 @@
 <span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.fs.HFileSystem;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.io.ByteArrayOutputStream;<a name="line.38"></a>
 <span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.io.ByteBuffInputStream;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferSupportDataOutputStream;<a name="line.40"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferWriterDataOutputStream;<a name="line.40"></a>
 <span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.io.FSDataInputStreamWrapper;<a name="line.41"></a>
 <span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;<a name="line.42"></a>
 <span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext;<a name="line.43"></a>
@@ -970,7 +970,7 @@
 <span class="sourceLineNo">962</span>      state = State.WRITING;<a name="line.962"></a>
 <span class="sourceLineNo">963</span><a name="line.963"></a>
 <span class="sourceLineNo">964</span>      // We will compress it later in finishBlock()<a name="line.964"></a>
-<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferSupportDataOutputStream(baosInMemory);<a name="line.965"></a>
+<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferWriterDataOutputStream(baosInMemory);<a name="line.965"></a>
 <span class="sourceLineNo">966</span>      if (newBlockType == BlockType.DATA) {<a name="line.966"></a>
 <span class="sourceLineNo">967</span>        this.dataBlockEncoder.startBlockEncoding(dataBlockEncodingCtx, userDataStream);<a name="line.967"></a>
 <span class="sourceLineNo">968</span>      }<a name="line.968"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.FSReader.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.FSReader.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.FSReader.html
index c5e4c1d..bd91a23 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.FSReader.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.FSReader.html
@@ -45,7 +45,7 @@
 <span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.fs.HFileSystem;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.io.ByteArrayOutputStream;<a name="line.38"></a>
 <span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.io.ByteBuffInputStream;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferSupportDataOutputStream;<a name="line.40"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferWriterDataOutputStream;<a name="line.40"></a>
 <span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.io.FSDataInputStreamWrapper;<a name="line.41"></a>
 <span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;<a name="line.42"></a>
 <span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext;<a name="line.43"></a>
@@ -970,7 +970,7 @@
 <span class="sourceLineNo">962</span>      state = State.WRITING;<a name="line.962"></a>
 <span class="sourceLineNo">963</span><a name="line.963"></a>
 <span class="sourceLineNo">964</span>      // We will compress it later in finishBlock()<a name="line.964"></a>
-<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferSupportDataOutputStream(baosInMemory);<a name="line.965"></a>
+<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferWriterDataOutputStream(baosInMemory);<a name="line.965"></a>
 <span class="sourceLineNo">966</span>      if (newBlockType == BlockType.DATA) {<a name="line.966"></a>
 <span class="sourceLineNo">967</span>        this.dataBlockEncoder.startBlockEncoding(dataBlockEncodingCtx, userDataStream);<a name="line.967"></a>
 <span class="sourceLineNo">968</span>      }<a name="line.968"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.FSReaderImpl.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.FSReaderImpl.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.FSReaderImpl.html
index c5e4c1d..bd91a23 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.FSReaderImpl.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.FSReaderImpl.html
@@ -45,7 +45,7 @@
 <span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.fs.HFileSystem;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.io.ByteArrayOutputStream;<a name="line.38"></a>
 <span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.io.ByteBuffInputStream;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferSupportDataOutputStream;<a name="line.40"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferWriterDataOutputStream;<a name="line.40"></a>
 <span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.io.FSDataInputStreamWrapper;<a name="line.41"></a>
 <span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;<a name="line.42"></a>
 <span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext;<a name="line.43"></a>
@@ -970,7 +970,7 @@
 <span class="sourceLineNo">962</span>      state = State.WRITING;<a name="line.962"></a>
 <span class="sourceLineNo">963</span><a name="line.963"></a>
 <span class="sourceLineNo">964</span>      // We will compress it later in finishBlock()<a name="line.964"></a>
-<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferSupportDataOutputStream(baosInMemory);<a name="line.965"></a>
+<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferWriterDataOutputStream(baosInMemory);<a name="line.965"></a>
 <span class="sourceLineNo">966</span>      if (newBlockType == BlockType.DATA) {<a name="line.966"></a>
 <span class="sourceLineNo">967</span>        this.dataBlockEncoder.startBlockEncoding(dataBlockEncodingCtx, userDataStream);<a name="line.967"></a>
 <span class="sourceLineNo">968</span>      }<a name="line.968"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Header.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Header.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Header.html
index c5e4c1d..bd91a23 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Header.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Header.html
@@ -45,7 +45,7 @@
 <span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.fs.HFileSystem;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.io.ByteArrayOutputStream;<a name="line.38"></a>
 <span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.io.ByteBuffInputStream;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferSupportDataOutputStream;<a name="line.40"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferWriterDataOutputStream;<a name="line.40"></a>
 <span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.io.FSDataInputStreamWrapper;<a name="line.41"></a>
 <span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;<a name="line.42"></a>
 <span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext;<a name="line.43"></a>
@@ -970,7 +970,7 @@
 <span class="sourceLineNo">962</span>      state = State.WRITING;<a name="line.962"></a>
 <span class="sourceLineNo">963</span><a name="line.963"></a>
 <span class="sourceLineNo">964</span>      // We will compress it later in finishBlock()<a name="line.964"></a>
-<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferSupportDataOutputStream(baosInMemory);<a name="line.965"></a>
+<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferWriterDataOutputStream(baosInMemory);<a name="line.965"></a>
 <span class="sourceLineNo">966</span>      if (newBlockType == BlockType.DATA) {<a name="line.966"></a>
 <span class="sourceLineNo">967</span>        this.dataBlockEncoder.startBlockEncoding(dataBlockEncodingCtx, userDataStream);<a name="line.967"></a>
 <span class="sourceLineNo">968</span>      }<a name="line.968"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.PrefetchedHeader.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.PrefetchedHeader.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.PrefetchedHeader.html
index c5e4c1d..bd91a23 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.PrefetchedHeader.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.PrefetchedHeader.html
@@ -45,7 +45,7 @@
 <span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.fs.HFileSystem;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.io.ByteArrayOutputStream;<a name="line.38"></a>
 <span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.io.ByteBuffInputStream;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferSupportDataOutputStream;<a name="line.40"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferWriterDataOutputStream;<a name="line.40"></a>
 <span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.io.FSDataInputStreamWrapper;<a name="line.41"></a>
 <span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;<a name="line.42"></a>
 <span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext;<a name="line.43"></a>
@@ -970,7 +970,7 @@
 <span class="sourceLineNo">962</span>      state = State.WRITING;<a name="line.962"></a>
 <span class="sourceLineNo">963</span><a name="line.963"></a>
 <span class="sourceLineNo">964</span>      // We will compress it later in finishBlock()<a name="line.964"></a>
-<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferSupportDataOutputStream(baosInMemory);<a name="line.965"></a>
+<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferWriterDataOutputStream(baosInMemory);<a name="line.965"></a>
 <span class="sourceLineNo">966</span>      if (newBlockType == BlockType.DATA) {<a name="line.966"></a>
 <span class="sourceLineNo">967</span>        this.dataBlockEncoder.startBlockEncoding(dataBlockEncodingCtx, userDataStream);<a name="line.967"></a>
 <span class="sourceLineNo">968</span>      }<a name="line.968"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html
index c5e4c1d..bd91a23 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.State.html
@@ -45,7 +45,7 @@
 <span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.fs.HFileSystem;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.io.ByteArrayOutputStream;<a name="line.38"></a>
 <span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.io.ByteBuffInputStream;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferSupportDataOutputStream;<a name="line.40"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferWriterDataOutputStream;<a name="line.40"></a>
 <span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.io.FSDataInputStreamWrapper;<a name="line.41"></a>
 <span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;<a name="line.42"></a>
 <span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext;<a name="line.43"></a>
@@ -970,7 +970,7 @@
 <span class="sourceLineNo">962</span>      state = State.WRITING;<a name="line.962"></a>
 <span class="sourceLineNo">963</span><a name="line.963"></a>
 <span class="sourceLineNo">964</span>      // We will compress it later in finishBlock()<a name="line.964"></a>
-<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferSupportDataOutputStream(baosInMemory);<a name="line.965"></a>
+<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferWriterDataOutputStream(baosInMemory);<a name="line.965"></a>
 <span class="sourceLineNo">966</span>      if (newBlockType == BlockType.DATA) {<a name="line.966"></a>
 <span class="sourceLineNo">967</span>        this.dataBlockEncoder.startBlockEncoding(dataBlockEncodingCtx, userDataStream);<a name="line.967"></a>
 <span class="sourceLineNo">968</span>      }<a name="line.968"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html
index c5e4c1d..bd91a23 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.Writer.html
@@ -45,7 +45,7 @@
 <span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.fs.HFileSystem;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.io.ByteArrayOutputStream;<a name="line.38"></a>
 <span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.io.ByteBuffInputStream;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferSupportDataOutputStream;<a name="line.40"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferWriterDataOutputStream;<a name="line.40"></a>
 <span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.io.FSDataInputStreamWrapper;<a name="line.41"></a>
 <span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;<a name="line.42"></a>
 <span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext;<a name="line.43"></a>
@@ -970,7 +970,7 @@
 <span class="sourceLineNo">962</span>      state = State.WRITING;<a name="line.962"></a>
 <span class="sourceLineNo">963</span><a name="line.963"></a>
 <span class="sourceLineNo">964</span>      // We will compress it later in finishBlock()<a name="line.964"></a>
-<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferSupportDataOutputStream(baosInMemory);<a name="line.965"></a>
+<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferWriterDataOutputStream(baosInMemory);<a name="line.965"></a>
 <span class="sourceLineNo">966</span>      if (newBlockType == BlockType.DATA) {<a name="line.966"></a>
 <span class="sourceLineNo">967</span>        this.dataBlockEncoder.startBlockEncoding(dataBlockEncodingCtx, userDataStream);<a name="line.967"></a>
 <span class="sourceLineNo">968</span>      }<a name="line.968"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/86fde03b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.html
index c5e4c1d..bd91a23 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/HFileBlock.html
@@ -45,7 +45,7 @@
 <span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.fs.HFileSystem;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.io.ByteArrayOutputStream;<a name="line.38"></a>
 <span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.io.ByteBuffInputStream;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferSupportDataOutputStream;<a name="line.40"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.io.ByteBufferWriterDataOutputStream;<a name="line.40"></a>
 <span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.io.FSDataInputStreamWrapper;<a name="line.41"></a>
 <span class="sourceLineNo">042</span>import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;<a name="line.42"></a>
 <span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext;<a name="line.43"></a>
@@ -970,7 +970,7 @@
 <span class="sourceLineNo">962</span>      state = State.WRITING;<a name="line.962"></a>
 <span class="sourceLineNo">963</span><a name="line.963"></a>
 <span class="sourceLineNo">964</span>      // We will compress it later in finishBlock()<a name="line.964"></a>
-<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferSupportDataOutputStream(baosInMemory);<a name="line.965"></a>
+<span class="sourceLineNo">965</span>      userDataStream = new ByteBufferWriterDataOutputStream(baosInMemory);<a name="line.965"></a>
 <span class="sourceLineNo">966</span>      if (newBlockType == BlockType.DATA) {<a name="line.966"></a>
 <span class="sourceLineNo">967</span>        this.dataBlockEncoder.startBlockEncoding(dataBlockEncodingCtx, userDataStream);<a name="line.967"></a>
 <span class="sourceLineNo">968</span>      }<a name="line.968"></a>


Mime
View raw message