HBASE-24886 Remove deprecated methods in RowMutations (#2267)
Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com> Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
98e35842eb
commit
7a4d7c8607
|
@ -74,30 +74,6 @@ public class RowMutations implements Row {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a {@link Put} operation to the list of mutations
|
||||
* @param p The {@link Put} to add
|
||||
* @throws IOException if the row of added mutation doesn't match the original row
|
||||
* @deprecated since 2.0 version and will be removed in 3.0 version.
|
||||
* use {@link #add(Mutation)}
|
||||
*/
|
||||
@Deprecated
|
||||
public void add(Put p) throws IOException {
|
||||
add((Mutation) p);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a {@link Delete} operation to the list of mutations
|
||||
* @param d The {@link Delete} to add
|
||||
* @throws IOException if the row of added mutation doesn't match the original row
|
||||
* @deprecated since 2.0 version and will be removed in 3.0 version.
|
||||
* use {@link #add(Mutation)}
|
||||
*/
|
||||
@Deprecated
|
||||
public void add(Delete d) throws IOException {
|
||||
add((Mutation) d);
|
||||
}
|
||||
|
||||
/**
|
||||
* Currently only supports {@link Put} and {@link Delete} mutations.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue