Enum PostgreSQLVendorError
java.lang.Object
java.lang.Enum<PostgreSQLVendorError>
org.apache.shardingsphere.dialect.postgresql.vendor.PostgreSQLVendorError
- All Implemented Interfaces:
Serializable,Comparable<PostgreSQLVendorError>,org.apache.shardingsphere.infra.util.exception.external.sql.vendor.VendorError
public enum PostgreSQLVendorError
extends Enum<PostgreSQLVendorError>
implements org.apache.shardingsphere.infra.util.exception.external.sql.vendor.VendorError
PostgreSQL vendor error.
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionintstatic PostgreSQLVendorErrorReturns the enum constant of this type with the specified name.static PostgreSQLVendorError[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.apache.shardingsphere.infra.util.exception.external.sql.vendor.VendorError
getReason, getSqlState
-
Enum Constant Details
-
SUCCESSFUL_COMPLETION
-
PRIVILEGE_NOT_GRANTED
-
PROTOCOL_VIOLATION
-
FEATURE_NOT_SUPPORTED
-
DUPLICATE_DATABASE
-
INVALID_AUTHORIZATION_SPECIFICATION
-
NO_USERNAME
-
INVALID_PASSWORD
-
INVALID_CATALOG_NAME
-
UNDEFINED_COLUMN
-
DATA_SOURCE_REJECTED_CONNECTION_ATTEMPT
-
TRANSACTION_STATE_INVALID
-
WRONG_VALUE_COUNT_ON_ROW
-
INVALID_PARAMETER_VALUE
-
SYSTEM_ERROR
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getVendorCode
public int getVendorCode()- Specified by:
getVendorCodein interfaceorg.apache.shardingsphere.infra.util.exception.external.sql.vendor.VendorError
-