http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e4348f53/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCell.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCell.html index 5111fbb..72a4f31 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCell.html @@ -42,46 +42,56 @@ <span class="sourceLineNo">034</span>public interface ExtendedCell extends Cell, SettableSequenceId, SettableTimestamp, HeapSize,<a name="line.34"></a> <span class="sourceLineNo">035</span> Cloneable {<a name="line.35"></a> <span class="sourceLineNo">036</span><a name="line.36"></a> -<span class="sourceLineNo">037</span> /**<a name="line.37"></a> -<span class="sourceLineNo">038</span> * Write this cell to an OutputStream in a {@link KeyValue} format.<a name="line.38"></a> -<span class="sourceLineNo">039</span> * <br> KeyValue format <br><a name="line.39"></a> -<span class="sourceLineNo">040</span> * <code>&lt;4 bytes keylength&gt; &lt;4 bytes valuelength&gt; &lt;2 bytes rowlength&gt;<a name="line.40"></a> -<span class="sourceLineNo">041</span> * &lt;row&gt; &lt;1 byte columnfamilylength&gt; &lt;columnfamily&gt; &lt;columnqualifier&gt;<a name="line.41"></a> -<span class="sourceLineNo">042</span> * &lt;8 bytes timestamp&gt; &lt;1 byte keytype&gt; &lt;value&gt; &lt;2 bytes tagslength&gt;<a name="line.42"></a> -<span class="sourceLineNo">043</span> * &lt;tags&gt;</code><a name="line.43"></a> -<span class="sourceLineNo">044</span> * @param out Stream to which cell has to be written<a name="line.44"></a> -<span class="sourceLineNo">045</span> * @param withTags Whether to write tags.<a name="line.45"></a> -<span class="sourceLineNo">046</span> * @return how many bytes are written.<a name="line.46"></a> -<span class="sourceLineNo">047</span> * @throws IOException<a name="line.47"></a> -<span class="sourceLineNo">048</span> */<a name="line.48"></a> -<span class="sourceLineNo">049</span> // TODO remove the boolean param once HBASE-16706 is done.<a name="line.49"></a> -<span class="sourceLineNo">050</span> int write(OutputStream out, boolean withTags) throws IOException;<a name="line.50"></a> -<span class="sourceLineNo">051</span><a name="line.51"></a> -<span class="sourceLineNo">052</span> /**<a name="line.52"></a> -<span class="sourceLineNo">053</span> * @param withTags Whether to write tags.<a name="line.53"></a> -<span class="sourceLineNo">054</span> * @return Bytes count required to serialize this Cell in a {@link KeyValue} format.<a name="line.54"></a> -<span class="sourceLineNo">055</span> * <br> KeyValue format <br><a name="line.55"></a> -<span class="sourceLineNo">056</span> * <code>&lt;4 bytes keylength&gt; &lt;4 bytes valuelength&gt; &lt;2 bytes rowlength&gt;<a name="line.56"></a> -<span class="sourceLineNo">057</span> * &lt;row&gt; &lt;1 byte columnfamilylength&gt; &lt;columnfamily&gt; &lt;columnqualifier&gt;<a name="line.57"></a> -<span class="sourceLineNo">058</span> * &lt;8 bytes timestamp&gt; &lt;1 byte keytype&gt; &lt;value&gt; &lt;2 bytes tagslength&gt;<a name="line.58"></a> -<span class="sourceLineNo">059</span> * &lt;tags&gt;</code><a name="line.59"></a> -<span class="sourceLineNo">060</span> */<a name="line.60"></a> -<span class="sourceLineNo">061</span> // TODO remove the boolean param once HBASE-16706 is done.<a name="line.61"></a> -<span class="sourceLineNo">062</span> int getSerializedSize(boolean withTags);<a name="line.62"></a> -<span class="sourceLineNo">063</span><a name="line.63"></a> -<span class="sourceLineNo">064</span> /**<a name="line.64"></a> -<span class="sourceLineNo">065</span> * Write this Cell into the given buf's offset in a {@link KeyValue} format.<a name="line.65"></a> -<span class="sourceLineNo">066</span> * @param buf The buffer where to write the Cell.<a name="line.66"></a> -<span class="sourceLineNo">067</span> * @param offset The offset within buffer, to write the Cell.<a name="line.67"></a> -<span class="sourceLineNo">068</span> */<a name="line.68"></a> -<span class="sourceLineNo">069</span> void write(ByteBuffer buf, int offset);<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> * Does a deep copy of the contents to a new memory area and returns it as a new cell.<a name="line.72"></a> -<span class="sourceLineNo">073</span> * @return The deep cloned cell<a name="line.73"></a> -<span class="sourceLineNo">074</span> */<a name="line.74"></a> -<span class="sourceLineNo">075</span> Cell deepClone();<a name="line.75"></a> -<span class="sourceLineNo">076</span>}<a name="line.76"></a> +<span class="sourceLineNo">037</span> public static int CELL_NOT_BASED_ON_CHUNK = -1;<a name="line.37"></a> +<span class="sourceLineNo">038</span> /**<a name="line.38"></a> +<span class="sourceLineNo">039</span> * Write this cell to an OutputStream in a {@link KeyValue} format.<a name="line.39"></a> +<span class="sourceLineNo">040</span> * <br> KeyValue format <br><a name="line.40"></a> +<span class="sourceLineNo">041</span> * <code>&lt;4 bytes keylength&gt; &lt;4 bytes valuelength&gt; &lt;2 bytes rowlength&gt;<a name="line.41"></a> +<span class="sourceLineNo">042</span> * &lt;row&gt; &lt;1 byte columnfamilylength&gt; &lt;columnfamily&gt; &lt;columnqualifier&gt;<a name="line.42"></a> +<span class="sourceLineNo">043</span> * &lt;8 bytes timestamp&gt; &lt;1 byte keytype&gt; &lt;value&gt; &lt;2 bytes tagslength&gt;<a name="line.43"></a> +<span class="sourceLineNo">044</span> * &lt;tags&gt;</code><a name="line.44"></a> +<span class="sourceLineNo">045</span> * @param out Stream to which cell has to be written<a name="line.45"></a> +<span class="sourceLineNo">046</span> * @param withTags Whether to write tags.<a name="line.46"></a> +<span class="sourceLineNo">047</span> * @return how many bytes are written.<a name="line.47"></a> +<span class="sourceLineNo">048</span> * @throws IOException<a name="line.48"></a> +<span class="sourceLineNo">049</span> */<a name="line.49"></a> +<span class="sourceLineNo">050</span> // TODO remove the boolean param once HBASE-16706 is done.<a name="line.50"></a> +<span class="sourceLineNo">051</span> int write(OutputStream out, boolean withTags) throws IOException;<a name="line.51"></a> +<span class="sourceLineNo">052</span><a name="line.52"></a> +<span class="sourceLineNo">053</span> /**<a name="line.53"></a> +<span class="sourceLineNo">054</span> * @param withTags Whether to write tags.<a name="line.54"></a> +<span class="sourceLineNo">055</span> * @return Bytes count required to serialize this Cell in a {@link KeyValue} format.<a name="line.55"></a> +<span class="sourceLineNo">056</span> * <br> KeyValue format <br><a name="line.56"></a> +<span class="sourceLineNo">057</span> * <code>&lt;4 bytes keylength&gt; &lt;4 bytes valuelength&gt; &lt;2 bytes rowlength&gt;<a name="line.57"></a> +<span class="sourceLineNo">058</span> * &lt;row&gt; &lt;1 byte columnfamilylength&gt; &lt;columnfamily&gt; &lt;columnqualifier&gt;<a name="line.58"></a> +<span class="sourceLineNo">059</span> * &lt;8 bytes timestamp&gt; &lt;1 byte keytype&gt; &lt;value&gt; &lt;2 bytes tagslength&gt;<a name="line.59"></a> +<span class="sourceLineNo">060</span> * &lt;tags&gt;</code><a name="line.60"></a> +<span class="sourceLineNo">061</span> */<a name="line.61"></a> +<span class="sourceLineNo">062</span> // TODO remove the boolean param once HBASE-16706 is done.<a name="line.62"></a> +<span class="sourceLineNo">063</span> int getSerializedSize(boolean withTags);<a name="line.63"></a> +<span class="sourceLineNo">064</span><a name="line.64"></a> +<span class="sourceLineNo">065</span> /**<a name="line.65"></a> +<span class="sourceLineNo">066</span> * Write this Cell into the given buf's offset in a {@link KeyValue} format.<a name="line.66"></a> +<span class="sourceLineNo">067</span> * @param buf The buffer where to write the Cell.<a name="line.67"></a> +<span class="sourceLineNo">068</span> * @param offset The offset within buffer, to write the Cell.<a name="line.68"></a> +<span class="sourceLineNo">069</span> */<a name="line.69"></a> +<span class="sourceLineNo">070</span> void write(ByteBuffer buf, int offset);<a name="line.70"></a> +<span class="sourceLineNo">071</span><a name="line.71"></a> +<span class="sourceLineNo">072</span> /**<a name="line.72"></a> +<span class="sourceLineNo">073</span> * Does a deep copy of the contents to a new memory area and returns it as a new cell.<a name="line.73"></a> +<span class="sourceLineNo">074</span> * @return The deep cloned cell<a name="line.74"></a> +<span class="sourceLineNo">075</span> */<a name="line.75"></a> +<span class="sourceLineNo">076</span> Cell deepClone();<a name="line.76"></a> +<span class="sourceLineNo">077</span><a name="line.77"></a> +<span class="sourceLineNo">078</span> /**<a name="line.78"></a> +<span class="sourceLineNo">079</span> * Extracts the id of the backing bytebuffer of this cell if it was obtained from fixed sized<a name="line.79"></a> +<span class="sourceLineNo">080</span> * chunks as in case of MemstoreLAB<a name="line.80"></a> +<span class="sourceLineNo">081</span> * @return the chunk id if the cell is backed by fixed sized Chunks, else return -1<a name="line.81"></a> +<span class="sourceLineNo">082</span> */<a name="line.82"></a> +<span class="sourceLineNo">083</span> default int getChunkId() {<a name="line.83"></a> +<span class="sourceLineNo">084</span> return CELL_NOT_BASED_ON_CHUNK;<a name="line.84"></a> +<span class="sourceLineNo">085</span> }<a name="line.85"></a> +<span class="sourceLineNo">086</span>}<a name="line.86"></a>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e4348f53/devapidocs/src-html/org/apache/hadoop/hbase/Version.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html index 18e7371..d193f10 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html @@ -16,11 +16,11 @@ <span class="sourceLineNo">008</span>@InterfaceAudience.Private<a name="line.8"></a> <span class="sourceLineNo">009</span>public class Version {<a name="line.9"></a> <span class="sourceLineNo">010</span> public static final String version = "2.0.0-SNAPSHOT";<a name="line.10"></a> -<span class="sourceLineNo">011</span> public static final String revision = "0cd4cec5d24b5e7194a903e4d900f5558ed8b9a7";<a name="line.11"></a> +<span class="sourceLineNo">011</span> public static final String revision = "c2c2178b2eebe4439eadec6b37fae2566944c16b";<a name="line.11"></a> <span class="sourceLineNo">012</span> public static final String user = "jenkins";<a name="line.12"></a> -<span class="sourceLineNo">013</span> public static final String date = "Sat Apr 15 14:38:43 UTC 2017";<a name="line.13"></a> +<span class="sourceLineNo">013</span> public static final String date = "Mon Apr 17 14:38:52 UTC 2017";<a name="line.13"></a> <span class="sourceLineNo">014</span> public static final String url = "git://asf920.gq1.ygridcore.net/home/jenkins/jenkins-slave/workspace/hbase_generate_website/hbase";<a name="line.14"></a> -<span class="sourceLineNo">015</span> public static final String srcChecksum = "10edd451996c9718f54bf7c0638a70c1";<a name="line.15"></a> +<span class="sourceLineNo">015</span> public static final String srcChecksum = "b51d028ebf6fb189716a4f74bc64788e";<a name="line.15"></a> <span class="sourceLineNo">016</span>}<a name="line.16"></a>
