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 D5488200D38 for ; Sat, 28 Oct 2017 17:16:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D3BD31609D5; Sat, 28 Oct 2017 15:16:22 +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 B23D4160BE1 for ; Sat, 28 Oct 2017 17:16:20 +0200 (CEST) Received: (qmail 38702 invoked by uid 500); 28 Oct 2017 15:16:08 -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 37027 invoked by uid 99); 28 Oct 2017 15:16:06 -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; Sat, 28 Oct 2017 15:16:06 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4C677E080F; Sat, 28 Oct 2017 15:16:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: git-site-role@apache.org To: commits@hbase.apache.org Date: Sat, 28 Oct 2017 15:16:49 -0000 Message-Id: <51730bddf41847d59998fe4dda4e87eb@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [47/51] [partial] hbase-site git commit: Published site at . archived-at: Sat, 28 Oct 2017 15:16:23 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5018ccb3/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 7c9ad66..5600f0d 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":41,"i22":41,"i23":41,"i24":41,"i25":41,"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,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":41,"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":9,"i79":9,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":41,"i93":9,"i94":9,"i95":9,"i96":9,"i97":9,"i98":9,"i99":9,"i100":9,"i101":9,"i102":9,"i103":9,"i104":41,"i105":9,"i106":9,"i107":9,"i108":9,"i109":9,"i110":9,"i111":9,"i112":9,"i113":9,"i114":9,"i115":9,"i116":9,"i117":9,"i118":9,"i119":9,"i12 0":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":41,"i4":9,"i5":41,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":41,"i17":41,"i18":9,"i19":9,"i20":41,"i21":41,"i22":41,"i23":41,"i24":41,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":41,"i35":41,"i36":41,"i37":41,"i38":41,"i39":41,"i40":41,"i41":41,"i42":41,"i43":41,"i44":9,"i45":41,"i46":41,"i47":41,"i48":41,"i49":41,"i50":41,"i51":41,"i52":9,"i53":41,"i54":41,"i55":41,"i56":41,"i57":41,"i58":41,"i59":9,"i60":9,"i61":41,"i62":9,"i63":9,"i64":41,"i65":9,"i66":9,"i67":41,"i68":9,"i69":41,"i70":9,"i71":41,"i72":9,"i73":9,"i74":9,"i75":9,"i76":41,"i77":9,"i78":9,"i79":9,"i80":41,"i81":9,"i82":41,"i83":41,"i84":41,"i85":41,"i86":9,"i87":41,"i88":41,"i89":41,"i90":41,"i91":41,"i92":41}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -110,11 +110,11 @@ var activeTableTab = "activeTableTab";

