Enum AdbcStatusCode
- All Implemented Interfaces:
Serializable
,Comparable<AdbcStatusCode>
Also see the ADBC C API definition, which has similar status codes.
-
Enum Constant Summary
Enum ConstantDescriptionA requested resource already exists.The operation was cancelled, not due to a timeout.The database's integrity was affected.An error internal to the driver or database occurred.The arguments are invalid, likely a programming error.Invalid data was processed (not a programming error).The preconditions for the operation are not met, likely a programming error.An I/O error occurred.\brief A requested resource already exists.The operation is not supported.The operation was cancelled due to a timeout.Authentication failed.The client is not authorized to perform the given operation.An unknown error occurred. -
Method Summary
Modifier and TypeMethodDescriptionstatic AdbcStatusCode
Returns the enum constant of this type with the specified name.static AdbcStatusCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
An unknown error occurred.May indicate client-side or database-side error.
-
NOT_IMPLEMENTED
The operation is not supported.May indicate client-side or database-side error.
-
NOT_FOUND
\brief A requested resource already exists.May indicate a driver-side or database-side error.
-
ALREADY_EXISTS
A requested resource already exists.May indicate a driver-side or database-side error.
-
INVALID_ARGUMENT
The arguments are invalid, likely a programming error.For instance, they may be of the wrong format, or out of range.
May indicate a driver-side or database-side error.
-
INVALID_STATE
The preconditions for the operation are not met, likely a programming error.For instance, the object may be uninitialized, or may have not been fully configured.
May indicate a driver-side or database-side error.
-
INVALID_DATA
Invalid data was processed (not a programming error).For instance, a division by zero may have occurred during query execution.
May indicate a database-side error only.
-
INTEGRITY
The database's integrity was affected.For instance, a foreign key check may have failed, or a uniqueness constraint may have been violated.
May indicate a database-side error only.
-
INTERNAL
An error internal to the driver or database occurred.May indicate a driver-side or database-side error.
-
IO
An I/O error occurred.For instance, a remote service may be unavailable.
May indicate a driver-side or database-side error.
-
CANCELLED
The operation was cancelled, not due to a timeout.May indicate a driver-side or database-side error.
-
TIMEOUT
The operation was cancelled due to a timeout.May indicate a driver-side or database-side error.
-
UNAUTHENTICATED
Authentication failed.May indicate a database-side error only.
-
UNAUTHORIZED
The client is not authorized to perform the given operation.May indicate a database-side error only.
-
-
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
-