| Package | Description |
|---|---|
| org.apache.hadoop.hive.metastore | |
| org.apache.hadoop.hive.metastore.api |
| Modifier and Type | Method and Description |
|---|---|
long |
HiveMetaStoreClient.openTxn(String user,
TxnType txnType) |
long |
IMetaStoreClient.openTxn(String user,
TxnType txnType)
Initiate a transaction with given type.
|
List<Long> |
HiveMetaStoreClient.replOpenTxn(String replPolicy,
List<Long> srcTxnIds,
String user,
TxnType txnType) |
List<Long> |
IMetaStoreClient.replOpenTxn(String replPolicy,
List<Long> srcTxnIds,
String user,
TxnType txnType)
Initiate a repl replayed or hive replication transaction (dump/load).
|
void |
HiveMetaStoreClient.replRollbackTxn(long srcTxnId,
String replPolicy,
TxnType txnType) |
void |
IMetaStoreClient.replRollbackTxn(long srcTxnid,
String replPolicy,
TxnType txnType)
Rollback a transaction.
|
| Modifier and Type | Method and Description |
|---|---|
ValidTxnList |
HiveMetaStoreClient.getValidTxns(long currentTxn,
List<TxnType> excludeTxnTypes) |
ValidTxnList |
IMetaStoreClient.getValidTxns(long currentTxn,
List<TxnType> excludeTxnTypes)
Get a structure that details valid transactions.
|
| Modifier and Type | Method and Description |
|---|---|
static TxnType |
TxnType.findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
TxnType |
AbortTxnRequest.getTxn_type() |
TxnType |
CommitTxnRequest.getTxn_type() |
TxnType |
OpenTxnRequest.getTxn_type() |
static TxnType |
TxnType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxnType[] |
TxnType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
List<TxnType> |
GetOpenTxnsRequest.getExcludeTxnTypes() |
Iterator<TxnType> |
GetOpenTxnsRequest.getExcludeTxnTypesIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
GetOpenTxnsRequest.addToExcludeTxnTypes(TxnType elem) |
void |
AbortTxnRequest.setTxn_type(TxnType txn_type) |
void |
CommitTxnRequest.setTxn_type(TxnType txn_type) |
void |
OpenTxnRequest.setTxn_type(TxnType txn_type) |
| Modifier and Type | Method and Description |
|---|---|
void |
GetOpenTxnsRequest.setExcludeTxnTypes(List<TxnType> excludeTxnTypes) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.