Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A53D18F57 for ; Fri, 4 Mar 2016 17:50:53 +0000 (UTC) Received: (qmail 89224 invoked by uid 500); 4 Mar 2016 17:50:46 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 89144 invoked by uid 500); 4 Mar 2016 17:50:46 -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 87457 invoked by uid 99); 4 Mar 2016 17:50:45 -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; Fri, 04 Mar 2016 17:50:45 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CAB26E78DC; Fri, 4 Mar 2016 17:50:45 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: misty@apache.org To: commits@hbase.apache.org Date: Fri, 04 Mar 2016 17:51:23 -0000 Message-Id: <464e8b521cbc4230aaa50140f8f99dbd@git.apache.org> In-Reply-To: <7bc3db0fa68d49fe8703de8b2d00923c@git.apache.org> References: <7bc3db0fa68d49fe8703de8b2d00923c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [39/51] [partial] hbase-site git commit: Published site at 7dabcf23e8dd53f563981e1e03f82336fc0a44da. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/3e48e84d/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.SeekerState.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.SeekerState.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.SeekerState.html index 7eb93c8..07553fd 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.SeekerState.html +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.SeekerState.html @@ -103,7 +103,7 @@

-
protected static class BufferedDataBlockEncoder.SeekerState
+
protected static class BufferedDataBlockEncoder.SeekerState
 extends Object
