public enum TxnErrorMsg extends Enum<TxnErrorMsg>
| Modifier and Type | Method and Description |
|---|---|
long |
getErrorCode() |
static TxnErrorMsg |
getTxnErrorMsg(long errorCode) |
String |
toSqlString() |
String |
toString() |
static TxnErrorMsg |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxnErrorMsg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxnErrorMsg NONE
public static final TxnErrorMsg ABORT_QUERY
public static final TxnErrorMsg ABORT_CONCURRENT
public static final TxnErrorMsg ABORT_WRITE_CONFLICT
public static final TxnErrorMsg ABORT_TIMEOUT
public static final TxnErrorMsg ABORT_ROLLBACK
public static final TxnErrorMsg ABORT_COMPACTION_TXN
public static final TxnErrorMsg ABORT_MSCK_TXN
public static final TxnErrorMsg ABORT_MIGRATION_TXN
public static final TxnErrorMsg ABORT_DEFAULT_REPL_TXN
public static final TxnErrorMsg ABORT_REPLAYED_REPL_TXN
public static final TxnErrorMsg ABORT_REPL_WRITEID_TXN
public static final TxnErrorMsg ABORT_FETCH_FAILOVER_METADATA
public static final TxnErrorMsg ABORT_WRITE_TXN_AFTER_TIMEOUT
public static final TxnErrorMsg ABORT_ONGOING_TXN_FOR_TARGET_DB
public static TxnErrorMsg[] values()
for (TxnErrorMsg c : TxnErrorMsg.values()) System.out.println(c);
public static TxnErrorMsg valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic long getErrorCode()
public String toString()
toString in class Enum<TxnErrorMsg>public static TxnErrorMsg getTxnErrorMsg(long errorCode)
public String toSqlString()
Copyright © 2024 The Apache Software Foundation. All rights reserved.