HBASE-12625 Deprecate certain methods in classes annotated with InterfaceAudience.Public in branch-1

This commit is contained in:
tedyu 2014-12-17 13:43:34 -08:00
parent 476bd40716
commit d92e686520

View File

@ -497,6 +497,16 @@ public final class CellUtil {
return t == Type.DeleteColumn.getCode() || t == Type.DeleteFamily.getCode();
}
/**
* @param cell
* @return Estimate of the <code>cell</code> size in bytes.
* @deprecated please use estimatedSerializedSizeOf(Cell)
*/
@Deprecated
public static int estimatedSizeOf(final Cell cell) {
return estimatedSerializedSizeOf(cell);
}
/**
* @param cell
* @return Estimate of the <code>cell</code> size in bytes.