Package org.apache.calcite.sql
Enum SqlStateCodes
- All Implemented Interfaces:
Serializable
,Comparable<SqlStateCodes>
,Constable
Deprecated.
Contains
Glossary.SQL2003
SQL state codes.
SQL State codes are defined in
@sql.2003 Part 2 Section 23.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetState()
Deprecated.Deprecated.Deprecated.static SqlStateCodes
Deprecated.Returns the enum constant of this type with the specified name.static SqlStateCodes[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CARDINALITY_VIOLATION
Deprecated. -
NULL_VALUE_NOT_ALLOWED
Deprecated. -
NUMERIC_VALUE_OUT_OF_RANGE
Deprecated.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
getStateClass
Deprecated. -
getStateSubClass
Deprecated. -
getState
Deprecated.
-
org.apache.calcite.avatica.SqlState