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:
parent
7fca9bf048
commit
ca56b9ca7c
|
@ -1194,7 +1194,9 @@ public class KeyValue implements Cell, HeapSize, Cloneable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return The byte array backing this KeyValue.
|
* @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() {
|
public byte [] getBuffer() {
|
||||||
return this.bytes;
|
return this.bytes;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue