HBASE-24050 Deprecated PBType on all 2.x branches (#1354)

Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
Duo Zhang 2020-03-27 10:43:14 +08:00
parent a4c66b3fa6
commit e13aa84dfd
1 changed files with 6 additions and 2 deletions

View File

@ -25,9 +25,13 @@ import org.apache.hadoop.hbase.util.PositionedByteRange;
import org.apache.yetus.audience.InterfaceAudience;
/**
* A base-class for {@link DataType} implementations backed by protobuf. See
* {@code PBKeyValue} in {@code hbase-examples} module.
* A base-class for {@link DataType} implementations backed by protobuf. See {@code PBKeyValue} in
* {@code hbase-examples} module.
* @deprecated Will be removed in 3.0.0 without replacement. It should not be a public API as it
* exposes the protobuf stuff. Users who depend on this class should just copy the code
* your own code base.
*/
@Deprecated
@InterfaceAudience.Public
public abstract class PBType<T extends Message> implements DataType<T> {
@Override