@InterfaceAudience.Public
-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 - method level.
+
Utility methods helpful for slinging Cell instances. Some methods below are for internal + use only and are marked InterfaceAudience.Private at the method level. Note that all such methods + have been marked deprecated in HBase-2.0 which will be subsequently removed in HBase-3.0
@@ -149,7 +149,11 @@ extends static byte[] -cloneTags(Cell cell)  +cloneTags(Cell cell) +
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0.
+
+ static byte[] @@ -162,10 +166,9 @@ extends Used when a cell needs to be compared with a key byte[] such as cases of - finding the index from the index block, bloom keys from the bloom blocks - This byte[] is expected to be serialized in the KeyValue serialization format - If the KeyValue (Cell's) serialization format changes this method cannot be used. +
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0
+
@@ -190,14 +193,6 @@ extends
static int -compareKeyIgnoresMvcc(org.apache.hadoop.hbase.CellComparator comparator, - Cell left, - Cell right) -
Compares only the key portion of a cell.
- - - -static int compareQualifiers(Cell left, byte[] right, int rOffset, @@ -205,96 +200,116 @@ extends Compares the cell's qualifier with the given byte[] - + static int copyFamilyTo(Cell cell, byte[] destination, - int destinationOffset)  + int destinationOffset) +
Copies the family to the given byte[]
+ - + static int copyFamilyTo(Cell cell, ByteBuffer destination, - int destinationOffset)  + int destinationOffset) +
Copies the family to the given bytebuffer
+ - + static int copyQualifierTo(Cell cell, byte[] destination, - int destinationOffset)  + int destinationOffset) +
Copies the qualifier to the given byte[]
+ - + static int copyQualifierTo(Cell cell, ByteBuffer destination, - int destinationOffset)  + int destinationOffset) +
Copies the qualifier to the given bytebuffer
+ - + static byte[] copyRow(Cell cell)
Copies the row to a new byte[]
- + static int copyRowTo(Cell cell, byte[] destination, int destinationOffset) -
copyTo
+
Copies the row to the given byte[]
- + static int copyRowTo(Cell cell, ByteBuffer destination, - int destinationOffset)  + int destinationOffset) +
Copies the row to the given bytebuffer
+ - + static int copyTagTo(Cell cell, byte[] destination, int destinationOffset) -
Copies the tags info into the tag portion of the cell
+
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0.
+
- + static int copyTagTo(Cell cell, ByteBuffer destination, - int destinationOffset)  + int destinationOffset) +
Deprecated.  +
As of HBase-2.0. Will be removed in 3.0.
+
+ - + static int copyValueTo(Cell cell, byte[] destination, - int destinationOffset)  + int destinationOffset) +
Copies the value to the given byte[]
+ - + static int copyValueTo(Cell cell, ByteBuffer destination, - int destinationOffset)  + int destinationOffset) +
Copies the value to the given bytebuffer
+ - + static Cell createCell(byte[] row)
Deprecated.  -
As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead
+
As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead
- + static Cell createCell(byte[] row, byte[] value)
Deprecated.  -
As of release 2.0.0, this will be removed in HBase 3.0.0. - Use CellBuilder instead
+
As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead
- + static Cell createCell(byte[] row, byte[] family, @@ -305,7 +320,7 @@ extends + static Cell createCell(byte[] row, byte[] family, @@ -314,12 +329,12 @@ extends Deprecated.  - +
As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead
- + static Cell createCell(byte[] rowArray, int rowOffset, @@ -331,230 +346,158 @@ extends Deprecated.  - +
As of release 2.0.0, this will be removed in HBase 3.0.0. Use CellBuilder + instead
- + static Cell createCell(Cell cell, byte[] tags)  - + static Cell createCell(Cell cell, byte[] value, byte[] tags)  - + static Cell createCell(Cell cell, List<org.apache.hadoop.hbase.Tag> tags)  - + static org.apache.hadoop.hbase.CellScanner createCellScanner(Cell[] cellArray)  - + static org.apache.hadoop.hbase.CellScanner createCellScanner(Iterable<Cell> cellIterable)  - + static org.apache.hadoop.hbase.CellScanner createCellScanner(Iterator<Cell> cells)  - + static org.apache.hadoop.hbase.CellScanner createCellScanner(List<? extends org.apache.hadoop.hbase.CellScannable> cellScannerables)  - + static org.apache.hadoop.hbase.CellScanner createCellScanner(NavigableMap<byte[],List<Cell>> map)
Flatten the map of cells out under the CellScanner
- -static Cell -createFirstDeleteFamilyCellOnRow(byte[] row, - byte[] fam) -
Create a Delete Family Cell for the specified row and family that would - be smaller than all other possible Delete Family KeyValues that have the - same row and family.
- - - -static Cell -createFirstOnNextRow(Cell cell) -
Create a Cell that is smaller than all other possible Cells for the given Cell row's next row.
- - - -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, - int qoffest, - int qlength) -
Create a Cell that is smaller than all other possible Cells for the given Cell's rk:cf and - passed qualifier.
- - - -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 -createFirstOnRowFamily(Cell cell, - byte[] fArray, - int foff, - int flen)  - - -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 Cell -deepClone(Cell cell) -
Deep clones the given cell if the cell supports deep cloning
- - - + static boolean equals(Cell a, Cell b)
equals
- + static boolean equalsIgnoreMvccVersion(Cell a, Cell b) -
special case for Cell.equals
+
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0
+
- + static long estimatedHeapSizeOf(Cell cell) -
This is an estimate of the heap space occupied by a cell.
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static int estimatedSerializedSizeOf(Cell cell) -
Estimate based on keyvalue's serialization format in the RPC layer.
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static int estimatedSerializedSizeOfKey(Cell cell) -
Calculates the serialized key size.
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static ByteRange fillFamilyRange(Cell cell, - ByteRange range)  + ByteRange range)
+
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0.
+
+ - + static ByteRange fillQualifierRange(Cell cell, - ByteRange range)  + ByteRange range)
+
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0.
+
+ - + static ByteRange fillRowRange(Cell cell, ByteRange range) -
ByteRange
+
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0.
+
- + static ByteRange fillTagRange(Cell cell, - ByteRange range)  + ByteRange range)
+
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0.
+
+ - + static ByteRange fillValueRange(Cell cell, - ByteRange range)  + ByteRange range) +
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0.
+
+ - + static int findCommonPrefixInFlatKey(Cell c1, Cell c2, boolean bypassFamilyCheck, boolean withTsType) -
Find length of common prefix in keys of the cells, considering key as byte[] if serialized in - KeyValue.
+
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0
+
- + static String getCellKeyAsString(Cell cell)  - + static byte[] getCellKeySerializedAsKeyValueKey(Cell cell) -
This method exists just to encapsulate how we serialize keys.
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static ByteBuffer getQualifierBufferShallowCopy(Cell cell)
Deprecated.  @@ -562,103 +505,113 @@ 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
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static byte[] getTagArray(Cell cell) -
Returns tag value in a new byte array.
+
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0
+
- + 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 int -getValueAsInt(Cell cell) -
Converts the value bytes of the given cell into a int value
- - - -static long -getValueAsLong(Cell cell) -
Converts the value bytes of the given cell into a long value
+getTags(Cell cell) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static ByteBuffer -getValueBufferShallowCopy(Cell cell)  +getValueBufferShallowCopy(Cell cell) +
Deprecated.  +
As of HBase-2.0. Will be removed in 3.0.
+
+ - + static boolean -isDelete(byte type)  +isDelete(byte type) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
+ - + static boolean isDelete(Cell cell)  - + static boolean -isDeleteColumnOrFamily(Cell cell)  +isDeleteColumnOrFamily(Cell cell) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
+ - + static boolean -isDeleteColumns(Cell cell)  +isDeleteColumns(Cell cell) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
+ - + static boolean -isDeleteColumnVersion(Cell cell)  - - +isDeleteColumnVersion(Cell cell) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
+ + + static boolean -isDeleteFamily(Cell cell)  +isDeleteFamily(Cell cell) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
+ - + static boolean -isDeleteFamilyVersion(Cell cell)  +isDeleteFamilyVersion(Cell cell) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
+ - + static boolean -isDeleteType(Cell cell)  +isDeleteType(Cell cell) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
+ - + static byte[] makeColumn(byte[] family, byte[] qualifier)
Makes a column in family:qualifier form from separate byte arrays.
- + static boolean matchingColumn(Cell left, byte[] fam, byte[] qual)  - + static boolean matchingColumn(Cell left, byte[] fam, @@ -666,31 +619,39 @@ extends Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
+ - + 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)  + int length) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
+ - + static boolean matchingFamily(Cell left, Cell right)  - + static boolean matchingQualifier(Cell left, byte[] buf) @@ -698,34 +659,40 @@ extends + static boolean matchingQualifier(Cell left, byte[] buf, int offset, int length) -
Finds if the qualifier part of the cell and the KV serialized - byte[] are equal
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static boolean matchingQualifier(Cell left, Cell right)  - + static boolean matchingRow(Cell left, - byte[] buf)  + byte[] buf) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0. + Instead use matchingRows(Cell, byte[])
+
+ - + static boolean matchingRow(Cell left, byte[] buf, int offset, int length)  - + static boolean matchingRow(Cell left, Cell right) @@ -735,212 +702,178 @@ extends + static boolean matchingRowColumn(Cell left, Cell right)
Compares the row and column of two keyvalues for equality
- + +static boolean +matchingRows(Cell left, + byte[] buf)  + + 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)  + Cell b) +
Deprecated.  +
As of HBase-2.0. Will be removed in HBase-3.0
+
+ - + 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, byte[] start2, byte[] end2) -
Returns true if the first range start1...end1 overlaps with the second range - start2...end2, assuming the byte arrays represent row keys
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static byte[][] parseColumn(byte[] c)
Splits a column in family:qualifier form into separate byte arrays.
- + +static void +setSequenceId(Cell cell, + long seqId) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
+ + + static void setTimestamp(Cell cell, byte[] ts, int tsOffset) -
Sets the given timestamp to the cell.
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static void setTimestamp(Cell cell, long ts) -
Sets the given timestamp to the cell.
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static Iterator<org.apache.hadoop.hbase.Tag> tagsIterator(byte[] tags, int offset, int length)
Deprecated. 
As of 2.0.0 and will be removed in 3.0.0 - Instead use tagsIterator(Cell)
+ Instead use #tagsIterator(Cell)
- -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, int tsOffset) -
Sets the given timestamp to the cell iff current timestamp is - HConstants.LATEST_TIMESTAMP.
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static boolean updateLatestStamp(Cell cell, long ts) -
Sets the given timestamp to the cell iff current timestamp is - HConstants.LATEST_TIMESTAMP.
- - - -static int -writeCell(Cell cell, - OutputStream out, - boolean withTags) -
Writes the cell to the given OutputStream
- - - -static void -writeCellToBuffer(Cell cell, - ByteBuffer buf, - int offset) -
Writes a cell to the buffer at the given offset
- - - -static void -writeFamily(OutputStream out, - Cell cell, - byte flength) -
Writes the family from the given cell to the output stream
- - - -static void -writeFlatKey(Cell cell, - DataOutput out) -
Writes the Cell's key part as it would have serialized in a KeyValue.
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static int writeFlatKey(Cell cell, - OutputStream out)  - - -static void -writeQualifier(OutputStream out, - Cell cell, - int qlength) -
Writes the qualifier from the given cell to the output stream
+ OutputStream out) +
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static void writeQualifierSkippingBytes(DataOutputStream out, Cell cell, int qlength, int commonPrefix) -
Writes the qualifier from the given cell to the output stream excluding the common prefix
- - - -static void -writeRow(OutputStream out, - Cell cell, - short rlength) -
Writes the row from the given cell to the output stream
+
Deprecated.  +
As of release 2.0.0, this will be removed in HBase 3.0.0.
+
- + static void writeRowKeyExcludingCommon(Cell cell,