HBASE-10391 Deprecate KeyValue#getBuffer

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1559935 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2014-01-21 08:20:52 +00:00
parent 7fca9bf048
commit ca56b9ca7c
1 changed files with 2 additions and 0 deletions

View File

@ -1194,7 +1194,9 @@ public class KeyValue implements Cell, HeapSize, Cloneable {
/**
* @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;
}