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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
HTablePool.PooledHTable.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
RowMutations mutation) |
boolean |
HTableWrapper.checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
byte[] value,
RowMutations rm) |
void |
HTable.mutateRow(RowMutations rm)
Performs multiple mutations atomically on a single row.
|
void |
Table.mutateRow(RowMutations rm)
Performs multiple mutations atomically on a single row.
|
void |
HTablePool.PooledHTable.mutateRow(RowMutations rm) |
void |
HTableWrapper.mutateRow(RowMutations rm) |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
HRegion.checkAndRowMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareFilter.CompareOp compareOp,
ByteArrayComparable comparator,
RowMutations rm,
boolean writeToWAL) |
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) |
void |
RemoteHTable.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) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.