Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.rest.client | |
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 |
---|---|
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,
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,
CompareOperator op,
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[]) |
private boolean |
HTable.doCheckAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
String opName,
byte[] value,
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) |
void |
HTable.mutateRow(RowMutations rm) |
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) |
boolean |
HTable.CheckAndMutateBuilderImpl.thenMutate(RowMutations mutation) |
CompletableFuture<Boolean> |
AsyncTable.CheckAndMutateBuilder.thenMutate(RowMutations mutation) |
boolean |
Table.CheckAndMutateBuilder.thenMutate(RowMutations mutation) |
CompletableFuture<Boolean> |
RawAsyncTableImpl.CheckAndMutateBuilderImpl.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) |
private boolean |
HRegion.doCheckAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
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 |
---|---|
boolean |
RemoteHTable.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
RowMutations rm)
Deprecated.
|
boolean |
RemoteHTable.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator compareOp,
byte[] value,
RowMutations rm)
Deprecated.
|
void |
RemoteHTable.mutateRow(RowMutations rm) |
boolean |
RemoteHTable.CheckAndMutateBuilderImpl.thenMutate(RowMutations mutation) |
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.