HBASE-22745 Removed deprecated methods from Append
Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
cf8114a82e
commit
3318b4bc6d
|
@ -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);
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue