Package | Description |
---|---|
org.apache.hadoop.hbase.thrift2 |
Provides an HBase Thrift
service.
|
org.apache.hadoop.hbase.thrift2.generated |
Modifier and Type | Method and Description |
---|---|
boolean |
ThriftHBaseServiceHandler.checkAndMutate(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
TCompareOp compareOp,
ByteBuffer value,
TRowMutations rowMutations) |
void |
ThriftHBaseServiceHandler.mutateRow(ByteBuffer table,
TRowMutations rowMutations) |
static RowMutations |
ThriftUtilities.rowMutationsFromThrift(TRowMutations in)
Creates a
RowMutations (HBase) from a TRowMutations (Thrift) |
Modifier and Type | Field and Description |
---|---|
TRowMutations |
THBaseService.checkAndMutate_args.rowMutations
row mutations to execute if the value matches
|
TRowMutations |
THBaseService.mutateRow_args.trowMutations
mutations to apply
|
Modifier and Type | Method and Description |
---|---|
TRowMutations |
TRowMutations.deepCopy() |
TRowMutations |
THBaseService.checkAndMutate_args.getRowMutations()
row mutations to execute if the value matches
|
TRowMutations |
THBaseService.mutateRow_args.getTrowMutations()
mutations to apply
|
TRowMutations |
TRowMutations.setMutations(List<TMutation> mutations) |
TRowMutations |
TRowMutations.setRow(byte[] row) |
TRowMutations |
TRowMutations.setRow(ByteBuffer row) |
Modifier and Type | Method and Description |
---|---|
boolean |
THBaseService.Iface.checkAndMutate(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
TCompareOp compareOp,
ByteBuffer value,
TRowMutations rowMutations)
Atomically checks if a row/family/qualifier value matches the expected
value.
|
boolean |
THBaseService.Client.checkAndMutate(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
TCompareOp compareOp,
ByteBuffer value,
TRowMutations rowMutations) |
void |
THBaseService.AsyncIface.checkAndMutate(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
TCompareOp compareOp,
ByteBuffer value,
TRowMutations rowMutations,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
THBaseService.AsyncClient.checkAndMutate(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
TCompareOp compareOp,
ByteBuffer value,
TRowMutations rowMutations,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
int |
TRowMutations.compareTo(TRowMutations other) |
boolean |
TRowMutations.equals(TRowMutations that) |
void |
THBaseService.Iface.mutateRow(ByteBuffer table,
TRowMutations trowMutations)
mutateRow performs multiple mutations atomically on a single row.
|
void |
THBaseService.Client.mutateRow(ByteBuffer table,
TRowMutations trowMutations) |
void |
THBaseService.AsyncIface.mutateRow(ByteBuffer table,
TRowMutations trowMutations,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
THBaseService.AsyncClient.mutateRow(ByteBuffer table,
TRowMutations trowMutations,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
THBaseService.Client.send_checkAndMutate(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
TCompareOp compareOp,
ByteBuffer value,
TRowMutations rowMutations) |
void |
THBaseService.Client.send_mutateRow(ByteBuffer table,
TRowMutations trowMutations) |
THBaseService.checkAndMutate_args |
THBaseService.checkAndMutate_args.setRowMutations(TRowMutations rowMutations)
row mutations to execute if the value matches
|
THBaseService.mutateRow_args |
THBaseService.mutateRow_args.setTrowMutations(TRowMutations trowMutations)
mutations to apply
|
Constructor and Description |
---|
THBaseService.AsyncClient.checkAndMutate_call(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
TCompareOp compareOp,
ByteBuffer value,
TRowMutations rowMutations,
org.apache.thrift.async.AsyncMethodCallback resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
THBaseService.AsyncClient.mutateRow_call(ByteBuffer table,
TRowMutations trowMutations,
org.apache.thrift.async.AsyncMethodCallback resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
THBaseService.checkAndMutate_args(ByteBuffer table,
ByteBuffer row,
ByteBuffer family,
ByteBuffer qualifier,
TCompareOp compareOp,
ByteBuffer value,
TRowMutations rowMutations) |
THBaseService.mutateRow_args(ByteBuffer table,
TRowMutations trowMutations) |
TRowMutations(TRowMutations other)
Performs a deep copy on other.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.