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 BFBF6200BBA for ; Thu, 29 Sep 2016 22:09:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BE6AA160AE4; Thu, 29 Sep 2016 20:09:48 +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 630FF160AEE for ; Thu, 29 Sep 2016 22:09:45 +0200 (CEST) Received: (qmail 93819 invoked by uid 500); 29 Sep 2016 20:09:36 -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 91103 invoked by uid 99); 29 Sep 2016 20:09:33 -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; Thu, 29 Sep 2016 20:09:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 26BD5E69B1; Thu, 29 Sep 2016 20:09:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dimaspivak@apache.org To: commits@hbase.apache.org Date: Thu, 29 Sep 2016 20:10:15 -0000 Message-Id: <4dd015b833ed4c46826b304e4a5562bc@git.apache.org> In-Reply-To: <5fc1f7e7d1a64a189b2bef86444ee964@git.apache.org> References: <5fc1f7e7d1a64a189b2bef86444ee964@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [45/52] [partial] hbase-site git commit: Published site at 63808a224c8689d07e55f90efd25f9597b0d04dd. archived-at: Thu, 29 Sep 2016 20:09:49 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/044b3379/apidocs/org/apache/hadoop/hbase/CellUtil.html ---------------------------------------------------------------------- diff --git a/apidocs/org/apache/hadoop/hbase/CellUtil.html b/apidocs/org/apache/hadoop/hbase/CellUtil.html index 435e068..e2a2306 100644 --- a/apidocs/org/apache/hadoop/hbase/CellUtil.html +++ b/apidocs/org/apache/hadoop/hbase/CellUtil.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":41,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":41,"i75":9,"i76":9,"i77":9,"i78":9,"i79":9,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":41,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":9,"i93":9,"i94":9,"i95":9,"i96":9,"i97":9,"i98":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":41,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":9,"i78":41,"i79":9,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":41,"i90":9,"i91":9,"i92":9,"i93":9,"i94":9,"i95":9,"i96":9,"i97":9,"i98":9,"i99":9,"i100":9,"i101":9,"i102":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -111,7 +111,7 @@ var activeTableTab = "activeTableTab";
@InterfaceAudience.Public
  @InterfaceStability.Evolving
-public final class CellUtil
+public final class CellUtil
 extends Object
