http://git-wip-us.apache.org/repos/asf/hbase-site/blob/1b8ca438/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html b/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html index df5ff08..03f87b4 100644 --- a/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html +++ b/devapidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html @@ -643,7 +643,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>VALUE_MASK</h4> -<pre>public static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.48">VALUE_MASK</a></pre> +<pre>public static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.47">VALUE_MASK</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.util.ByteBufferUtils.VALUE_MASK">Constant Field Values</a></dd> @@ -656,7 +656,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>NEXT_BIT_SHIFT</h4> -<pre>public static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.49">NEXT_BIT_SHIFT</a></pre> +<pre>public static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.48">NEXT_BIT_SHIFT</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.util.ByteBufferUtils.NEXT_BIT_SHIFT">Constant Field Values</a></dd> @@ -669,7 +669,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>NEXT_BIT_MASK</h4> -<pre>public static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.50">NEXT_BIT_MASK</a></pre> +<pre>public static final int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.49">NEXT_BIT_MASK</a></pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.util.ByteBufferUtils.NEXT_BIT_MASK">Constant Field Values</a></dd> @@ -682,7 +682,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>UNSAFE_AVAIL</h4> -<pre>static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.52">UNSAFE_AVAIL</a></pre> +<pre>static final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.51">UNSAFE_AVAIL</a></pre> </li> </ul> <a name="UNSAFE_UNALIGNED"> @@ -691,7 +691,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>UNSAFE_UNALIGNED</h4> -<pre>static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.54">UNSAFE_UNALIGNED</a></pre> +<pre>static final boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.53">UNSAFE_UNALIGNED</a></pre> </li> </ul> </li> @@ -708,7 +708,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>ByteBufferUtils</h4> -<pre>private <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.56">ByteBufferUtils</a>()</pre> +<pre>private <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.55">ByteBufferUtils</a>()</pre> </li> </ul> </li> @@ -725,7 +725,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>writeVLong</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.63">writeVLong</a>(<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> out, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.62">writeVLong</a>(<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> out, long i)</pre> <div class="block">Similar to <code>WritableUtils.writeVLong(java.io.DataOutput, long)</code>, but writes to a <a href="http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a>.</div> @@ -737,7 +737,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>readVLong</h4> -<pre>public static long <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.96">readVLong</a>(<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> in)</pre> +<pre>public static long <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.95">readVLong</a>(<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> in)</pre> <div class="block">Similar to <code>WritableUtils.readVLong(DataInput)</code> but reads from a <a href="http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a>.</div> </li> @@ -748,7 +748,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>putCompressedInt</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.121">putCompressedInt</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.120">putCompressedInt</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, int value) 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">Put in buffer integer using 7 bit encoding. For each written byte: @@ -771,7 +771,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>putInt</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.143">putInt</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.142">putInt</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, int value) 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">Put in output stream 32 bit integer (Big Endian byte order).</div> @@ -790,7 +790,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toByte</h4> -<pre>public static byte <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.155">toByte</a>(<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> buffer, +<pre>public static byte <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.154">toByte</a>(<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> buffer, int offset)</pre> </li> </ul> @@ -800,7 +800,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>moveBufferToStream</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.169">moveBufferToStream</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.168">moveBufferToStream</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, <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> in, int length) 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> @@ -821,7 +821,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyBufferToStream</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.184">copyBufferToStream</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.183">copyBufferToStream</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, <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> in, int offset, int length) @@ -846,7 +846,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>putLong</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.197">putLong</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.196">putLong</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, long value, int fitInBytes) 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> @@ -862,7 +862,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>putByte</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.207">putByte</a>(<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> buffer, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.206">putByte</a>(<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> buffer, int offset, byte b)</pre> </li> @@ -873,7 +873,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>longFitsIn</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.221">longFitsIn</a>(long value)</pre> +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.220">longFitsIn</a>(long value)</pre> <div class="block">Check how many bytes are required to store value.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -889,7 +889,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>intFitsIn</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.257">intFitsIn</a>(int value)</pre> +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.256">intFitsIn</a>(int value)</pre> <div class="block">Check how many bytes is required to store value.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -905,7 +905,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>readCompressedInt</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.279">readCompressedInt</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> input) +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.278">readCompressedInt</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> input) 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">Read integer from stream coded in 7 bits and increment position.</div> <dl> @@ -922,7 +922,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>readCompressedInt</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.300">readCompressedInt</a>(<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> buffer)</pre> +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.299">readCompressedInt</a>(<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> buffer)</pre> <div class="block">Read integer from buffer coded in 7 bits and increment position.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> @@ -936,7 +936,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>readLong</h4> -<pre>public static long <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.314">readLong</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in, +<pre>public static long <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.313">readLong</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in, int fitInBytes) 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">Read long which was written to fitInBytes bytes and increment position.</div> @@ -956,7 +956,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>readLong</h4> -<pre>public static long <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.328">readLong</a>(<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> in, +<pre>public static long <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.327">readLong</a>(<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> in, int fitInBytes)</pre> <div class="block">Read long which was written to fitInBytes bytes and increment position.</div> <dl> @@ -973,7 +973,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyFromStreamToBuffer</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.343">copyFromStreamToBuffer</a>(<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> out, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.342">copyFromStreamToBuffer</a>(<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> out, <a href="http://docs.oracle.com/javase/8/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</a> in, int length) 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> @@ -995,7 +995,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>drainInputStreamToBuffer</h4> -<pre>public static <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/util/ByteBufferUtils.html#line.359">drainInputStreamToBuffer</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is) +<pre>public static <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/util/ByteBufferUtils.html#line.358">drainInputStreamToBuffer</a>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> is) 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">Copy from the InputStream to a new heap ByteBuffer until the InputStream is exhausted.</div> <dl> @@ -1010,7 +1010,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyFromBufferToBuffer</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.374">copyFromBufferToBuffer</a>(<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> in, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.373">copyFromBufferToBuffer</a>(<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> in, <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> out)</pre> <div class="block">Copy one buffer's whole data to another. Write starts at the current position of 'out' buffer. Note : This will advance the position marker of <code>out</code> and also change the position maker @@ -1028,7 +1028,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyFromBufferToBuffer</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.399">copyFromBufferToBuffer</a>(<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> in, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.398">copyFromBufferToBuffer</a>(<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> in, <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> out, int sourceOffset, int destinationOffset, @@ -1051,7 +1051,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyFromBufferToBuffer</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.427">copyFromBufferToBuffer</a>(<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> in, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.425">copyFromBufferToBuffer</a>(<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> in, <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> out, int sourceOffset, int length)</pre> @@ -1074,7 +1074,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>findCommonPrefix</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.451">findCommonPrefix</a>(<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> buffer, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.449">findCommonPrefix</a>(<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> buffer, int offsetLeft, int offsetRight, int limit)</pre> @@ -1096,7 +1096,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>findCommonPrefix</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.473">findCommonPrefix</a>(byte[] left, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.471">findCommonPrefix</a>(byte[] left, int leftOffset, int leftLength, byte[] right, @@ -1120,7 +1120,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>findCommonPrefix</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.496">findCommonPrefix</a>(<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> left, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.494">findCommonPrefix</a>(<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> left, int leftOffset, int leftLength, <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> right, @@ -1144,7 +1144,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>arePartsEqual</h4> -<pre>public static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.518">arePartsEqual</a>(<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> buffer, +<pre>public static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.516">arePartsEqual</a>(<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> buffer, int offsetLeft, int lengthLeft, int offsetRight, @@ -1168,7 +1168,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>skip</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.544">skip</a>(<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> buffer, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.542">skip</a>(<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> buffer, int length)</pre> <div class="block">Increment position in buffer.</div> <dl> @@ -1184,7 +1184,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>extendLimit</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.548">extendLimit</a>(<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> buffer, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.546">extendLimit</a>(<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> buffer, int numBytes)</pre> </li> </ul> @@ -1194,7 +1194,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toBytes</h4> -<pre>public static byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.559">toBytes</a>(<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> buffer, +<pre>public static byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.557">toBytes</a>(<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> buffer, int startPosition)</pre> <div class="block">Copy the bytes from position to limit into a new byte[] of the exact length and sets the position and limit back to their original values (though not thread safe).</div> @@ -1213,7 +1213,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toBytes</h4> -<pre>public static byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.575">toBytes</a>(<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> buffer, +<pre>public static byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.573">toBytes</a>(<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> buffer, int offset, int length)</pre> <div class="block">Copy the given number of bytes from specified offset into a new byte[]</div> @@ -1233,7 +1233,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>equals</h4> -<pre>public static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.583">equals</a>(<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> buf1, +<pre>public static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.581">equals</a>(<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> buf1, int o1, int l1, <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> buf2, @@ -1247,7 +1247,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>hashCode</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.603">hashCode</a>(<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> buf, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.601">hashCode</a>(<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> buf, int offset, int length)</pre> <dl> @@ -1264,7 +1264,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>compareTo</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.611">compareTo</a>(<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> buf1, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.609">compareTo</a>(<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> buf1, int o1, int l1, <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> buf2, @@ -1278,7 +1278,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>equals</h4> -<pre>public static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.641">equals</a>(<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> buf1, +<pre>public static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.639">equals</a>(<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> buf1, int o1, int l1, byte[] buf2, @@ -1292,7 +1292,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>compareTo</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.653">compareTo</a>(byte[] buf1, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.651">compareTo</a>(byte[] buf1, int o1, int l1, <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> buf2, @@ -1306,7 +1306,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>compareTo</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.680">compareTo</a>(<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> buf1, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.678">compareTo</a>(<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> buf1, int o1, int l1, byte[] buf2, @@ -1320,7 +1320,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>compareToUnsafe</h4> -<pre>static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.705">compareToUnsafe</a>(<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> obj1, +<pre>static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.703">compareToUnsafe</a>(<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> obj1, long o1, int l1, <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> obj2, @@ -1334,7 +1334,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>lessThanUnsignedLong</h4> -<pre>private static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.755">lessThanUnsignedLong</a>(long x1, +<pre>private static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.753">lessThanUnsignedLong</a>(long x1, long x2)</pre> </li> </ul> @@ -1344,7 +1344,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>lessThanUnsignedInt</h4> -<pre>private static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.767">lessThanUnsignedInt</a>(int x1, +<pre>private static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.765">lessThanUnsignedInt</a>(int x1, int x2)</pre> </li> </ul> @@ -1354,7 +1354,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>lessThanUnsignedShort</h4> -<pre>private static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.779">lessThanUnsignedShort</a>(short x1, +<pre>private static boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.777">lessThanUnsignedShort</a>(short x1, short x2)</pre> </li> </ul> @@ -1364,7 +1364,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toShort</h4> -<pre>public static short <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.793">toShort</a>(<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> buffer, +<pre>public static short <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.791">toShort</a>(<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> buffer, int offset)</pre> <div class="block">Reads a short value at the given buffer's offset.</div> <dl> @@ -1382,7 +1382,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toInt</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.804">toInt</a>(<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> buffer)</pre> +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.802">toInt</a>(<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> buffer)</pre> <div class="block">Reads an int value at the given buffer's current position. Also advances the buffer's position</div> </li> </ul> @@ -1392,7 +1392,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toInt</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.820">toInt</a>(<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> buffer, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.818">toInt</a>(<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> buffer, int offset)</pre> <div class="block">Reads an int value at the given buffer's offset.</div> <dl> @@ -1410,7 +1410,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>readAsInt</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.838">readAsInt</a>(<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> buf, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.836">readAsInt</a>(<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> buf, int offset, int length)</pre> <div class="block">Converts a ByteBuffer to an int value</div> @@ -1432,7 +1432,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toLong</h4> -<pre>public static long <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.857">toLong</a>(<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> buffer, +<pre>public static long <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.855">toLong</a>(<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> buffer, int offset)</pre> <div class="block">Reads a long value at the given buffer's offset.</div> <dl> @@ -1450,7 +1450,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>putInt</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.871">putInt</a>(<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> buffer, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.869">putInt</a>(<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> buffer, int val)</pre> <div class="block">Put an int value out to the given ByteBuffer's current position in big-endian format. This also advances the position in buffer by int size.</div> @@ -1467,7 +1467,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>putInt</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.880">putInt</a>(<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> buffer, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.878">putInt</a>(<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> buffer, int index, int val)</pre> </li> @@ -1478,7 +1478,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toDouble</h4> -<pre>public static double <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.894">toDouble</a>(<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> buffer, +<pre>public static double <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.892">toDouble</a>(<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> buffer, int offset)</pre> <div class="block">Reads a double value at the given buffer's offset.</div> <dl> @@ -1496,7 +1496,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toBigDecimal</h4> -<pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.904">toBigDecimal</a>(<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> buffer, +<pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.902">toBigDecimal</a>(<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> buffer, int offset, int length)</pre> <div class="block">Reads a BigDecimal value at the given buffer's offset.</div> @@ -1515,7 +1515,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>putShort</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.922">putShort</a>(<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> buffer, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.920">putShort</a>(<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> buffer, short val)</pre> <div class="block">Put a short value out to the given ByteBuffer's current position in big-endian format. This also advances the position in buffer by short size.</div> @@ -1532,7 +1532,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>putShort</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.931">putShort</a>(<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> buffer, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.929">putShort</a>(<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> buffer, int index, short val)</pre> </li> @@ -1543,7 +1543,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>putAsShort</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.939">putAsShort</a>(<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> buf, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.937">putAsShort</a>(<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> buf, int index, int val)</pre> </li> @@ -1554,7 +1554,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>putLong</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.952">putLong</a>(<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> buffer, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.950">putLong</a>(<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> buffer, long val)</pre> <div class="block">Put a long value out to the given ByteBuffer's current position in big-endian format. This also advances the position in buffer by long size.</div> @@ -1571,7 +1571,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>putLong</h4> -<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.961">putLong</a>(<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> buffer, +<pre>public static int <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.959">putLong</a>(<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> buffer, int index, long val)</pre> </li> @@ -1582,7 +1582,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyFromArrayToBuffer</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.977">copyFromArrayToBuffer</a>(<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> out, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.975">copyFromArrayToBuffer</a>(<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> out, byte[] in, int inOffset, int length)</pre> @@ -1603,13 +1603,13 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyFromArrayToBuffer</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.999">copyFromArrayToBuffer</a>(<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> out, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.997">copyFromArrayToBuffer</a>(<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> out, int outOffset, byte[] in, int inOffset, int length)</pre> <div class="block">Copies bytes from given array's offset to length part into the given buffer. Puts the bytes - to buffer's given position.</div> + to buffer's given position. This doesn't affact the position of buffer.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>out</code> - </dd> @@ -1625,13 +1625,13 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyFromBufferToArray</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.1022">copyFromBufferToArray</a>(byte[] out, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.1019">copyFromBufferToArray</a>(byte[] out, <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> in, int sourceOffset, int destinationOffset, int length)</pre> <div class="block">Copies specified number of bytes from given offset of 'in' ByteBuffer to - the array.</div> + the array. This doesn't affact the position of buffer.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>out</code> - </dd> @@ -1648,7 +1648,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>copyOfRange</h4> -<pre>public static byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.1043">copyOfRange</a>(<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> original, +<pre>public static byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.1039">copyOfRange</a>(<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> original, int from, int to)</pre> <div class="block">Similar to <a href="http://docs.oracle.com/javase/8/docs/api/java/util/Arrays.html?is-external=true#copyOfRange-byte:A-int-int-" title="class or interface in java.util"><code>Arrays.copyOfRange(byte[], int, int)</code></a></div> @@ -1668,7 +1668,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>toStringBinary</h4> -<pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.1052">toStringBinary</a>(<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> b, +<pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.1048">toStringBinary</a>(<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> b, int off, int len)</pre> </li> @@ -1679,7 +1679,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>toStringBinary</h4> -<pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.1071">toStringBinary</a>(<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> b)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.1067">toStringBinary</a>(<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> b)</pre> </li> </ul> </li>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/1b8ca438/devapidocs/org/apache/hadoop/hbase/util/package-tree.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/util/package-tree.html b/devapidocs/org/apache/hadoop/hbase/util/package-tree.html index 72993f6..a3dccc9 100644 --- a/devapidocs/org/apache/hadoop/hbase/util/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/util/package-tree.html @@ -519,14 +519,14 @@ <ul> <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>) <ul> -<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/HBaseFsck.ErrorReporter.ERROR_CODE.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">HBaseFsck.ErrorReporter.ERROR_CODE</span></a></li> -<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/IdReadWriteLock.ReferenceType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">IdReadWriteLock.ReferenceType</span></a></li> +<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Order.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Order</span></a></li> <li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/PrettyPrinter.Unit.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">PrettyPrinter.Unit</span></a></li> +<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/ChecksumType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">ChecksumType</span></a></li> +<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/IdReadWriteLock.ReferenceType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">IdReadWriteLock.ReferenceType</span></a></li> <li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/PoolMap.PoolType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">PoolMap.PoolType</span></a></li> -<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.PureJavaComparer.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Bytes.LexicographicalComparerHolder.PureJavaComparer</span></a> (implements org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.Comparer.html" title="interface in org.apache.hadoop.hbase.util">Bytes.Comparer</a><T>)</li> <li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.UnsafeComparer.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Bytes.LexicographicalComparerHolder.UnsafeComparer</span></a> (implements org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.Comparer.html" title="interface in org.apache.hadoop.hbase.util">Bytes.Comparer</a><T>)</li> -<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/ChecksumType.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">ChecksumType</span></a></li> -<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Order.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Order</span></a></li> +<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/HBaseFsck.ErrorReporter.ERROR_CODE.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">HBaseFsck.ErrorReporter.ERROR_CODE</span></a></li> +<li type="circle">org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.LexicographicalComparerHolder.PureJavaComparer.html" title="enum in org.apache.hadoop.hbase.util"><span class="typeNameLink">Bytes.LexicographicalComparerHolder.PureJavaComparer</span></a> (implements org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/Bytes.Comparer.html" title="interface in org.apache.hadoop.hbase.util">Bytes.Comparer</a><T>)</li> </ul> </li> </ul> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/1b8ca438/devapidocs/org/apache/hadoop/hbase/wal/WAL.Entry.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/wal/WAL.Entry.html b/devapidocs/org/apache/hadoop/hbase/wal/WAL.Entry.html index b15d1d1..8045b64 100644 --- a/devapidocs/org/apache/hadoop/hbase/wal/WAL.Entry.html +++ b/devapidocs/org/apache/hadoop/hbase/wal/WAL.Entry.html @@ -339,7 +339,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>hasSerialReplicationScope</h4> -<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.278">hasSerialReplicationScope</a>()</pre> +<pre>public boolean <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.277">hasSerialReplicationScope</a>()</pre> </li> </ul> <a name="toString--"> @@ -348,7 +348,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>toString</h4> -<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.291">toString</a>()</pre> +<pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/wal/WAL.Entry.html#line.290">toString</a>()</pre> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
