@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
.TransactionException
public void commit() throws TransactionException
Lock
.TransactionException
public void abort() throws TransactionException
Lock
.TransactionException
Copyright © 2019 The Apache Software Foundation. All rights reserved.