public enum RedshiftState extends Enum<RedshiftState>
| Modifier and Type | Method and Description |
|---|---|
String |
getState() |
static boolean |
isConnectionError(String psqlState) |
static RedshiftState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedshiftState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedshiftState UNKNOWN_STATE
public static final RedshiftState TOO_MANY_RESULTS
public static final RedshiftState NO_DATA
public static final RedshiftState INVALID_PARAMETER_TYPE
public static final RedshiftState CONNECTION_UNABLE_TO_CONNECT
public static final RedshiftState CONNECTION_DOES_NOT_EXIST
public static final RedshiftState CONNECTION_REJECTED
public static final RedshiftState CONNECTION_FAILURE
public static final RedshiftState CONNECTION_FAILURE_DURING_TRANSACTION
public static final RedshiftState PROTOCOL_VIOLATION
public static final RedshiftState COMMUNICATION_ERROR
public static final RedshiftState NOT_IMPLEMENTED
public static final RedshiftState DATA_ERROR
public static final RedshiftState STRING_DATA_RIGHT_TRUNCATION
public static final RedshiftState NUMERIC_VALUE_OUT_OF_RANGE
public static final RedshiftState BAD_DATETIME_FORMAT
public static final RedshiftState DATETIME_OVERFLOW
public static final RedshiftState DIVISION_BY_ZERO
public static final RedshiftState MOST_SPECIFIC_TYPE_DOES_NOT_MATCH
public static final RedshiftState INVALID_PARAMETER_VALUE
public static final RedshiftState NOT_NULL_VIOLATION
public static final RedshiftState FOREIGN_KEY_VIOLATION
public static final RedshiftState UNIQUE_VIOLATION
public static final RedshiftState CHECK_VIOLATION
public static final RedshiftState EXCLUSION_VIOLATION
public static final RedshiftState INVALID_CURSOR_STATE
public static final RedshiftState TRANSACTION_STATE_INVALID
public static final RedshiftState ACTIVE_SQL_TRANSACTION
public static final RedshiftState NO_ACTIVE_SQL_TRANSACTION
public static final RedshiftState IN_FAILED_SQL_TRANSACTION
public static final RedshiftState INVALID_SQL_STATEMENT_NAME
public static final RedshiftState INVALID_AUTHORIZATION_SPECIFICATION
public static final RedshiftState INVALID_TRANSACTION_TERMINATION
public static final RedshiftState STATEMENT_NOT_ALLOWED_IN_FUNCTION_CALL
public static final RedshiftState INVALID_SAVEPOINT_SPECIFICATION
public static final RedshiftState DEADLOCK_DETECTED
public static final RedshiftState SYNTAX_ERROR
public static final RedshiftState UNDEFINED_COLUMN
public static final RedshiftState UNDEFINED_OBJECT
public static final RedshiftState WRONG_OBJECT_TYPE
public static final RedshiftState NUMERIC_CONSTANT_OUT_OF_RANGE
public static final RedshiftState DATA_TYPE_MISMATCH
public static final RedshiftState UNDEFINED_FUNCTION
public static final RedshiftState INVALID_NAME
public static final RedshiftState DATATYPE_MISMATCH
public static final RedshiftState CANNOT_COERCE
public static final RedshiftState UNDEFINED_TABLE
public static final RedshiftState OUT_OF_MEMORY
public static final RedshiftState OBJECT_NOT_IN_STATE
public static final RedshiftState OBJECT_IN_USE
public static final RedshiftState QUERY_CANCELED
public static final RedshiftState SYSTEM_ERROR
public static final RedshiftState IO_ERROR
public static final RedshiftState UNEXPECTED_ERROR
public static RedshiftState[] values()
for (RedshiftState c : RedshiftState.values()) System.out.println(c);
public static RedshiftState 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 String getState()
public static boolean isConnectionError(String psqlState)
Copyright © 2024 Amazon.com Inc.. All rights reserved.