Utility methods helpful slinging Cell instances. Some methods below are for internal use only and are marked InterfaceAudience.Private at the @@ -295,23 +295,45 @@ extends static Cell +createFirstOnRow(byte[] row)  + + +static Cell +createFirstOnRow(byte[] row, + byte[] family, + byte[] col)  + + +static Cell createFirstOnRow(byte[] row, int roffset, short rlength)  - + +static Cell +createFirstOnRow(byte[] row, + int roffset, + short rlength, + byte[] family, + int foffset, + byte flength, + byte[] col, + int coffset, + int clength)  + + static Cell createFirstOnRow(Cell cell)
Create a Cell that is smaller than all other possible Cells for the given Cell's row.
- + static Cell createFirstOnRowCol(Cell cell)
Create a Cell that is smaller than all other possible Cells for the given Cell's row.
- + static Cell createFirstOnRowCol(Cell cell, byte[] qArray, @@ -321,85 +343,89 @@ extends + static Cell createFirstOnRowColTS(Cell cell, long ts)
Creates the first cell with the row/family/qualifier of this cell and the given timestamp.
- + +static Cell +createLastOnRow(byte[] row)  + + static Cell createLastOnRow(Cell cell)
Create a Cell that is larger than all other possible Cells for the given Cell's row.
- + static Cell createLastOnRowCol(Cell cell)
Create a Cell that is larger than all other possible Cells for the given Cell's rk:cf:q.
- + static boolean equals(Cell a, Cell b)
equals
- + static boolean equalsIgnoreMvccVersion(Cell a, Cell b)
special case for Cell.equals
- + static long estimatedHeapSizeOf(Cell cell)
This is an estimate of the heap space occupied by a cell.
- + static int estimatedSerializedSizeOf(Cell cell)
Estimate based on keyvalue's serialization format.
- + static int estimatedSerializedSizeOfKey(Cell cell)
Calculates the serialized key size.
- + static ByteRange fillFamilyRange(Cell cell, ByteRange range)  - + static ByteRange fillQualifierRange(Cell cell, ByteRange range)  - + static ByteRange fillRowRange(Cell cell, ByteRange range)
ByteRange
- + static ByteRange fillTagRange(Cell cell, ByteRange range)  - + static ByteRange fillValueRange(Cell cell, ByteRange range)  - + static int findCommonPrefixInFlatKey(Cell c1, Cell c2, @@ -409,17 +435,17 @@ extends + static String getCellKeyAsString(Cell cell)  - + static byte[] getCellKeySerializedAsKeyValueKey(Cell cell)
This method exists just to encapsulate how we serialize keys.
- + static ByteBuffer getQualifierBufferShallowCopy(Cell cell)
Deprecated.  @@ -427,90 +453,90 @@ extends + static int getRowAsInt(Cell cell)
Converts the rowkey bytes of the given cell into an int value
- + static org.apache.hadoop.hbase.Tag getTag(Cell cell, byte type)
Retrieve Cell's first tag, matching the passed in type
- + static byte[] getTagArray(Cell cell)
Returns tag value in a new byte array.
- + static List<org.apache.hadoop.hbase.Tag> getTags(Cell cell)  - + static BigDecimal getValueAsBigDecimal(Cell cell)
Converts the value bytes of the given cell into a BigDecimal
- + static double getValueAsDouble(Cell cell)
Converts the value bytes of the given cell into a double value
- + static long getValueAsLong(Cell cell)
Converts the value bytes of the given cell into a long value
- + static ByteBuffer getValueBufferShallowCopy(Cell cell)  - + static boolean isDelete(byte type)  - + static boolean isDelete(Cell cell)  - + static boolean isDeleteColumnOrFamily(Cell cell)  - + static boolean isDeleteColumns(Cell cell)  - + static boolean isDeleteColumnVersion(Cell cell)  - + static boolean isDeleteFamily(Cell cell)  - + static boolean isDeleteFamilyVersion(Cell cell)  - + static boolean isDeleteType(Cell cell)  - + static boolean matchingColumn(Cell left, byte[] fam, byte[] qual)  - + static boolean matchingColumn(Cell left, byte[] fam, @@ -520,29 +546,29 @@ extends + static boolean matchingColumn(Cell left, Cell right)  - + static boolean matchingFamily(Cell left, byte[] buf)  - + static boolean matchingFamily(Cell left, byte[] buf, int offset, int length)  - + static boolean matchingFamily(Cell left, Cell right)  - + static boolean matchingQualifier(Cell left, byte[] buf) @@ -550,7 +576,7 @@ extends + static boolean matchingQualifier(Cell left, byte[] buf, @@ -560,24 +586,24 @@ extends + static boolean matchingQualifier(Cell left, Cell right)  - + static boolean matchingRow(Cell left, byte[] buf)  - + static boolean matchingRow(Cell left, byte[] buf, int offset, int length)  - + static boolean matchingRow(Cell left, Cell right) @@ -587,48 +613,48 @@ extends + static boolean matchingRowColumn(Cell left, Cell right)
Compares the row and column of two keyvalues for equality
- + static boolean matchingRows(Cell left, Cell right)
Compares the row of two keyvalues for equality
- + static boolean matchingTimestamp(Cell a, Cell b)  - + static boolean matchingType(Cell a, Cell b)  - + static boolean matchingValue(Cell left, byte[] buf)  - + static boolean matchingValue(Cell left, Cell right)  - + static boolean matchingValue(Cell left, Cell right, int lvlength, int rvlength)  - + static boolean overlappingKeys(byte[] start1, byte[] end1, @@ -638,7 +664,7 @@ extends + static void setTimestamp(Cell cell, byte[] ts, @@ -646,14 +672,14 @@ extends Sets the given timestamp to the cell.
- + static void setTimestamp(Cell cell, long ts)
Sets the given timestamp to the cell.
- + static Iterator<org.apache.hadoop.hbase.Tag> tagsIterator(byte[] tags, int offset, @@ -664,20 +690,20 @@ extends + static Iterator<org.apache.hadoop.hbase.Tag> tagsIterator(Cell cell)
Util method to iterate through the tags in the given cell.
- + static String toString(Cell cell, boolean verbose)
Returns a string representation of the cell
- + static boolean updateLatestStamp(Cell cell, byte[] ts, @@ -686,7 +712,7 @@ extends HConstants.LATEST_TIMESTAMP.
- + static boolean updateLatestStamp(Cell cell, long ts) @@ -694,7 +720,7 @@ extends HConstants.LATEST_TIMESTAMP. - + static void writeFamily(DataOutputStream out, Cell cell, @@ -702,14 +728,14 @@ extends Writes the family from the given cell to the output stream - + static void writeFlatKey(Cell cell, DataOutputStream out)
Writes the Cell's key part as it would have serialized in a KeyValue.
- + static void writeQualifier(DataOutputStream out, Cell cell, @@ -717,7 +743,7 @@ extends Writes the qualifier from the given cell to the output stream - + static void writeQualifierSkippingBytes(DataOutputStream out, Cell cell, @@ -726,7 +752,7 @@ extends Writes the qualifier from the given cell to the output stream excluding the common prefix - + static void writeRow(DataOutputStream out, Cell cell, @@ -734,7 +760,7 @@ extends Writes the row from the given cell to the output stream - + static void writeRowKeyExcludingCommon(Cell cell, short rLen, @@ -743,7 +769,7 @@ extends Write rowkey excluding the common part. - + static void writeRowSkippingBytes(DataOutputStream out, Cell cell, @@ -752,7 +778,7 @@ extends Writes the row from the given cell to the output stream excluding the common prefix - + static void writeTags(DataOutputStream out, Cell cell, @@ -760,7 +786,7 @@ extends Writes the tag from the given cell to the output stream - + static void writeValue(DataOutputStream out, Cell cell, @@ -796,7 +822,7 @@ extends
  • fillRowRange

    -
    public static ByteRange fillRowRange(Cell cell,
    +
    public static ByteRange fillRowRange(Cell cell,
                                          ByteRange range)
    ByteRange
  • @@ -807,7 +833,7 @@ extends
  • fillFamilyRange

    -
    public static ByteRange fillFamilyRange(Cell cell,
    +
    public static ByteRange fillFamilyRange(Cell cell,
                                             ByteRange range)
  • @@ -817,7 +843,7 @@ extends
  • fillQualifierRange

    -
    public static ByteRange fillQualifierRange(Cell cell,
    +
    public static ByteRange fillQualifierRange(Cell cell,
                                                ByteRange range)
  • @@ -827,7 +853,7 @@ extends
  • fillValueRange

    -
    public static ByteRange fillValueRange(Cell cell,
    +
    public static ByteRange fillValueRange(Cell cell,
                                            ByteRange range)
  • @@ -837,7 +863,7 @@ extends
  • fillTagRange

    -
    public static ByteRange fillTagRange(Cell cell,
    +
    public static ByteRange fillTagRange(Cell cell,
                                          ByteRange range)
  • @@ -847,7 +873,7 @@ extends
  • cloneRow

    -
    public static byte[] cloneRow(Cell cell)
    +
    public static byte[] cloneRow(Cell cell)
    get individual arrays for tests
  • @@ -857,7 +883,7 @@ extends
  • cloneFamily

    -
    public static byte[] cloneFamily(Cell cell)
    +
    public static byte[] cloneFamily(Cell cell)
  • @@ -866,7 +892,7 @@ extends
  • cloneQualifier

    -
    public static byte[] cloneQualifier(Cell cell)
    +
    public static byte[] cloneQualifier(Cell cell)
  • @@ -875,7 +901,7 @@ extends
  • cloneValue

    -
    public static byte[] cloneValue(Cell cell)
    +
    public static byte[] cloneValue(Cell cell)
  • @@ -884,7 +910,7 @@ extends
  • cloneTags

    -
    public static byte[] cloneTags(Cell cell)
    +
    public static byte[] cloneTags(Cell cell)
  • @@ -893,7 +919,7 @@ extends
  • getTagArray

    -
    public static byte[] getTagArray(Cell cell)
    +
    public static byte[] getTagArray(Cell cell)
    Returns tag value in a new byte array. If server-side, use Tag.getValueArray() with appropriate Tag.getValueOffset() and Tag.getValueLength() instead to save on allocations.
    @@ -911,7 +937,7 @@ extends
  • copyRowTo

    -
    public static int copyRowTo(Cell cell,
    +
    public static int copyRowTo(Cell cell,
                                 byte[] destination,
                                 int destinationOffset)
    copyTo
    @@ -923,7 +949,7 @@ extends
  • copyRow

    -
    public static byte[] copyRow(Cell cell)
    +
    public static byte[] copyRow(Cell cell)
    Copies the row to a new byte[]
    Parameters:
    @@ -939,7 +965,7 @@ extends
  • copyFamilyTo

    -
    public static int copyFamilyTo(Cell cell,
    +
    public static int copyFamilyTo(Cell cell,
                                    byte[] destination,
                                    int destinationOffset)
  • @@ -950,7 +976,7 @@ extends
  • copyQualifierTo

    -
    public static int copyQualifierTo(Cell cell,
    +
    public static int copyQualifierTo(Cell cell,
                                       byte[] destination,
                                       int destinationOffset)
  • @@ -961,7 +987,7 @@ extends
  • copyValueTo

    -
    public static int copyValueTo(Cell cell,
    +
    public static int copyValueTo(Cell cell,
                                   byte[] destination,
                                   int destinationOffset)
  • @@ -972,7 +998,7 @@ extends
  • copyTagTo

    -
    public static int copyTagTo(Cell cell,
    +
    public static int copyTagTo(Cell cell,
                                 byte[] destination,
                                 int destinationOffset)
    Copies the tags info into the tag portion of the cell
    @@ -992,7 +1018,7 @@ extends
  • getValueBufferShallowCopy

    -
    public static ByteBuffer getValueBufferShallowCopy(Cell cell)
    +
    public static ByteBuffer getValueBufferShallowCopy(Cell cell)
  • @@ -1002,7 +1028,7 @@ extends

    getQualifierBufferShallowCopy

    @Deprecated
    -public static ByteBuffer getQualifierBufferShallowCopy(Cell cell)
    +public static ByteBuffer getQualifierBufferShallowCopy(Cell cell)
    Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0.
    Parameters:
    @@ -1018,7 +1044,7 @@ public static 
  • createCell

    -
    public static Cell createCell(byte[] row,
    +
    public static Cell createCell(byte[] row,
                                   byte[] family,
                                   byte[] qualifier,
                                   long timestamp,
    @@ -1032,7 +1058,7 @@ public static 
     
  • createCell

    -
    public static Cell createCell(byte[] rowArray,
    +
    public static Cell createCell(byte[] rowArray,
                                   int rowOffset,
                                   int rowLength,
                                   byte[] familyArray,
    @@ -1049,7 +1075,7 @@ public static 
     
  • createCell

    -
    public static Cell createCell(byte[] row)
    +
    public static Cell createCell(byte[] row)
    Create a Cell with specific row. Other fields defaulted.
    Parameters:
    @@ -1065,7 +1091,7 @@ public static 
  • createCell

    -
    public static Cell createCell(byte[] row,
    +
    public static Cell createCell(byte[] row,
                                   byte[] value)
    Create a Cell with specific row and value. Other fields are defaulted.
    @@ -1083,7 +1109,7 @@ public static 
  • createCell

    -
    public static Cell createCell(byte[] row,
    +
    public static Cell createCell(byte[] row,
                                   byte[] family,
                                   byte[] qualifier)
    Create a Cell with specific row. Other fields defaulted.
    @@ -1103,7 +1129,7 @@ public static 
  • createCell

    -
    public static Cell createCell(Cell cell,
    +
    public static Cell createCell(Cell cell,
                                   List<org.apache.hadoop.hbase.Tag> tags)
    Returns:
    @@ -1117,7 +1143,7 @@ public static 
  • createCell

    -
    public static Cell createCell(Cell cell,
    +
    public static Cell createCell(Cell cell,
                                   byte[] tags)
    Returns:
    @@ -1131,7 +1157,7 @@ public static 
  • createCellScanner

    -
    public static org.apache.hadoop.hbase.CellScanner createCellScanner(List<? extends org.apache.hadoop.hbase.CellScannable> cellScannerables)
    +
    public static org.apache.hadoop.hbase.CellScanner createCellScanner(List<? extends org.apache.hadoop.hbase.CellScannable> cellScannerables)
    Parameters:
    cellScannerables -
    @@ -1146,7 +1172,7 @@ public static 
  • createCellScanner

    -
    public static org.apache.hadoop.hbase.CellScanner createCellScanner(Iterable<Cell> cellIterable)
    +
    public static org.apache.hadoop.hbase.CellScanner createCellScanner(Iterable<Cell> cellIterable)
    Parameters:
    cellIterable -
    @@ -1161,7 +1187,7 @@ public static 
  • createCellScanner

    -
    public static org.apache.hadoop.hbase.CellScanner createCellScanner(Iterator<Cell> cells)
    +
    public static org.apache.hadoop.hbase.CellScanner createCellScanner(Iterator<Cell> cells)
    Parameters:
    cells -
    @@ -1177,7 +1203,7 @@ public static 
  • createCellScanner

    -
    public static org.apache.hadoop.hbase.CellScanner createCellScanner(Cell[] cellArray)
    +
    public static org.apache.hadoop.hbase.CellScanner createCellScanner(Cell[] cellArray)
    Parameters:
    cellArray -
    @@ -1192,7 +1218,7 @@ public static 
  • createCellScanner

    -
    public static org.apache.hadoop.hbase.CellScanner createCellScanner(NavigableMap<byte[],List<Cell>> map)
    +
    public static org.apache.hadoop.hbase.CellScanner createCellScanner(NavigableMap<byte[],List<Cell>> map)
    Flatten the map of cells out under the CellScanner
    Parameters:
    @@ -1210,7 +1236,7 @@ public static 

    matchingRow

    @Deprecated
    -public static boolean matchingRow(Cell left,
    +public static boolean matchingRow(Cell left,
                                                   Cell right)
    Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0. Instead use matchingRows(Cell, Cell)
    @@ -1229,7 +1255,7 @@ public static boolean 
  • matchingRow

    -
    public static boolean matchingRow(Cell left,
    +
    public static boolean matchingRow(Cell left,
                                       byte[] buf)
  • @@ -1239,7 +1265,7 @@ public static boolean 
  • matchingRow

    -
    public static boolean matchingRow(Cell left,
    +
    public static boolean matchingRow(Cell left,
                                       byte[] buf,
                                       int offset,
                                       int length)
    @@ -1251,7 +1277,7 @@ public static boolean 
  • matchingFamily

    -
    public static boolean matchingFamily(Cell left,
    +
    public static boolean matchingFamily(Cell left,
                                          Cell right)
  • @@ -1261,7 +1287,7 @@ public static boolean 
  • matchingFamily

    -
    public static boolean matchingFamily(Cell left,
    +
    public static boolean matchingFamily(Cell left,
                                          byte[] buf)
  • @@ -1271,7 +1297,7 @@ public static boolean 
  • matchingFamily

    -
    public static boolean matchingFamily(Cell left,
    +
    public static boolean matchingFamily(Cell left,
                                          byte[] buf,
                                          int offset,
                                          int length)
    @@ -1283,7 +1309,7 @@ public static boolean 
  • matchingQualifier

    -
    public static boolean matchingQualifier(Cell left,
    +
    public static boolean matchingQualifier(Cell left,
                                             Cell right)
  • @@ -1293,7 +1319,7 @@ public static boolean 
  • matchingQualifier

    -
    public static boolean matchingQualifier(Cell left,
    +
    public static boolean matchingQualifier(Cell left,
                                             byte[] buf)
    Finds if the qualifier part of the cell and the KV serialized byte[] are equal
    @@ -1312,7 +1338,7 @@ public static boolean 
  • matchingQualifier

    -
    public static boolean matchingQualifier(Cell left,
    +
    public static boolean matchingQualifier(Cell left,
                                             byte[] buf,
                                             int offset,
                                             int length)
    @@ -1335,7 +1361,7 @@ public static boolean 
  • matchingColumn

    -
    public static boolean