HBASE-22745 Removed deprecated methods from Append

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
Jan Hentschel 2019-07-27 15:19:56 +02:00 committed by GitHub
parent cf8114a82e
commit 3318b4bc6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 26 deletions

View File

@ -146,20 +146,6 @@ public class Append extends Mutation {
super(row, ts, familyMap);
}
/**
* Add the specified column and value to this Append operation.
* @param family family name
* @param qualifier column qualifier
* @param value value to append to specified column
* @return this
* @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0.
* Use {@link #addColumn(byte[], byte[], byte[])} instead
*/
@Deprecated
public Append add(byte [] family, byte [] qualifier, byte [] value) {
return this.addColumn(family, qualifier, value);
}
/**
* Add the specified column and value to this Append operation.
* @param family family name
@ -209,17 +195,6 @@ public class Append extends Mutation {
return (Append) super.setDurability(d);
}
/**
* Method for setting the Append's familyMap
* @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0.
* Use {@link Append#Append(byte[], long, NavigableMap)} instead
*/
@Deprecated
@Override
public Append setFamilyCellMap(NavigableMap<byte[], List<Cell>> map) {
return (Append) super.setFamilyCellMap(map);
}
@Override
public Append setClusterIds(List<UUID> clusterIds) {
return (Append) super.setClusterIds(clusterIds);

View File

@ -751,7 +751,7 @@ public class RowResource extends ResourceBase {
.type(MIMETYPE_TEXT).entity("Bad request: Column incorrectly specified." + CRLF)
.build();
}
append.add(parts[0], parts[1], cell.getValue());
append.addColumn(parts[0], parts[1], cell.getValue());
}
if (LOG.isDebugEnabled()) {