@@ -298,7 +298,7 @@ extends
  • currentBuffer

    -
    protected ByteBuff currentBuffer
    +
    protected ByteBuff currentBuffer
  • @@ -307,7 +307,7 @@ extends
  • tagCompressionContext

    -
    protected TagCompressionContext tagCompressionContext
    +
    protected TagCompressionContext tagCompressionContext
  • @@ -316,7 +316,7 @@ extends
  • valueOffset

    -
    protected int valueOffset
    +
    protected int valueOffset
  • @@ -325,7 +325,7 @@ extends
  • keyLength

    -
    protected int keyLength
    +
    protected int keyLength
  • @@ -334,7 +334,7 @@ extends
  • valueLength

    -
    protected int valueLength
    +
    protected int valueLength
  • @@ -343,7 +343,7 @@ extends
  • lastCommonPrefix

    -
    protected int lastCommonPrefix
    +
    protected int lastCommonPrefix
  • @@ -352,7 +352,7 @@ extends
  • tagsLength

    -
    protected int tagsLength
    +
    protected int tagsLength
  • @@ -361,7 +361,7 @@ extends
  • tagsOffset

    -
    protected int tagsOffset
    +
    protected int tagsOffset
  • @@ -370,7 +370,7 @@ extends
  • tagsCompressedLength

    -
    protected int tagsCompressedLength
    +
    protected int tagsCompressedLength
  • @@ -379,7 +379,7 @@ extends
  • uncompressTags

    -
    protected boolean uncompressTags
    +
    protected boolean uncompressTags
  • @@ -388,7 +388,7 @@ extends
  • keyBuffer

    -
    protected byte[] keyBuffer
    +
    protected byte[] keyBuffer
    We need to store a copy of the key.
  • @@ -398,7 +398,7 @@ extends
  • tagsBuffer

    -
    protected byte[] tagsBuffer
    +
    protected byte[] tagsBuffer
  • @@ -407,7 +407,7 @@ extends
  • memstoreTS

    -
    protected long memstoreTS
    +
    protected long memstoreTS
  • @@ -416,7 +416,7 @@ extends
  • nextKvOffset

    -
    protected int nextKvOffset
    +
    protected int nextKvOffset
  • @@ -425,7 +425,7 @@ extends
  • currentKey

    -
    protected KeyValue.KeyOnlyKeyValue currentKey
    +
    protected KeyValue.KeyOnlyKeyValue currentKey
  • @@ -434,7 +434,7 @@ extends
  • tmpPair

    -
    private final ObjectIntPair<ByteBuffer> tmpPair
    +
    private final ObjectIntPair<ByteBuffer> tmpPair
  • @@ -443,7 +443,7 @@ extends
  • includeTags

    -
    private final boolean includeTags
    +
    private final boolean includeTags
  • @@ -460,7 +460,7 @@ extends
  • BufferedDataBlockEncoder.SeekerState

    -
    public BufferedDataBlockEncoder.SeekerState(ObjectIntPair<ByteBuffer> tmpPair,
    +
    public BufferedDataBlockEncoder.SeekerState(ObjectIntPair<ByteBuffer> tmpPair,
                                         boolean includeTags)
  • @@ -478,7 +478,7 @@ extends
  • isValid

    -
    protected boolean isValid()
    +
    protected boolean isValid()
  • @@ -487,7 +487,7 @@ extends
  • invalidate

    -
    protected void invalidate()
    +
    protected void invalidate()
  • @@ -496,7 +496,7 @@ extends
  • ensureSpaceForKey

    -
    protected void ensureSpaceForKey()
    +
    protected void ensureSpaceForKey()
  • @@ -505,7 +505,7 @@ extends
  • ensureSpaceForTags

    -
    protected void ensureSpaceForTags()
    +
    protected void ensureSpaceForTags()
  • @@ -514,7 +514,7 @@ extends
  • setKey

    -
    protected void setKey(byte[] keyBuffer,
    +
    protected void setKey(byte[] keyBuffer,
               long memTS)
  • @@ -524,7 +524,7 @@ extends
  • copyFromNext

    -
    protected void copyFromNext(BufferedDataBlockEncoder.SeekerState nextState)
    +
    protected void copyFromNext(BufferedDataBlockEncoder.SeekerState nextState)
    Copy the state from the next one into this instance (the previous state placeholder). Used to save the previous state when we are advancing the seeker to the next key/value.
    @@ -536,7 +536,7 @@ extends
  • toCell

    -
    public Cell toCell()
    +
    public Cell toCell()
  • @@ -545,7 +545,7 @@ extends
  • toOnheapCell

    -
    private Cell toOnheapCell(ByteBuffer valAndTagsBuffer,
    +
    private Cell toOnheapCell(ByteBuffer valAndTagsBuffer,
                     int vOffset,
                     int tagsLenSerializationSize)
  • @@ -556,7 +556,7 @@ extends
  • toOffheapCell

    -
    private Cell toOffheapCell(ByteBuffer valAndTagsBuffer,
    +
    private Cell toOffheapCell(ByteBuffer valAndTagsBuffer,
                      int vOffset,
                      int tagsLenSerializationSize)
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/3e48e84d/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.html index 7e89cc2..6ba8536 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.html +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.html @@ -173,7 +173,9 @@ implements private static int -INITIAL_KEY_BUFFER_SIZE  +INITIAL_KEY_BUFFER_SIZE +
    TODO: This datablockencoder is dealing in internals of hfileblocks.
    + @@ -345,7 +347,8 @@ implements
  • INITIAL_KEY_BUFFER_SIZE

    -
    private static int INITIAL_KEY_BUFFER_SIZE
    +
    private static int INITIAL_KEY_BUFFER_SIZE
    +
    TODO: This datablockencoder is dealing in internals of hfileblocks. Purge reference to HFBs
  • @@ -379,7 +382,7 @@ implements
  • decodeKeyValues

    -
    public ByteBuffer decodeKeyValues(DataInputStream source,
    +
    public ByteBuffer decodeKeyValues(DataInputStream source,
                              HFileBlockDecodingContext blkDecodingCtx)
                                throws IOException
    Description copied from interface: DataBlockEncoder
    @@ -399,7 +402,7 @@ implements
  • compareCommonRowPrefix

    -
    public static int compareCommonRowPrefix(Cell left,
    +
    public static int compareCommonRowPrefix(Cell left,
                              Cell right,
                              int rowCommonPrefix)
    common prefixes
    @@ -411,7 +414,7 @@ implements
  • compareCommonFamilyPrefix

    -
    public static int compareCommonFamilyPrefix(Cell left,
    +
    public static int compareCommonFamilyPrefix(Cell left,
                                 Cell right,
                                 int familyCommonPrefix)
  • @@ -422,7 +425,7 @@ implements
  • compareCommonQualifierPrefix

    -
    public static int compareCommonQualifierPrefix(Cell left,
    +
    public static int compareCommonQualifierPrefix(Cell left,
                                    Cell right,
                                    int qualCommonPrefix)
  • @@ -433,7 +436,7 @@ implements
  • afterEncodingKeyValue

    -
    protected final int afterEncodingKeyValue(Cell cell,
    +
    protected final int afterEncodingKeyValue(Cell cell,
                             DataOutputStream out,
                             HFileBlockDefaultEncodingContext encodingCtx)
                                        throws IOException
    @@ -449,7 +452,7 @@ implements
  • afterDecodingKeyValue

    -
    protected final void afterDecodingKeyValue(DataInputStream source,
    +
    protected final void afterDecodingKeyValue(DataInputStream source,
                              ByteBuffer dest,
                              HFileBlockDefaultDecodingContext decodingCtx)
                                         throws IOException
    @@ -463,7 +466,7 @@ implements
  • newDataBlockEncodingContext

    -
    public HFileBlockEncodingContext newDataBlockEncodingContext(DataBlockEncoding encoding,
    +
    public HFileBlockEncodingContext newDataBlockEncodingContext(DataBlockEncoding encoding,
                                                         byte[] header,
                                                         HFileContext meta)
    Description copied from interface: DataBlockEncoder
    @@ -482,7 +485,7 @@ implements
  • newDataBlockDecodingContext

    -
    public HFileBlockDecodingContext newDataBlockDecodingContext(HFileContext meta)
    +
    public HFileBlockDecodingContext newDataBlockDecodingContext(HFileContext meta)
    Description copied from interface: DataBlockEncoder
    Creates an encoder specific decoding context, which will prepare the data before actual decoding
    @@ -499,7 +502,7 @@ implements
  • internalDecodeKeyValues

    -
    protected abstract ByteBuffer internalDecodeKeyValues(DataInputStream source,
    +
    protected abstract ByteBuffer internalDecodeKeyValues(DataInputStream source,
                                      int allocateHeaderLength,
                                      int skipLastBytes,
                                      HFileBlockDefaultDecodingContext decodingCtx)
    @@ -514,7 +517,7 @@ implements 
     
  • ensureSpace

    -
    protected static void ensureSpace(ByteBuffer out,
    +
    protected static void ensureSpace(ByteBuffer out,
                    int length)
                                throws EncoderBufferTooSmallException
    Asserts that there is at least the given amount of unfilled space @@ -530,7 +533,7 @@ implements
  • startBlockEncoding

    -
    public void startBlockEncoding(HFileBlockEncodingContext blkEncodingCtx,
    +
    public void startBlockEncoding(HFileBlockEncodingContext blkEncodingCtx,
                           DataOutputStream out)
                             throws IOException
    Description copied from interface: DataBlockEncoder
    @@ -550,7 +553,7 @@ implements
  • encode

    -
    public int encode(Cell cell,
    +
    public int encode(Cell cell,
              HFileBlockEncodingContext encodingCtx,
              DataOutputStream out)
                throws IOException
    @@ -570,7 +573,7 @@ implements
  • internalEncode

    -
    public abstract int internalEncode(Cell cell,
    +
    public abstract int internalEncode(Cell cell,
                      HFileBlockDefaultEncodingContext encodingCtx,
                      DataOutputStream out)
                                 throws IOException
    @@ -584,7 +587,7 @@ implements
  • endBlockEncoding

    -
    public void endBlockEncoding(HFileBlockEncodingContext encodingCtx,
    +
    public void endBlockEncoding(HFileBlockEncodingContext encodingCtx,
                         DataOutputStream out,
                         byte[] uncompressedBytesWithHeader)
                           throws IOException
    @@ -604,7 +607,7 @@ implements
  • createFirstKeyCell

    -
    protected Cell createFirstKeyCell(ByteBuffer key,
    +
    protected Cell createFirstKeyCell(ByteBuffer key,
                           int keyLength)
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/3e48e84d/devapidocs/org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.EncodedSeeker.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.EncodedSeeker.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.EncodedSeeker.html index fad94d3..5af299a 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.EncodedSeeker.html +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.EncodedSeeker.html @@ -95,7 +95,7 @@

    -
    public static interface DataBlockEncoder.EncodedSeeker
    +
    public static interface DataBlockEncoder.EncodedSeeker
    An interface which enable to seek while underlying data is encoded. It works on one HFileBlock, but it is reusable. See @@ -193,7 +193,7 @@