| Package | Description | 
|---|---|
| org.apache.hadoop.hbase.client | 
 Provides HBase Client 
 | 
| org.apache.hadoop.hbase.regionserver | |
| org.apache.hadoop.hbase.thrift2 | 
 Provides an HBase Thrift
service. 
 | 
| org.apache.hadoop.hbase.thrift2.client | 
| Modifier and Type | Method and Description | 
|---|---|
RowMutations | 
RowMutations.add(List<? extends Mutation> mutations)
 | 
RowMutations | 
RowMutations.add(Mutation mutation)
 | 
static RowMutations | 
RowMutations.of(List<? extends Mutation> mutations)
Create a  
RowMutations with the specified mutations. | 
| Modifier and Type | Method and Description | 
|---|---|
default boolean | 
Table.checkAndMutate(byte[] row,
              byte[] family,
              byte[] qualifier,
              CompareFilter.CompareOp compareOp,
              byte[] value,
              RowMutations mutation)
Deprecated. 
 
Since 2.0.0. Will be removed in 3.0.0. Use  
Table.checkAndMutate(byte[], byte[]) | 
boolean | 
HTable.checkAndMutate(byte[] row,
              byte[] family,
              byte[] qualifier,
              CompareFilter.CompareOp compareOp,
              byte[] value,
              RowMutations rm)
Deprecated.  
 | 
default boolean | 
Table.checkAndMutate(byte[] row,
              byte[] family,
              byte[] qualifier,
              CompareOperator op,
              byte[] value,
              RowMutations mutation)
Deprecated. 
 
Since 2.0.0. Will be removed in 3.0.0. Use  
Table.checkAndMutate(byte[], byte[]) | 
boolean | 
HTable.checkAndMutate(byte[] row,
              byte[] family,
              byte[] qualifier,
              CompareOperator op,
              byte[] value,
              RowMutations rm)
Deprecated.  
 | 
private boolean | 
HTable.doCheckAndMutate(byte[] row,
                byte[] family,
                byte[] qualifier,
                CompareOperator op,
                byte[] value,
                Filter filter,
                TimeRange timeRange,
                RowMutations rm)  | 
private <RESP> CompletableFuture<RESP> | 
RawAsyncTableImpl.mutateRow(HBaseRpcController controller,
         HRegionLocation loc,
         org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interface stub,
         RowMutations mutation,
         RawAsyncTableImpl.Converter<org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MultiRequest,byte[],RowMutations> reqConvert,
         Function<Result,RESP> respConverter)  | 
CompletableFuture<Void> | 
AsyncTable.mutateRow(RowMutations mutation)
Performs multiple mutations atomically on a single row. 
 | 
default void | 
Table.mutateRow(RowMutations rm)
Performs multiple mutations atomically on a single row. 
 | 
CompletableFuture<Void> | 
RawAsyncTableImpl.mutateRow(RowMutations mutation)  | 
CompletableFuture<Void> | 
AsyncTableImpl.mutateRow(RowMutations mutation)  | 
void | 
HTable.mutateRow(RowMutations rm)  | 
CompletableFuture<Boolean> | 
AsyncTable.CheckAndMutateBuilder.thenMutate(RowMutations mutation)  | 
CompletableFuture<Boolean> | 
AsyncTable.CheckAndMutateWithFilterBuilder.thenMutate(RowMutations mutation)  | 
boolean | 
Table.CheckAndMutateBuilder.thenMutate(RowMutations mutation)  | 
boolean | 
Table.CheckAndMutateWithFilterBuilder.thenMutate(RowMutations mutation)  | 
CompletableFuture<Boolean> | 
RawAsyncTableImpl.CheckAndMutateBuilderImpl.thenMutate(RowMutations mutation)  | 
CompletableFuture<Boolean> | 
RawAsyncTableImpl.CheckAndMutateWithFilterBuilderImpl.thenMutate(RowMutations mutation)  | 
boolean | 
HTable.CheckAndMutateBuilderImpl.thenMutate(RowMutations mutation)  | 
boolean | 
HTable.CheckAndMutateWithFilterBuilderImpl.thenMutate(RowMutations mutation)  | 
| Modifier and Type | Method and Description | 
|---|---|
private <RESP> CompletableFuture<RESP> | 
RawAsyncTableImpl.mutateRow(HBaseRpcController controller,
         HRegionLocation loc,
         org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interface stub,
         RowMutations mutation,
         RawAsyncTableImpl.Converter<org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.MultiRequest,byte[],RowMutations> reqConvert,
         Function<Result,RESP> respConverter)  | 
| Modifier and Type | Method and Description | 
|---|---|
default boolean | 
Region.checkAndRowMutate(byte[] row,
                 byte[] family,
                 byte[] qualifier,
                 CompareOperator op,
                 ByteArrayComparable comparator,
                 RowMutations mutations)
Atomically checks if a row/family/qualifier value matches the expected values and if it does,
 it performs the row mutations. 
 | 
boolean | 
Region.checkAndRowMutate(byte[] row,
                 byte[] family,
                 byte[] qualifier,
                 CompareOperator op,
                 ByteArrayComparable comparator,
                 TimeRange timeRange,
                 RowMutations mutations)
Atomically checks if a row/family/qualifier value matches the expected values and if it does,
 it performs the row mutations. 
 | 
boolean | 
HRegion.checkAndRowMutate(byte[] row,
                 byte[] family,
                 byte[] qualifier,
                 CompareOperator op,
                 ByteArrayComparable comparator,
                 TimeRange timeRange,
                 RowMutations rm)  | 
default boolean | 
Region.checkAndRowMutate(byte[] row,
                 Filter filter,
                 RowMutations mutations)
Atomically checks if a row matches the filter and if it does, it performs the row mutations. 
 | 
boolean | 
Region.checkAndRowMutate(byte[] row,
                 Filter filter,
                 TimeRange timeRange,
                 RowMutations mutations)
Atomically checks if a row matches the filter and if it does, it performs the row mutations. 
 | 
boolean | 
HRegion.checkAndRowMutate(byte[] row,
                 Filter filter,
                 TimeRange timeRange,
                 RowMutations rm)  | 
private boolean | 
HRegion.doCheckAndRowMutate(byte[] row,
                   byte[] family,
                   byte[] qualifier,
                   CompareOperator op,
                   ByteArrayComparable comparator,
                   Filter filter,
                   TimeRange timeRange,
                   RowMutations rowMutations,
                   Mutation mutation)
checkAndMutate and checkAndRowMutate are 90% the same. 
 | 
void | 
Region.mutateRow(RowMutations mutations)
Performs multiple mutations atomically on a single row. 
 | 
void | 
HRegion.mutateRow(RowMutations rm)  | 
| Modifier and Type | Method and Description | 
|---|---|
static RowMutations | 
ThriftUtilities.rowMutationsFromThrift(org.apache.hadoop.hbase.thrift2.generated.TRowMutations in)
Creates a  
RowMutations (HBase) from a TRowMutations (Thrift) | 
| Modifier and Type | Method and Description | 
|---|---|
static org.apache.hadoop.hbase.thrift2.generated.TRowMutations | 
ThriftUtilities.rowMutationsFromHBase(RowMutations in)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
ThriftTable.checkAndMutate(byte[] row,
              byte[] family,
              byte[] qualifier,
              CompareOperator op,
              byte[] value,
              RowMutations mutation)  | 
void | 
ThriftTable.mutateRow(RowMutations rm)  | 
boolean | 
ThriftTable.CheckAndMutateBuilderImpl.thenMutate(RowMutations mutation)  | 
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.