HBASE-15616 (addendum) Allow null qualifier for all table operations
This commit is contained in:
parent
1ceb25cf09
commit
553d5db355
|
@ -184,7 +184,6 @@ public interface AsyncTableBase {
|
||||||
long amount, Durability durability) {
|
long amount, Durability durability) {
|
||||||
Preconditions.checkNotNull(row, "row is null");
|
Preconditions.checkNotNull(row, "row is null");
|
||||||
Preconditions.checkNotNull(family, "family is null");
|
Preconditions.checkNotNull(family, "family is null");
|
||||||
Preconditions.checkNotNull(qualifier, "qualifier is null");
|
|
||||||
return increment(
|
return increment(
|
||||||
new Increment(row).addColumn(family, qualifier, amount).setDurability(durability))
|
new Increment(row).addColumn(family, qualifier, amount).setDurability(durability))
|
||||||
.thenApply(r -> Bytes.toLong(r.getValue(family, qualifier)));
|
.thenApply(r -> Bytes.toLong(r.getValue(family, qualifier)));
|
||||||
|
|
Loading…
Reference in New Issue