Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.rest.client | |
org.apache.hadoop.hbase.thrift2 |
Provides an HBase Thrift
service.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HTableWrapper.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
RowMutations rm) |
boolean |
Table.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
RowMutations mutation)
Atomically checks if a row/family/qualifier value matches the expected value.
|
boolean |
HTable.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
RowMutations rm)
Atomically checks if a row/family/qualifier value matches the expected value.
|
void |
HTableWrapper.mutateRow(RowMutations rm) |
void |
Table.mutateRow(RowMutations rm)
Performs multiple mutations atomically on a single row.
|
void |
HTable.mutateRow(RowMutations rm)
Performs multiple mutations atomically on a single row.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequest |
RequestConverter.buildMutateRequest(byte[] regionName,
byte[] row,
byte[] family,
byte[] qualifier,
ByteArrayComparable comparator,
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType compareType,
RowMutations rowMutations)
Create a protocol buffer MutateRequest for conditioned row mutations
|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder |
RequestConverter.buildNoDataRegionAction(byte[] regionName,
RowMutations rowMutations,
List<CellScannable> cells,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder regionActionBuilder,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Action.Builder actionBuilder,
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder mutationBuilder)
Create a protocol buffer MultiRequest for row mutations that does not hold data.
|
static org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionAction.Builder |
RequestConverter.buildRegionAction(byte[] regionName,
RowMutations rowMutations)
Create a protocol buffer MultiRequest for row mutations.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HRegion.checkAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
RowMutations rm,
boolean writeToWAL) |
boolean |
Region.checkAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
RowMutations mutations,
boolean writeToWAL)
Atomically checks if a row/family/qualifier value matches the expected val
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) |
void |
RemoteHTable.mutateRow(RowMutations rm) |
Modifier and Type | Method and Description |
---|---|
static RowMutations |
ThriftUtilities.rowMutationsFromThrift(TRowMutations in)
Creates a
RowMutations (HBase) from a TRowMutations (Thrift) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.