hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject [21/30] hbase-site git commit: Updated 0.94 docs to 0f35a32ab123ee299f4aaaea02b4ba2d2b43cff2
Date Wed, 16 Dec 2015 17:00:07 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ecb8d8ba/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html
----------------------------------------------------------------------
diff --git a/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html b/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html
index a448929..ff7ef67 100644
--- a/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html
+++ b/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html
@@ -98,24 +98,24 @@
 <pre>public class <a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html#line.70">RecoverableZooKeeper</a>
 extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a></pre>
 <div class="block">A zookeeper that can handle 'recoverable' errors.
- To handle recoverable errors, developers need to realize that there are two
- classes of requests: idempotent and non-idempotent requests. Read requests
- and unconditional sets and deletes are examples of idempotent requests, they
- can be reissued with the same results.
- (Although, the delete may throw a NoNodeException on reissue its effect on
- the ZooKeeper state is the same.) Non-idempotent requests need special
- handling, application and library writers need to keep in mind that they may
- need to encode information in the data or name of znodes to detect
- retries. A simple example is a create that uses a sequence flag.
- If a process issues a create("/x-", ..., SEQUENCE) and gets a connection
- loss exception, that process will reissue another
- create("/x-", ..., SEQUENCE) and get back x-111. When the process does a
- getChildren("/"), it sees x-1,x-30,x-109,x-110,x-111, now it could be
- that x-109 was the result of the previous create, so the process actually
- owns both x-109 and x-111. An easy way around this is to use "x-process id-"
+ To handle recoverable errors, developers need to realize that there are two 
+ classes of requests: idempotent and non-idempotent requests. Read requests 
+ and unconditional sets and deletes are examples of idempotent requests, they 
+ can be reissued with the same results. 
+ (Although, the delete may throw a NoNodeException on reissue its effect on 
+ the ZooKeeper state is the same.) Non-idempotent requests need special 
+ handling, application and library writers need to keep in mind that they may 
+ need to encode information in the data or name of znodes to detect 
+ retries. A simple example is a create that uses a sequence flag. 
+ If a process issues a create("/x-", ..., SEQUENCE) and gets a connection 
+ loss exception, that process will reissue another 
+ create("/x-", ..., SEQUENCE) and get back x-111. When the process does a 
+ getChildren("/"), it sees x-1,x-30,x-109,x-110,x-111, now it could be 
+ that x-109 was the result of the previous create, so the process actually 
+ owns both x-109 and x-111. An easy way around this is to use "x-process id-" 
  when doing the create. If the process is using an id of 352, before reissuing
- the create it will do a getChildren("/") and see "x-222-1", "x-542-30",
- "x-352-109", x-333-110". The process will know that the original create
+ the create it will do a getChildren("/") and see "x-222-1", "x-542-30", 
+ "x-352-109", x-333-110". The process will know that the original create 
  succeeded an the znode it created is "x-352-109".</div>
 <dl><dt><span class="strong">See Also:</span></dt><dd>"http://wiki.apache.org/hadoop/ZooKeeper/ErrorHandling"</dd></dl>
 </li>
@@ -483,7 +483,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
                                        throws org.apache.zookeeper.KeeperException,
                                               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true"
title="class or interface in java.lang">InterruptedException</a></pre>
 <div class="block">setData is NOT an idempotent operation. Retry may cause BadVersion
Exception
- Adding an identifier field into the data to check whether
+ Adding an identifier field into the data to check whether 
  badversion is caused by the result of previous correctly setData</div>
 <dl><dt><span class="strong">Returns:</span></dt><dd>Stat
instance</dd>
 <dt><span class="strong">Throws:</span></dt>
@@ -504,14 +504,14 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
               throws org.apache.zookeeper.KeeperException,
                      <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true"
title="class or interface in java.lang">InterruptedException</a></pre>
 <div class="block"><p>
- NONSEQUENTIAL create is idempotent operation.
+ NONSEQUENTIAL create is idempotent operation. 
  Retry before throwing exceptions.
  But this function will not throw the NodeExist exception back to the
  application.
  </p>
  <p>
- But SEQUENTIAL is NOT idempotent operation. It is necessary to add
- identifier to the path to verify, whether the previous one is successful
+ But SEQUENTIAL is NOT idempotent operation. It is necessary to add 
+ identifier to the path to verify, whether the previous one is successful 
  or not.
  </p></div>
 <dl><dt><span class="strong">Returns:</span></dt><dd>Path</dd>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ecb8d8ba/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKAssign.html
