Repository: hbase-site Updated Branches: refs/heads/asf-site 614a1599a -> 2d091d031
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/d9f3c819/devapidocs/org/apache/hadoop/hbase/Cell.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/Cell.html b/devapidocs/org/apache/hadoop/hbase/Cell.html index 40bc287..266df78 100644 --- a/devapidocs/org/apache/hadoop/hbase/Cell.html +++ b/devapidocs/org/apache/hadoop/hbase/Cell.html @@ -105,7 +105,7 @@ var activeTableTab = "activeTableTab"; </dl> <dl> <dt>All Known Implementing Classes:</dt> -<dd><a href="../../../../org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.OffheapDecodedCell.html" title="class in org.apache.hadoop.hbase.io.encoding">BufferedDataBlockEncoder.OffheapDecodedCell</a>, <a href="../../../../org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.OnheapDecodedCell.html" title="class in org.apache.hadoop.hbase.io.encoding">BufferedDataBlockEncoder.OnheapDecodedCell</a>, <a href="../../../../org/apache/hadoop/hbase/ByteBufferedCell.html" title="class in org.apache.hadoop.hbase">ByteBufferedCell</a>, <a href="../../../../org/apache/hadoop/hbase/ByteBufferedKeyOnlyKeyValue.html" title="class in org.apache.hadoop.hbase">ByteBufferedKeyOnlyKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.EmptyByteBufferedCell.html" title="class in org.apache.hadoop.hbase">CellUtil.EmptyByteBufferedCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.EmptyCell.html" title="class in org.apache.hadoop.hbase">CellUtil.EmptyCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowByteBufferedCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowByteBufferedCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferedCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowColByteBufferedCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowColCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferedCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowColTSByteBufferedCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowColTSCell</a>, <a href="../../../../o rg/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowDeleteFamilyCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferedCell.html" title="class in org.apache.hadoop.hbase">CellUtil.LastOnRowByteBufferedCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html" title="class in org.apache.hadoop.hbase">CellUtil.LastOnRowCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferedCell.html" title="class in org.apache.hadoop.hbase">CellUtil.LastOnRowColByteBufferedCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html" title="class in org.apache.hadoop.hbase">CellUtil.LastOnRowColCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.ShareableMemoryTagRewriteCell.html" title="class in org.apache.hadoop.hbase">CellUtil.ShareableMemoryTagRewriteCell</a>, <a href="../../../../org/apache/hadoop/hbas e/CellUtil.TagRewriteCell.html" title="class in org.apache.hadoop.hbase">CellUtil.TagRewriteCell</a>, <a href="../../../../org/apache/hadoop/hbase/filter/KeyOnlyFilter.KeyOnlyByteBufferedCell.html" title="class in org.apache.hadoop.hbase.filter">KeyOnlyFilter.KeyOnlyByteBufferedCell</a>, <a href="../../../../org/apache/hadoop/hbase/filter/KeyOnlyFilter.KeyOnlyCell.html" title="class in org.apache.hadoop.hbase.filter">KeyOnlyFilter.KeyOnlyCell</a>, <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in org.apache.hadoop.hbase">KeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/KeyValue.KeyOnlyKeyValue.html" title="class in org.apache.hadoop.hbase">KeyValue.KeyOnlyKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/codec/KeyValueCodec.ByteBuffKeyValueDecoder.ShareableMemoryKeyValue.html" title="class in org.apache.hadoop.hbase.codec">KeyValueCodec.ByteBuffKeyValueDecoder.ShareableMemoryKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/codec /KeyValueCodec.ByteBuffKeyValueDecoder.ShareableMemoryNoTagsKeyValue.html" title="class in org.apache.hadoop.hbase.codec">KeyValueCodec.ByteBuffKeyValueDecoder.ShareableMemoryNoTagsKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/codec/KeyValueCodec.ByteBuffKeyValueDecoder.ShareableMemoryOffheapKeyValue.html" title="class in org.apache.hadoop.hbase.codec">KeyValueCodec.ByteBuffKeyValueDecoder.ShareableMemoryOffheapKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/NoTagsKeyValue.html" title="class in org.apache.hadoop.hbase">NoTagsKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/OffheapKeyValue.html" title="class in org.apache.hadoop.hbase">OffheapKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeArrayReversibleScanner.html" title="class in org.apache.hadoop.hbase.codec.prefixtree.decode">PrefixTreeArrayReversibleScanner</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeArrayScan ner.html" title="class in org.apache.hadoop.hbase.codec.prefixtree.decode">PrefixTreeArrayScanner</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeArraySearcher.html" title="class in org.apache.hadoop.hbase.codec.prefixtree.decode">PrefixTreeArraySearcher</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeCell.html" title="class in org.apache.hadoop.hbase.codec.prefixtree.decode">PrefixTreeCell</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/PrefixTreeSeeker.OffheapPrefixTreeCell.html" title="class in org.apache.hadoop.hbase.codec.prefixtree">PrefixTreeSeeker.OffheapPrefixTreeCell</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/PrefixTreeSeeker.OnheapPrefixTreeCell.html" title="class in org.apache.hadoop.hbase.codec.prefixtree">PrefixTreeSeeker.OnheapPrefixTreeCell</a>, <a href="../../../../org/apache/hadoop/hbase/util/test/RedundantKVGenerator.ExtendedOffheapKeyValue.html" titl e="class in org.apache.hadoop.hbase.util.test">RedundantKVGenerator.ExtendedOffheapKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/SizeCachedKeyValue.html" title="class in org.apache.hadoop.hbase">SizeCachedKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/SizeCachedNoTagsKeyValue.html" title="class in org.apache.hadoop.hbase">SizeCachedNoTagsKeyValue</a></dd> +<dd><a href="../../../../org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.OffheapDecodedCell.html" title="class in org.apache.hadoop.hbase.io.encoding">BufferedDataBlockEncoder.OffheapDecodedCell</a>, <a href="../../../../org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.OnheapDecodedCell.html" title="class in org.apache.hadoop.hbase.io.encoding">BufferedDataBlockEncoder.OnheapDecodedCell</a>, <a href="../../../../org/apache/hadoop/hbase/ByteBufferCell.html" title="class in org.apache.hadoop.hbase">ByteBufferCell</a>, <a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyOnlyKeyValue.html" title="class in org.apache.hadoop.hbase">ByteBufferKeyOnlyKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html" title="class in org.apache.hadoop.hbase">CellUtil.EmptyByteBufferCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.EmptyCell.html" title="class in org.apache.hadoop.hbase">CellUtil.EmptyCell</a>, <a href=".. /../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowByteBufferCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowByteBufferCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowColByteBufferCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowColCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowColTSByteBufferCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowColTSCell</a>, <a href="../../../../org/apache/hadoop/hbase/C ellUtil.FirstOnRowDeleteFamilyCell.html" title="class in org.apache.hadoop.hbase">CellUtil.FirstOnRowDeleteFamilyCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html" title="class in org.apache.hadoop.hbase">CellUtil.LastOnRowByteBufferCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html" title="class in org.apache.hadoop.hbase">CellUtil.LastOnRowCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html" title="class in org.apache.hadoop.hbase">CellUtil.LastOnRowColByteBufferCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html" title="class in org.apache.hadoop.hbase">CellUtil.LastOnRowColCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html" title="class in org.apache.hadoop.hbase">CellUtil.TagRewriteByteBufferCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html" title="cla ss in org.apache.hadoop.hbase">CellUtil.TagRewriteCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html" title="class in org.apache.hadoop.hbase">CellUtil.ValueAndTagRewriteByteBufferCell</a>, <a href="../../../../org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html" title="class in org.apache.hadoop.hbase">CellUtil.ValueAndTagRewriteCell</a>, <a href="../../../../org/apache/hadoop/hbase/IndividualBytesFieldCell.html" title="class in org.apache.hadoop.hbase">IndividualBytesFieldCell</a>, <a href="../../../../org/apache/hadoop/hbase/filter/KeyOnlyFilter.KeyOnlyByteBufferCell.html" title="class in org.apache.hadoop.hbase.filter">KeyOnlyFilter.KeyOnlyByteBufferCell</a>, <a href="../../../../org/apache/hadoop/hbase/filter/KeyOnlyFilter.KeyOnlyCell.html" title="class in org.apache.hadoop.hbase.filter">KeyOnlyFilter.KeyOnlyCell</a>, <a href="../../../../org/apache/hadoop/hbase/KeyValue.html" title="class in org.apache.hadoop.hbase">K eyValue</a>, <a href="../../../../org/apache/hadoop/hbase/KeyValue.KeyOnlyKeyValue.html" title="class in org.apache.hadoop.hbase">KeyValue.KeyOnlyKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/NoTagsKeyValue.html" title="class in org.apache.hadoop.hbase">NoTagsKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/OffheapKeyValue.html" title="class in org.apache.hadoop.hbase">OffheapKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeArrayReversibleScanner.html" title="class in org.apache.hadoop.hbase.codec.prefixtree.decode">PrefixTreeArrayReversibleScanner</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeArrayScanner.html" title="class in org.apache.hadoop.hbase.codec.prefixtree.decode">PrefixTreeArrayScanner</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeArraySearcher.html" title="class in org.apache.hadoop.hbase.codec.prefixtree.decode">PrefixTreeArray Searcher</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeCell.html" title="class in org.apache.hadoop.hbase.codec.prefixtree.decode">PrefixTreeCell</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/PrefixTreeSeeker.OffheapPrefixTreeCell.html" title="class in org.apache.hadoop.hbase.codec.prefixtree">PrefixTreeSeeker.OffheapPrefixTreeCell</a>, <a href="../../../../org/apache/hadoop/hbase/codec/prefixtree/PrefixTreeSeeker.OnheapPrefixTreeCell.html" title="class in org.apache.hadoop.hbase.codec.prefixtree">PrefixTreeSeeker.OnheapPrefixTreeCell</a>, <a href="../../../../org/apache/hadoop/hbase/util/test/RedundantKVGenerator.ExtendedOffheapKeyValue.html" title="class in org.apache.hadoop.hbase.util.test">RedundantKVGenerator.ExtendedOffheapKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/SizeCachedKeyValue.html" title="class in org.apache.hadoop.hbase">SizeCachedKeyValue</a>, <a href="../../../../org/apache/hadoop/hbase/SizeC achedNoTagsKeyValue.html" title="class in org.apache.hadoop.hbase">SizeCachedNoTagsKeyValue</a></dd> </dl> <hr> <br> @@ -216,11 +216,15 @@ public interface <a href="../../../../src-html/org/apache/hadoop/hbase/Cell.html </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code>byte[]</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/Cell.html#getTagsArray--">getTagsArray</a></span>()</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/Cell.html#getTagsArray--">getTagsArray</a></span>()</code> +<div class="block">Contiguous raw bytes representing tags that may start at any index in the containing array.</div> +</td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code>int</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/Cell.html#getTagsLength--">getTagsLength</a></span>()</code> </td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/Cell.html#getTagsLength--">getTagsLength</a></span>()</code> +<div class="block">HBase internally uses 2 bytes to store tags length in Cell.</div> +</td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code>int</code></td> @@ -476,7 +480,8 @@ public interface <a href="../../../../src-html/org/apache/hadoop/hbase/Cell.html <ul class="blockList"> <li class="blockList"> <h4>getTagsArray</h4> -<pre>byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/Cell.html#line.175">getTagsArray</a>()</pre> +<pre>byte[] <a href="../../../../src-html/org/apache/hadoop/hbase/Cell.html#line.176">getTagsArray</a>()</pre> +<div class="block">Contiguous raw bytes representing tags that may start at any index in the containing array.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the tags byte array</dd> @@ -489,7 +494,7 @@ public interface <a href="../../../../src-html/org/apache/hadoop/hbase/Cell.html <ul class="blockList"> <li class="blockList"> <h4>getTagsOffset</h4> -<pre>int <a href="../../../../src-html/org/apache/hadoop/hbase/Cell.html#line.180">getTagsOffset</a>()</pre> +<pre>int <a href="../../../../src-html/org/apache/hadoop/hbase/Cell.html#line.181">getTagsOffset</a>()</pre> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the first offset where the tags start in the Cell</dd> @@ -502,7 +507,12 @@ public interface <a href="../../../../src-html/org/apache/hadoop/hbase/Cell.html <ul class="blockListLast"> <li class="blockList"> <h4>getTagsLength</h4> -<pre>int <a href="../../../../src-html/org/apache/hadoop/hbase/Cell.html#line.185">getTagsLength</a>()</pre> +<pre>int <a href="../../../../src-html/org/apache/hadoop/hbase/Cell.html#line.192">getTagsLength</a>()</pre> +<div class="block">HBase internally uses 2 bytes to store tags length in Cell. + As the tags length is always a non-negative number, to make good use of the sign bit, + the max of tags length is defined as <a href="../../../../org/apache/hadoop/hbase/TagUtil.html#MAX_TAGS_LENGTH"><code>TagUtil.MAX_TAGS_LENGTH</code></a>, which is 2 * Short.MAX_VALUE + 1 = 65535. + As a result, the return type is int, because a short is not capable of handling that. + Please note that even if the return type is int, the max tags length is far less than Integer.MAX_VALUE.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the total length of the tags in the Cell.</dd>
