@Deprecated public class Transaction extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Deprecated.
Aborts the transaction.
|
void |
begin()
Deprecated.
Begin the transaction.
|
void |
commit()
Deprecated.
Commits the transaction.
|
TransactionBatch.TxnState |
getState()
Deprecated.
|
long |
getTransactionId()
Deprecated.
|
String |
toString()
Deprecated.
|
public long getTransactionId()
public TransactionBatch.TxnState getState()
public void begin()
throws TransactionException
Lock for the transaction and AcidTables.TransactionExceptionpublic void commit()
throws TransactionException
Lock.TransactionExceptionpublic void abort()
throws TransactionException
Lock.TransactionExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.