http://git-wip-us.apache.org/repos/asf/hbase-site/blob/d9f3c819/apidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html b/apidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html index 2ebd7ae..714916a 100644 --- a/apidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html +++ b/apidocs/org/apache/hadoop/hbase/util/ByteBufferUtils.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -367,52 +367,76 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? </tr> <tr id="i24" class="altColor"> <td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#putAsShort-java.nio.ByteBuffer-int-int-">putAsShort</a></span>(<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)</code> </td> +</tr> +<tr id="i25" class="rowColor"> +<td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#putByte-java.nio.ByteBuffer-int-byte-">putByte</a></span>(<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)</code> </td> </tr> -<tr id="i25" class="rowColor"> +<tr id="i26" class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#putCompressedInt-java.io.OutputStream-int-">putCompressedInt</a></span>(<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)</code> <div class="block">Put in buffer integer using 7 bit encoding.</div> </td> </tr> -<tr id="i26" class="altColor"> +<tr id="i27" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#putInt-java.nio.ByteBuffer-int-">putInt</a></span>(<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)</code> <div class="block">Put an int value out to the given ByteBuffer's current position in big-endian format.</div> </td> </tr> -<tr id="i27" class="rowColor"> +<tr id="i28" class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#putInt-java.nio.ByteBuffer-int-int-">putInt</a></span>(<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)</code> </td> +</tr> +<tr id="i29" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#putInt-java.io.OutputStream-int-">putInt</a></span>(<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)</code> <div class="block">Put in output stream 32 bit integer (Big Endian byte order).</div> </td> </tr> -<tr id="i28" class="altColor"> +<tr id="i30" class="altColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#putLong-java.nio.ByteBuffer-int-long-">putLong</a></span>(<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)</code> </td> +</tr> +<tr id="i31" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#putLong-java.nio.ByteBuffer-long-">putLong</a></span>(<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)</code> <div class="block">Put a long value out to the given ByteBuffer's current position in big-endian format.</div> </td> </tr> -<tr id="i29" class="rowColor"> +<tr id="i32" class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#putLong-java.io.OutputStream-long-int-">putLong</a></span>(<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)</code> </td> </tr> -<tr id="i30" class="altColor"> +<tr id="i33" class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#putShort-java.nio.ByteBuffer-int-short-">putShort</a></span>(<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)</code> </td> +</tr> +<tr id="i34" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#putShort-java.nio.ByteBuffer-short-">putShort</a></span>(<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)</code> <div class="block">Put a short value out to the given ByteBuffer's current position in big-endian format.</div> </td> </tr> -<tr id="i31" class="rowColor"> +<tr id="i35" class="rowColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#readAsInt-java.nio.ByteBuffer-int-int-">readAsInt</a></span>(<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, @@ -420,47 +444,47 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <div class="block">Converts a ByteBuffer to an int value</div> </td> </tr> -<tr id="i32" class="altColor"> +<tr id="i36" class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#readCompressedInt-java.nio.ByteBuffer-">readCompressedInt</a></span>(<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)</code> <div class="block">Read integer from buffer coded in 7 bits and increment position.</div> </td> </tr> -<tr id="i33" class="rowColor"> +<tr id="i37" class="rowColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#readCompressedInt-java.io.InputStream-">readCompressedInt</a></span>(<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)</code> <div class="block">Read integer from stream coded in 7 bits and increment position.</div> </td> </tr> -<tr id="i34" class="altColor"> +<tr id="i38" class="altColor"> <td class="colFirst"><code>static long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#readLong-java.nio.ByteBuffer-int-">readLong</a></span>(<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)</code> <div class="block">Read long which was written to fitInBytes bytes and increment position.</div> </td> </tr> -<tr id="i35" class="rowColor"> +<tr id="i39" class="rowColor"> <td class="colFirst"><code>static long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#readLong-java.io.InputStream-int-">readLong</a></span>(<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)</code> <div class="block">Read long which was written to fitInBytes bytes and increment position.</div> </td> </tr> -<tr id="i36" class="altColor"> +<tr id="i40" class="altColor"> <td class="colFirst"><code>static long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#readVLong-java.nio.ByteBuffer-">readVLong</a></span>(<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)</code> <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> </td> </tr> -<tr id="i37" class="rowColor"> +<tr id="i41" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#skip-java.nio.ByteBuffer-int-">skip</a></span>(<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)</code> <div class="block">Increment position in buffer.</div> </td> </tr> -<tr id="i38" class="altColor"> +<tr id="i42" class="altColor"> <td class="colFirst"><code>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></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#toBigDecimal-java.nio.ByteBuffer-int-int-">toBigDecimal</a></span>(<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, @@ -468,12 +492,12 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <div class="block">Reads a BigDecimal value at the given buffer's offset.</div> </td> </tr> -<tr id="i39" class="rowColor"> +<tr id="i43" class="rowColor"> <td class="colFirst"><code>static byte</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#toByte-java.nio.ByteBuffer-int-">toByte</a></span>(<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)</code> </td> </tr> -<tr id="i40" class="altColor"> +<tr id="i44" class="altColor"> <td class="colFirst"><code>static byte[]</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#toBytes-java.nio.ByteBuffer-int-">toBytes</a></span>(<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)</code> @@ -481,7 +505,7 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? position and limit back to their original values (though not thread safe).</div> </td> </tr> -<tr id="i41" class="rowColor"> +<tr id="i45" class="rowColor"> <td class="colFirst"><code>static byte[]</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#toBytes-java.nio.ByteBuffer-int-int-">toBytes</a></span>(<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, @@ -489,51 +513,51 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? <div class="block">Copy the given number of bytes from specified offset into a new byte[]</div> </td> </tr> -<tr id="i42" class="altColor"> +<tr id="i46" class="altColor"> <td class="colFirst"><code>static double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#toDouble-java.nio.ByteBuffer-int-">toDouble</a></span>(<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)</code> <div class="block">Reads a double value at the given buffer's offset.</div> </td> </tr> -<tr id="i43" class="rowColor"> +<tr id="i47" class="rowColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#toInt-java.nio.ByteBuffer-">toInt</a></span>(<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)</code> <div class="block">Reads an int value at the given buffer's current position.</div> </td> </tr> -<tr id="i44" class="altColor"> +<tr id="i48" class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#toInt-java.nio.ByteBuffer-int-">toInt</a></span>(<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)</code> <div class="block">Reads an int value at the given buffer's offset.</div> </td> </tr> -<tr id="i45" class="rowColor"> +<tr id="i49" class="rowColor"> <td class="colFirst"><code>static long</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#toLong-java.nio.ByteBuffer-int-">toLong</a></span>(<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)</code> <div class="block">Reads a long value at the given buffer's offset.</div> </td> </tr> -<tr id="i46" class="altColor"> +<tr id="i50" class="altColor"> <td class="colFirst"><code>static short</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#toShort-java.nio.ByteBuffer-int-">toShort</a></span>(<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)</code> <div class="block">Reads a short value at the given buffer's offset.</div> </td> </tr> -<tr id="i47" class="rowColor"> +<tr id="i51" class="rowColor"> <td class="colFirst"><code>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></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#toStringBinary-java.nio.ByteBuffer-">toStringBinary</a></span>(<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)</code> </td> </tr> -<tr id="i48" class="altColor"> +<tr id="i52" class="altColor"> <td class="colFirst"><code>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></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#toStringBinary-java.nio.ByteBuffer-int-int-">toStringBinary</a></span>(<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)</code> </td> </tr> -<tr id="i49" class="rowColor"> +<tr id="i53" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/ByteBufferUtils.html#writeVLong-java.nio.ByteBuffer-long-">writeVLong</a></span>(<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)</code> @@ -1308,13 +1332,24 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? </dl> </li> </ul> +<a name="putInt-java.nio.ByteBuffer-int-int-"> +<!-- --> +</a> +<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.879">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> +</ul> <a name="toDouble-java.nio.ByteBuffer-int-"> <!-- --> </a> <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.885">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.893">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> @@ -1332,7 +1367,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.895">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.903">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> @@ -1351,7 +1386,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.913">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.921">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> @@ -1362,13 +1397,35 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? </dl> </li> </ul> +<a name="putShort-java.nio.ByteBuffer-int-short-"> +<!-- --> +</a> +<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.930">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> +</ul> +<a name="putAsShort-java.nio.ByteBuffer-int-int-"> +<!-- --> +</a> +<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.938">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> +</ul> <a name="putLong-java.nio.ByteBuffer-long-"> <!-- --> </a> <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.928">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.951">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> @@ -1379,13 +1436,24 @@ extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? </dl> </li> </ul> +<a name="putLong-java.nio.ByteBuffer-int-long-"> +<!-- --> +</a> +<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.960">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> +</ul> <a name="copyFromArrayToBuffer-java.nio.ByteBuffer-byte:A-int-int-"> <!-- --> </a> <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.944">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.976">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> @@ -1406,7 +1474,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.966">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.998">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, @@ -1428,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>copyFromBufferToArray</h4> -<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.989">copyFromBufferToArray</a>(byte[] out, +<pre>public static void <a href="../../../../../src-html/org/apache/hadoop/hbase/util/ByteBufferUtils.html#line.1021">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, @@ -1451,7 +1519,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.1010">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.1042">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> @@ -1471,7 +1539,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.1019">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.1051">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> @@ -1482,7 +1550,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.1038">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.1070">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/d9f3c819/apidocs/overview-tree.html ---------------------------------------------------------------------- diff --git a/apidocs/overview-tree.html b/apidocs/overview-tree.html index b84e13a..845e222 100644 --- a/apidocs/overview-tree.html +++ b/apidocs/overview-tree.html @@ -160,6 +160,7 @@ <ul> <li type="circle">org.apache.hadoop.hbase.snapshot.<a href="org/apache/hadoop/hbase/snapshot/ExportSnapshot.html" title="class in org.apache.hadoop.hbase.snapshot"><span class="typeNameLink">ExportSnapshot</span></a> (implements org.apache.hadoop.util.Tool)</li> <li type="circle">org.apache.hadoop.hbase.util.<a href="org/apache/hadoop/hbase/util/RegionMover.html" title="class in org.apache.hadoop.hbase.util"><span class="typeNameLink">RegionMover</span></a></li> +<li type="circle">org.apache.hadoop.hbase.snapshot.<a href="org/apache/hadoop/hbase/snapshot/SnapshotInfo.html" title="class in org.apache.hadoop.hbase.snapshot"><span class="typeNameLink">SnapshotInfo</span></a></li> </ul> </li> <li type="circle">org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/AuthUtil.html" title="class in org.apache.hadoop.hbase"><span class="typeNameLink">AuthUtil</span></a></li> @@ -207,7 +208,6 @@ <li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="org/apache/hadoop/hbase/mapreduce/ResultSerialization.html" title="class in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">ResultSerialization</span></a> (implements org.apache.hadoop.io.serializer.Serialization<T>)</li> <li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="org/apache/hadoop/hbase/mapreduce/RowCounter.html" title="class in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">RowCounter</span></a> (implements org.apache.hadoop.util.Tool)</li> <li type="circle">org.apache.hadoop.hbase.mapred.<a href="org/apache/hadoop/hbase/mapred/RowCounter.html" title="class in org.apache.hadoop.hbase.mapred"><span class="typeNameLink">RowCounter</span></a> (implements org.apache.hadoop.util.Tool)</li> -<li type="circle">org.apache.hadoop.hbase.snapshot.<a href="org/apache/hadoop/hbase/snapshot/SnapshotInfo.html" title="class in org.apache.hadoop.hbase.snapshot"><span class="typeNameLink">SnapshotInfo</span></a> (implements org.apache.hadoop.util.Tool)</li> <li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="org/apache/hadoop/hbase/mapreduce/WALPlayer.html" title="class in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">WALPlayer</span></a> (implements org.apache.hadoop.util.Tool)</li> </ul> </li> @@ -294,7 +294,6 @@ <li type="circle">org.apache.hadoop.hbase.io.<a href="org/apache/hadoop/hbase/io/ImmutableBytesWritable.html" title="class in org.apache.hadoop.hbase.io"><span class="typeNameLink">ImmutableBytesWritable</span></a> (implements org.apache.hadoop.io.WritableComparable<T>)</li> <li type="circle">org.apache.hadoop.mapreduce.InputFormat<K,V> <ul> -<li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="org/apache/hadoop/hbase/mapreduce/HLogInputFormat.html" title="class in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">HLogInputFormat</span></a></li> <li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="org/apache/hadoop/hbase/mapreduce/MultiTableInputFormatBase.html" title="class in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">MultiTableInputFormatBase</span></a> <ul> <li type="circle">org.apache.hadoop.hbase.mapreduce.<a href="org/apache/hadoop/hbase/mapreduce/MultiTableInputFormat.html" title="class in org.apache.hadoop.hbase.mapreduce"><span class="typeNameLink">MultiTableInputFormat</span></a> (implements org.apache.hadoop.conf.Configurable)</li> @@ -707,7 +706,12 @@ <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Connection.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">Connection</span></a> (also extends java.io.<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>)</li> </ul> </li> +<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/AsyncTableBase.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncTableBase</span></a> +<ul> <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/AsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncTable</span></a></li> +<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/RawAsyncTable.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">RawAsyncTable</span></a></li> +</ul> +</li> <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/AsyncTableRegionLocator.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">AsyncTableRegionLocator</span></a></li> <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Attributes.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">Attributes</span></a></li> <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">AutoCloseable</span></a> @@ -839,6 +843,7 @@ </ul> </li> <li type="circle">org.apache.hadoop.hbase.io.crypto.<a href="org/apache/hadoop/hbase/io/crypto/KeyProvider.html" title="interface in org.apache.hadoop.hbase.io.crypto"><span class="typeNameLink">KeyProvider</span></a></li> +<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/RawScanResultConsumer.html" title="interface in org.apache.hadoop.hbase.client"><span class="typeNameLink">RawScanResultConsumer</span></a></li> <li type="circle">com.google.protobuf.RpcChannel <ul> <li type="circle">org.apache.hadoop.hbase.ipc.<a href="org/apache/hadoop/hbase/ipc/CoprocessorRpcChannel.html" title="interface in org.apache.hadoop.hbase.ipc"><span class="typeNameLink">CoprocessorRpcChannel</span></a> (also extends com.google.protobuf.BlockingRpcChannel)</li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/d9f3c819/apidocs/src-html/org/apache/hadoop/hbase/Cell.html ---------------------------------------------------------------------- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/Cell.html b/apidocs/src-html/org/apache/hadoop/hbase/Cell.html index 41e2762..d656a66 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/Cell.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/Cell.html @@ -178,20 +178,27 @@ <span class="sourceLineNo">170</span> int getValueLength();<a name="line.170"></a> <span class="sourceLineNo">171</span><a name="line.171"></a> <span class="sourceLineNo">172</span> /**<a name="line.172"></a> -<span class="sourceLineNo">173</span> * @return the tags byte array<a name="line.173"></a> -<span class="sourceLineNo">174</span> */<a name="line.174"></a> -<span class="sourceLineNo">175</span> byte[] getTagsArray();<a name="line.175"></a> -<span class="sourceLineNo">176</span><a name="line.176"></a> -<span class="sourceLineNo">177</span> /**<a name="line.177"></a> -<span class="sourceLineNo">178</span> * @return the first offset where the tags start in the Cell<a name="line.178"></a> -<span class="sourceLineNo">179</span> */<a name="line.179"></a> -<span class="sourceLineNo">180</span> int getTagsOffset();<a name="line.180"></a> -<span class="sourceLineNo">181</span><a name="line.181"></a> -<span class="sourceLineNo">182</span> /**<a name="line.182"></a> -<span class="sourceLineNo">183</span> * @return the total length of the tags in the Cell.<a name="line.183"></a> -<span class="sourceLineNo">184</span> */<a name="line.184"></a> -<span class="sourceLineNo">185</span> int getTagsLength();<a name="line.185"></a> -<span class="sourceLineNo">186</span>}<a name="line.186"></a> +<span class="sourceLineNo">173</span> * Contiguous raw bytes representing tags that may start at any index in the containing array.<a name="line.173"></a> +<span class="sourceLineNo">174</span> * @return the tags byte array<a name="line.174"></a> +<span class="sourceLineNo">175</span> */<a name="line.175"></a> +<span class="sourceLineNo">176</span> byte[] getTagsArray();<a name="line.176"></a> +<span class="sourceLineNo">177</span><a name="line.177"></a> +<span class="sourceLineNo">178</span> /**<a name="line.178"></a> +<span class="sourceLineNo">179</span> * @return the first offset where the tags start in the Cell<a name="line.179"></a> +<span class="sourceLineNo">180</span> */<a name="line.180"></a> +<span class="sourceLineNo">181</span> int getTagsOffset();<a name="line.181"></a> +<span class="sourceLineNo">182</span><a name="line.182"></a> +<span class="sourceLineNo">183</span> /**<a name="line.183"></a> +<span class="sourceLineNo">184</span> * HBase internally uses 2 bytes to store tags length in Cell.<a name="line.184"></a> +<span class="sourceLineNo">185</span> * As the tags length is always a non-negative number, to make good use of the sign bit,<a name="line.185"></a> +<span class="sourceLineNo">186</span> * the max of tags length is defined as {@link TagUtil#MAX_TAGS_LENGTH}, which is 2 * Short.MAX_VALUE + 1 = 65535.<a name="line.186"></a> +<span class="sourceLineNo">187</span> * As a result, the return type is int, because a short is not capable of handling that.<a name="line.187"></a> +<span class="sourceLineNo">188</span> * Please note that even if the return type is int, the max tags length is far less than Integer.MAX_VALUE.<a name="line.188"></a> +<span class="sourceLineNo">189</span> *<a name="line.189"></a> +<span class="sourceLineNo">190</span> * @return the total length of the tags in the Cell.<a name="line.190"></a> +<span class="sourceLineNo">191</span> */<a name="line.191"></a> +<span class="sourceLineNo">192</span> int getTagsLength();<a name="line.192"></a> +<span class="sourceLineNo">193</span>}<a name="line.193"></a>
