Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C1258200BD8 for ; Wed, 7 Dec 2016 19:24:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BFBC7160B30; Wed, 7 Dec 2016 18:24:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B8327160AF9 for ; Wed, 7 Dec 2016 19:24:08 +0100 (CET) Received: (qmail 55278 invoked by uid 500); 7 Dec 2016 18:24:07 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 55268 invoked by uid 99); 7 Dec 2016 18:24:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2016 18:24:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B5AF1F17AF; Wed, 7 Dec 2016 18:24:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: stack@apache.org To: commits@hbase.apache.org Date: Wed, 07 Dec 2016 18:24:07 -0000 Message-Id: <220a372013ec41a8ae6e16c1450f9705@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [01/52] [partial] hbase-site git commit: Published site at 61220e4d7c8d7e5fb8ed3bbe2469bc86632c48de. archived-at: Wed, 07 Dec 2016 18:24:09 -0000 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";
All Known Implementing Classes:
-
BufferedDataBlockEncoder.OffheapDecodedCell, BufferedDataBlockEncoder.OnheapDecodedCell, ByteBufferedCell, ByteBufferedKeyOnlyKeyValue, CellUtil.EmptyByteBufferedCell, CellUtil.EmptyCell, CellUtil.FirstOnRowByteBufferedCell, CellUtil.FirstOnRowCell, CellUtil.FirstOnRowColByteBufferedCell, CellUtil.FirstOnRowColCell, CellUtil.FirstOnRowColTSByteBufferedCell, CellUtil.FirstOnRowColTSCell, CellUtil.FirstOnRowDeleteFamilyCell, CellUtil.LastOnRowByteBufferedCell, CellUtil.LastOnRowCell, CellUtil.LastOnRowColByteBufferedCell, CellUtil.LastOnRowColCell, CellUtil.ShareableMemoryTagRewriteCell, CellUtil.TagRewriteCell, KeyOnlyFilter.KeyOnlyByteBufferedCell, KeyOnlyFilter.KeyOnlyCell, KeyValue, KeyValue.KeyOnlyKeyValue, KeyValueCodec.ByteBuffKeyValueDecoder.ShareableMemoryKeyValue, KeyValueCodec.ByteBuffKeyValueDecoder.ShareableMemoryNoTagsKeyValue, KeyValueCodec.ByteBuffKeyValueDecoder.ShareableMemoryOffheapKeyValue, NoTagsKeyValue, OffheapKeyValue, PrefixTreeArrayReversibleScanner, PrefixTreeArrayScanner, PrefixTreeArraySearcher, PrefixTreeCell, PrefixTreeSeeker.OffheapPrefixTreeCell, PrefixTreeSeeker.OnheapPrefixTreeCell, RedundantKVGenerator.ExtendedOffheapKeyValue, SizeCachedKeyValue, SizeCachedNoTagsKeyValue
+
BufferedDataBlockEncoder.OffheapDecodedCell, BufferedDataBlockEncoder.OnheapDecodedCell, ByteBufferCell, ByteBufferKeyOnlyKeyValue, CellUtil.EmptyByteBufferCell, CellUtil.EmptyCell, CellUtil.FirstOnRowByteBufferCell, CellUtil.FirstOnRowCell, CellUtil.FirstOnRowColByteBufferCell, CellUtil.FirstOnRowColCell, CellUtil.FirstOnRowColTSByteBufferCell, CellUtil.FirstOnRowColTSCell, CellUtil.FirstOnRowDeleteFamilyCell, CellUtil.LastOnRowByteBufferCell, CellUtil.LastOnRowCell, CellUtil.LastOnRowColByteBufferCell, CellUtil.LastOnRowColCell, CellUtil.TagRewriteByteBufferCell, CellUtil.TagRewriteCell, CellUtil.ValueAndTagRewriteByteBufferCell, CellUtil.ValueAndTagRewriteCell, IndividualBytesFieldCell, KeyOnlyFilter.KeyOnlyByteBufferCell, KeyOnlyFilter.KeyOnlyCell, K eyValue, KeyValue.KeyOnlyKeyValue, NoTagsKeyValue, OffheapKeyValue, PrefixTreeArrayReversibleScanner, PrefixTreeArrayScanner, PrefixTreeArray Searcher, PrefixTreeCell, PrefixTreeSeeker.OffheapPrefixTreeCell, PrefixTreeSeeker.OnheapPrefixTreeCell, RedundantKVGenerator.ExtendedOffheapKeyValue, SizeCachedKeyValue, SizeCachedNoTagsKeyValue


@@ -216,11 +216,15 @@ public interface byte[] -getTagsArray()  +getTagsArray() +
Contiguous raw bytes representing tags that may start at any index in the containing array.
+ int -getTagsLength()  +getTagsLength() +
HBase internally uses 2 bytes to store tags length in Cell.
+ int @@ -476,7 +480,8 @@ public interface
  • getTagsArray

    -
    byte[] getTagsArray()
    +
    byte[] getTagsArray()
    +
    Contiguous raw bytes representing tags that may start at any index in the containing array.
    Returns:
    the tags byte array
    @@ -489,7 +494,7 @@ public interface
  • getTagsOffset

    -
    int getTagsOffset()
    +
    int getTagsOffset()
    Returns:
    the first offset where the tags start in the Cell
    @@ -502,7 +507,12 @@ public interface
  • getTagsLength

    -
    int getTagsLength()
    +
    int getTagsLength()
    +
    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 TagUtil.MAX_TAGS_LENGTH, 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.
    Returns:
    the total length of the tags in the Cell.