| Package | Description |
|---|---|
| org.apache.hadoop.hive.metastore.txn | |
| org.apache.hadoop.hive.metastore.txn.entities | |
| org.apache.hadoop.hive.metastore.txn.jdbc.queries |
| Modifier and Type | Method and Description |
|---|---|
static void |
TxnUtils.raiseTxnUnexpectedState(TxnStatus actualStatus,
long txnid)
Used to raise an informative error when the caller expected a txn in a particular TxnStatus
but found it in some other status
|
| Modifier and Type | Method and Description |
|---|---|
static TxnStatus |
TxnStatus.fromString(String sqlConst) |
TxnStatus |
OpenTxn.getStatus() |
static TxnStatus |
TxnStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxnStatus[] |
TxnStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OpenTxn.setStatus(TxnStatus status) |
| Constructor and Description |
|---|
OpenTxn(long txnId,
TxnStatus status,
TxnType type) |
| Modifier and Type | Method and Description |
|---|---|
TxnStatus |
FindTxnStateHandler.extractData(ResultSet rs) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.