----------------------------------------------------------------------
diff --git a/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKAssign.html b/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKAssign.html
index 2e0925a..ab3a4ca 100644
--- a/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKAssign.html
+++ b/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKAssign.html
@@ -652,7 +652,7 @@ extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?
  and OFFLINE state.
  <p>
  Sets a watcher on the unassigned region node if the method is successful.
-
+ 
  <p>
  This method should be used when assigning a region.</div>
 <dl><dt><span class="strong">Parameters:</span></dt><dd><code>zkw</code>
- zk reference</dd><dd><code>region</code> - region to be created
as offline</dd><dd><code>serverName</code> - server event originates
from</dd><dd><code>hijack</code> - - true if to be hijacked and reassigned,
false otherwise</dd><dd><code>allowCreation</code> - - true if the
node has to be created newly, false otherwise</dd>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ecb8d8ba/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKSplitLog.TaskState.html
----------------------------------------------------------------------
diff --git a/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKSplitLog.TaskState.html b/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKSplitLog.TaskState.html
index 5fa08a5..a85c9a2 100644
--- a/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKSplitLog.TaskState.html
+++ b/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKSplitLog.TaskState.html
@@ -299,7 +299,7 @@ for (ZKSplitLog.TaskState c : ZKSplitLog.TaskState.values())
 <pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKSplitLog.TaskState.html"
title="enum in org.apache.hadoop.hbase.zookeeper">ZKSplitLog.TaskState</a>&nbsp;<a
href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKSplitLog.TaskState.html#line.259">valueOf</a>(<a
href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns the enum constant of this type with the specified name.
 The string must match <i>exactly</i> an identifier used to declare an
