hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1559934 - /hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
Date Tue, 21 Jan 2014 08:19:05 GMT
Author: stack
Date: Tue Jan 21 08:19:04 2014
New Revision: 1559934

URL: http://svn.apache.org/r1559934
Log:
HBASE-10391 Deprecate KeyValue#getBuffer

Modified:
    hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java

Modified: hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java?rev=1559934&r1=1559933&r2=1559934&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java (original)
+++ hbase/branches/0.98/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java Tue
Jan 21 08:19:04 2014
@@ -1194,7 +1194,9 @@ public class KeyValue implements Cell, H
 
   /**
    * @return The byte array backing this KeyValue.
+   * @deprecated Since 0.98.0.  Use Cell Interface instead.  Do not presume single backing
buffer.
    */
+  @Deprecated
   public byte [] getBuffer() {
     return this.bytes;
   }



Mime
View raw message