Skip to content

Commit

Permalink
HBASE-22745 Removed deprecated methods from Append
Browse files Browse the repository at this point in the history
Signed-off-by: stack <[email protected]>
  • Loading branch information
HorizonNet authored Jul 27, 2019
1 parent cf8114a commit 3318b4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,20 +146,6 @@ public Append(byte[] row, long ts, NavigableMap<byte [], List<Cell>> familyMap)
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
Expand Down Expand Up @@ -209,17 +195,6 @@ public Append setDurability(Durability d) {
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ Response append(final CellSetModel model) {
.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()) {
Expand Down

0 comments on commit 3318b4b

Please sign in to comment.