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.shaded.protobuf | |
org.apache.hadoop.hbase.thrift2 |
Provides an HBase Thrift
service.
|
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[]) |
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<Boolean> |
AsyncTable.CheckAndMutateBuilder.thenMutate(RowMutations mutation) |
boolean |
Table.CheckAndMutateBuilder.thenMutate(RowMutations mutation) |
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 |
HRegion.checkAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
ByteArrayComparable comparator,
TimeRange timeRange,
RowMutations rm) |
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.
|
void |
HRegion.mutateRow(RowMutations rm) |
void |
Region.mutateRow(RowMutations mutations)
Performs multiple mutations atomically on a single row.
|
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) |
Modifier and Type | Method and Description |
---|---|
static ClientProtos.MultiRequest |
RequestConverter.buildMutateRequest(byte[] regionName,
byte[] row,
byte[] family,
byte[] qualifier,
ByteArrayComparable comparator,
HBaseProtos.CompareType compareType,
TimeRange timeRange,
RowMutations rowMutations)
Create a protocol buffer MutateRequest for conditioned row mutations
|
static ClientProtos.RegionAction.Builder |
RequestConverter.buildNoDataRegionAction(byte[] regionName,
RowMutations rowMutations,
List<CellScannable> cells,
ClientProtos.RegionAction.Builder regionActionBuilder,
ClientProtos.Action.Builder actionBuilder,
ClientProtos.MutationProto.Builder mutationBuilder)
Create a protocol buffer MultiRequest for row mutations that does not hold data.
|
static ClientProtos.RegionAction.Builder |
RequestConverter.buildRegionAction(byte[] regionName,
RowMutations rowMutations)
Create a protocol buffer MultiRequest for row mutations.
|
Modifier and Type | Method and Description |
---|---|
static RowMutations |
ThriftUtilities.rowMutationsFromThrift(TRowMutations in)
Creates a
RowMutations (HBase) from a TRowMutations (Thrift) |
Copyright © 2007–2019 Cloudera. All rights reserved.