|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.client.HTable
org.apache.hadoop.hbase.client.transactional.TransactionalTable
public class TransactionalTable
Table with transactional support.
| Nested Class Summary | |
|---|---|
protected class |
TransactionalTable.TransactionalClientScanner
|
| Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.HTable |
|---|
HTable.ClientScanner, HTable.OldClientScanner |
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.hbase.client.HTable |
|---|
scannerCaching, scannerTimeout |
| Constructor Summary | |
|---|---|
TransactionalTable(HBaseConfiguration conf,
byte[] tableName)
|
|
TransactionalTable(HBaseConfiguration conf,
String tableName)
|
|
| Method Summary | |
|---|---|
void |
delete(TransactionState transactionState,
Delete delete)
|
Result |
get(TransactionState transactionState,
Get get)
Method for getting data from a row |
ResultScanner |
getScanner(TransactionState transactionState,
Scan scan)
|
void |
put(TransactionState transactionState,
Put put)
Commit a Put to the table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionalTable(HBaseConfiguration conf,
String tableName)
throws IOException
conf - tableName -
IOException
public TransactionalTable(HBaseConfiguration conf,
byte[] tableName)
throws IOException
conf - tableName -
IOException| Method Detail |
|---|
public Result get(TransactionState transactionState,
Get get)
throws IOException
get - the Get to fetch
IOException
public void delete(TransactionState transactionState,
Delete delete)
throws IOException
delete -
IOException
public void put(TransactionState transactionState,
Put put)
throws IOException
If autoFlush is false, the update is buffered.
put -
IOException
public ResultScanner getScanner(TransactionState transactionState,
Scan scan)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||