-enum constant in this type.  (Extraneous whitespace characters are
+enum constant in this type.  (Extraneous whitespace characters are 
 not permitted.)</div>
 <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code>
- the name of the enum constant to be returned.</dd>
 <dt><span class="strong">Returns:</span></dt><dd>the enum constant
with the specified name</dd>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ecb8d8ba/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKTable.TableState.html
----------------------------------------------------------------------
diff --git a/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKTable.TableState.html b/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKTable.TableState.html
index 0c31f49..df0b338 100644
--- a/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKTable.TableState.html
+++ b/0.94/apidocs/org/apache/hadoop/hbase/zookeeper/ZKTable.TableState.html
@@ -269,7 +269,7 @@ for (ZKTable.TableState c : ZKTable.TableState.values())
 <pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKTable.TableState.html"
title="enum in org.apache.hadoop.hbase.zookeeper">ZKTable.TableState</a>&nbsp;<a
href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKTable.TableState.html#line.26">valueOf</a>(<a
href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class
or interface in java.lang">String</a>&nbsp;name)</pre>
 <div class="block">Returns the enum constant of this type with the specified name.
 The string must match <i>exactly</i> an identifier used to declare an
-enum constant in this type.  (Extraneous whitespace characters are
+enum constant in this type.  (Extraneous whitespace characters are 
 not permitted.)</div>
 <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code>
- the name of the enum constant to be returned.</dd>
 <dt><span class="strong">Returns:</span></dt><dd>the enum constant
with the specified name</dd>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ecb8d8ba/0.94/apidocs/src-html/org/apache/hadoop/hbase/io/encoding/CopyKeyDataBlockEncoder.html
----------------------------------------------------------------------
diff --git a/0.94/apidocs/src-html/org/apache/hadoop/hbase/io/encoding/CopyKeyDataBlockEncoder.html
b/0.94/apidocs/src-html/org/apache/hadoop/hbase/io/encoding/CopyKeyDataBlockEncoder.html
index 027e36d..6c45914 100644
--- a/0.94/apidocs/src-html/org/apache/hadoop/hbase/io/encoding/CopyKeyDataBlockEncoder.html
+++ b/0.94/apidocs/src-html/org/apache/hadoop/hbase/io/encoding/CopyKeyDataBlockEncoder.html
@@ -33,74 +33,77 @@
 <span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.util.Bytes;<a
name="line.25"></a>
 <span class="sourceLineNo">026</span>import org.apache.hadoop.io.RawComparator;<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> * Just copy data, do not do any kind of
compression. Use for comparison and<a name="line.29"></a>
-<span class="sourceLineNo">030</span> * benchmarking.<a name="line.30"></a>
-<span class="sourceLineNo">031</span> */<a name="line.31"></a>
-<span class="sourceLineNo">032</span>public class CopyKeyDataBlockEncoder extends
BufferedDataBlockEncoder {<a name="line.32"></a>
-<span class="sourceLineNo">033</span>  @Override<a name="line.33"></a>
-<span class="sourceLineNo">034</span>  public void compressKeyValues(DataOutputStream
out,<a name="line.34"></a>
-<span class="sourceLineNo">035</span>      ByteBuffer in, boolean includesMemstoreTS)
throws IOException {<a name="line.35"></a>
-<span class="sourceLineNo">036</span>    in.rewind();<a name="line.36"></a>
-<span class="sourceLineNo">037</span>    ByteBufferUtils.putInt(out, in.limit());<a
name="line.37"></a>
-<span class="sourceLineNo">038</span>    ByteBufferUtils.moveBufferToStream(out,
in, in.limit());<a name="line.38"></a>
-<span class="sourceLineNo">039</span>  }<a name="line.39"></a>
-<span class="sourceLineNo">040</span><a name="line.40"></a>
-<span class="sourceLineNo">041</span>  @Override<a name="line.41"></a>
-<span class="sourceLineNo">042</span>  public ByteBuffer uncompressKeyValues(DataInputStream
source,<a name="line.42"></a>
-<span class="sourceLineNo">043</span>      int preserveHeaderLength, int skipLastBytes,
boolean includesMemstoreTS)<a name="line.43"></a>
-<span class="sourceLineNo">044</span>      throws IOException {<a name="line.44"></a>
-<span class="sourceLineNo">045</span>    int decompressedSize = source.readInt();<a
name="line.45"></a>
-<span class="sourceLineNo">046</span>    ByteBuffer buffer = ByteBuffer.allocate(decompressedSize
+<a name="line.46"></a>
-<span class="sourceLineNo">047</span>        preserveHeaderLength);<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    buffer.position(preserveHeaderLength);<a
name="line.48"></a>
-<span class="sourceLineNo">049</span>    ByteBufferUtils.copyFromStreamToBuffer(buffer,
source, decompressedSize);<a name="line.49"></a>
-<span class="sourceLineNo">050</span><a name="line.50"></a>
-<span class="sourceLineNo">051</span>    return buffer;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>  }<a name="line.52"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.classification.InterfaceAudience;<a
name="line.28"></a>
+<span class="sourceLineNo">029</span><a name="line.29"></a>
+<span class="sourceLineNo">030</span>/**<a name="line.30"></a>
+<span class="sourceLineNo">031</span> * Just copy data, do not do any kind of
compression. Use for comparison and<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * benchmarking.<a name="line.32"></a>
+<span class="sourceLineNo">033</span> */<a name="line.33"></a>
+<span class="sourceLineNo">034</span>@InterfaceAudience.Private<a name="line.34"></a>
+<span class="sourceLineNo">035</span>public class CopyKeyDataBlockEncoder extends
BufferedDataBlockEncoder {<a name="line.35"></a>
+<span class="sourceLineNo">036</span>  @Override<a name="line.36"></a>
+<span class="sourceLineNo">037</span>  public void compressKeyValues(DataOutputStream
out,<a name="line.37"></a>
+<span class="sourceLineNo">038</span>      ByteBuffer in, boolean includesMemstoreTS)
throws IOException {<a name="line.38"></a>
+<span class="sourceLineNo">039</span>    in.rewind();<a name="line.39"></a>
+<span class="sourceLineNo">040</span>    ByteBufferUtils.putInt(out, in.limit());<a
name="line.40"></a>
+<span class="sourceLineNo">041</span>    ByteBufferUtils.moveBufferToStream(out,
in, in.limit());<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>  @Override<a name="line.44"></a>
+<span class="sourceLineNo">045</span>  public ByteBuffer uncompressKeyValues(DataInputStream
source,<a name="line.45"></a>
+<span class="sourceLineNo">046</span>      int preserveHeaderLength, int skipLastBytes,
boolean includesMemstoreTS)<a name="line.46"></a>
+<span class="sourceLineNo">047</span>      throws IOException {<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    int decompressedSize = source.readInt();<a
name="line.48"></a>
+<span class="sourceLineNo">049</span>    ByteBuffer buffer = ByteBuffer.allocate(decompressedSize
+<a name="line.49"></a>
+<span class="sourceLineNo">050</span>        preserveHeaderLength);<a name="line.50"></a>
+<span class="sourceLineNo">051</span>    buffer.position(preserveHeaderLength);<a
name="line.51"></a>
+<span class="sourceLineNo">052</span>    ByteBufferUtils.copyFromStreamToBuffer(buffer,
source, decompressedSize);<a name="line.52"></a>
 <span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span>  @Override<a name="line.54"></a>
-<span class="sourceLineNo">055</span>  public ByteBuffer getFirstKeyInBlock(ByteBuffer
block) {<a name="line.55"></a>
-<span class="sourceLineNo">056</span>    int keyLength = block.getInt(Bytes.SIZEOF_INT);<a
name="line.56"></a>
-<span class="sourceLineNo">057</span>    return ByteBuffer.wrap(block.array(),<a
name="line.57"></a>
-<span class="sourceLineNo">058</span>        block.arrayOffset() + 3 * Bytes.SIZEOF_INT,
keyLength).slice();<a name="line.58"></a>
-<span class="sourceLineNo">059</span>  }<a name="line.59"></a>
-<span class="sourceLineNo">060</span><a name="line.60"></a>
-<span class="sourceLineNo">061</span><a name="line.61"></a>
-<span class="sourceLineNo">062</span>  @Override<a name="line.62"></a>
-<span class="sourceLineNo">063</span>  public String toString() {<a name="line.63"></a>
-<span class="sourceLineNo">064</span>    return CopyKeyDataBlockEncoder.class.getSimpleName();<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 EncodedSeeker createSeeker(RawComparator&lt;byte[]&gt;
comparator,<a name="line.68"></a>
-<span class="sourceLineNo">069</span>      final boolean includesMemstoreTS)
{<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    return new BufferedEncodedSeeker&lt;SeekerState&gt;(comparator)
{<a name="line.70"></a>
-<span class="sourceLineNo">071</span>      @Override<a name="line.71"></a>
-<span class="sourceLineNo">072</span>      protected void decodeNext() {<a
name="line.72"></a>
-<span class="sourceLineNo">073</span>        current.keyLength = currentBuffer.getInt();<a
name="line.73"></a>
-<span class="sourceLineNo">074</span>        current.valueLength = currentBuffer.getInt();<a
name="line.74"></a>
-<span class="sourceLineNo">075</span>        current.ensureSpaceForKey();<a
name="line.75"></a>
-<span class="sourceLineNo">076</span>        currentBuffer.get(current.keyBuffer,
0, current.keyLength);<a name="line.76"></a>
-<span class="sourceLineNo">077</span>        current.valueOffset = currentBuffer.position();<a
name="line.77"></a>
-<span class="sourceLineNo">078</span>        ByteBufferUtils.skip(currentBuffer,
current.valueLength);<a name="line.78"></a>
-<span class="sourceLineNo">079</span>        if (includesMemstoreTS) {<a name="line.79"></a>
-<span class="sourceLineNo">080</span>          current.memstoreTS = ByteBufferUtils.readVLong(currentBuffer);<a
name="line.80"></a>
-<span class="sourceLineNo">081</span>        } else {<a name="line.81"></a>
-<span class="sourceLineNo">082</span>          current.memstoreTS = 0;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>        }<a name="line.83"></a>
-<span class="sourceLineNo">084</span>        current.nextKvOffset = currentBuffer.position();<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>
-<span class="sourceLineNo">087</span>      @Override<a name="line.87"></a>
-<span class="sourceLineNo">088</span>      protected void decodeFirst() {<a
name="line.88"></a>
-<span class="sourceLineNo">089</span>        ByteBufferUtils.skip(currentBuffer,
Bytes.SIZEOF_INT);<a name="line.89"></a>
-<span class="sourceLineNo">090</span>        current.lastCommonPrefix = 0;<a
name="line.90"></a>
-<span class="sourceLineNo">091</span>        decodeNext();<a name="line.91"></a>
-<span class="sourceLineNo">092</span>      }<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    };<a name="line.93"></a>
-<span class="sourceLineNo">094</span>  }<a name="line.94"></a>
-<span class="sourceLineNo">095</span>}<a name="line.95"></a>
+<span class="sourceLineNo">054</span>    return buffer;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>  }<a name="line.55"></a>
+<span class="sourceLineNo">056</span><a name="line.56"></a>
+<span class="sourceLineNo">057</span>  @Override<a name="line.57"></a>
+<span class="sourceLineNo">058</span>  public ByteBuffer getFirstKeyInBlock(ByteBuffer
block) {<a name="line.58"></a>
+<span class="sourceLineNo">059</span>    int keyLength = block.getInt(Bytes.SIZEOF_INT);<a
name="line.59"></a>
+<span class="sourceLineNo">060</span>    return ByteBuffer.wrap(block.array(),<a
name="line.60"></a>
+<span class="sourceLineNo">061</span>        block.arrayOffset() + 3 * Bytes.SIZEOF_INT,
keyLength).slice();<a name="line.61"></a>
+<span class="sourceLineNo">062</span>  }<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>  @Override<a name="line.65"></a>
+<span class="sourceLineNo">066</span>  public String toString() {<a name="line.66"></a>
+<span class="sourceLineNo">067</span>    return CopyKeyDataBlockEncoder.class.getSimpleName();<a
name="line.67"></a>
+<span class="sourceLineNo">068</span>  }<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span>  @Override<a name="line.70"></a>
+<span class="sourceLineNo">071</span>  public EncodedSeeker createSeeker(RawComparator&lt;byte[]&gt;
comparator,<a name="line.71"></a>
+<span class="sourceLineNo">072</span>      final boolean includesMemstoreTS)
{<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    return new BufferedEncodedSeeker&lt;SeekerState&gt;(comparator)
{<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      @Override<a name="line.74"></a>
+<span class="sourceLineNo">075</span>      protected void decodeNext() {<a
name="line.75"></a>
+<span class="sourceLineNo">076</span>        current.keyLength = currentBuffer.getInt();<a
name="line.76"></a>
+<span class="sourceLineNo">077</span>        current.valueLength = currentBuffer.getInt();<a
name="line.77"></a>
+<span class="sourceLineNo">078</span>        current.ensureSpaceForKey();<a
name="line.78"></a>
+<span class="sourceLineNo">079</span>        currentBuffer.get(current.keyBuffer,
0, current.keyLength);<a name="line.79"></a>
+<span class="sourceLineNo">080</span>        current.valueOffset = currentBuffer.position();<a
name="line.80"></a>
+<span class="sourceLineNo">081</span>        ByteBufferUtils.skip(currentBuffer,
current.valueLength);<a name="line.81"></a>
+<span class="sourceLineNo">082</span>        if (includesMemstoreTS) {<a name="line.82"></a>
+<span class="sourceLineNo">083</span>          current.memstoreTS = ByteBufferUtils.readVLong(currentBuffer);<a
name="line.83"></a>
+<span class="sourceLineNo">084</span>        } else {<a name="line.84"></a>
+<span class="sourceLineNo">085</span>          current.memstoreTS = 0;<a name="line.85"></a>
+<span class="sourceLineNo">086</span>        }<a name="line.86"></a>
+<span class="sourceLineNo">087</span>        current.nextKvOffset = currentBuffer.position();<a
name="line.87"></a>
+<span class="sourceLineNo">088</span>      }<a name="line.88"></a>
+<span class="sourceLineNo">089</span><a name="line.89"></a>
+<span class="sourceLineNo">090</span>      @Override<a name="line.90"></a>
+<span class="sourceLineNo">091</span>      protected void decodeFirst() {<a
name="line.91"></a>
+<span class="sourceLineNo">092</span>        ByteBufferUtils.skip(currentBuffer,
Bytes.SIZEOF_INT);<a name="line.92"></a>
+<span class="sourceLineNo">093</span>        current.lastCommonPrefix = 0;<a
name="line.93"></a>
+<span class="sourceLineNo">094</span>        decodeNext();<a name="line.94"></a>
+<span class="sourceLineNo">095</span>      }<a name="line.95"></a>
+<span class="sourceLineNo">096</span>    };<a name="line.96"></a>
+<span class="sourceLineNo">097</span>  }<a name="line.97"></a>
+<span class="sourceLineNo">098</span>}<a name="line.98"></a>
 
 
 


Mime
View raw message