public final class IgniteQueryErrorCode extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CACHE_NOT_FOUND
Cache not found.
|
static int |
CLUSTER_READ_ONLY_MODE_ENABLED
Attempt to INSERT, UPDATE or DELETE value on read-only cluster.
|
static int |
COLUMN_ALREADY_EXISTS
Required column already exists.
|
static int |
COLUMN_NOT_FOUND
Required column not found.
|
static int |
CONCURRENT_UPDATE
Attempt to UPDATE or DELETE a key whose value has been updated concurrently by someone else.
|
static int |
CONVERSION_FAILED
Conversion failure.
|
static int |
DUPLICATE_KEY
Attempt to INSERT a key that is already in cache.
|
static int |
ENTRY_PROCESSING
EntryProcessor has thrown an exception during IgniteCache.invokeAll(java.util.Map<? extends K, ? extends javax.cache.processor.EntryProcessor<K, V, T>>, java.lang.Object...) . |
static int |
FIELD_TYPE_MISMATCH
Field type mismatch. e.g.: cause is
ClassCastException . |
static int |
INDEX_ALREADY_EXISTS
Index already exists.
|
static int |
INDEX_NOT_FOUND
Index does not exist.
|
static int |
KEY_SCALE_OUT_OF_RANGE
Attempt to INSERT, UPDATE or MERGE value which scale exceed maximum DECIMAL column scale.
|
static int |
KEY_UPDATE
Analysis detected that the statement is trying to directly
UPDATE key or its fields. |
static int |
MVCC_DISABLED
MVCC disabled.
|
static int |
NULL_KEY
Attempt to INSERT or MERGE
null key. |
static int |
NULL_TABLE_DESCRIPTOR
Required table does not have a descriptor set.
|
static int |
NULL_VALUE
Attempt to INSERT or MERGE
null value, or to to set null to a NOT NULL column. |
static int |
PARSING
General parsing error - for the cases when there's no more specific code available.
|
static int |
QUERY_CANCELED
Query canceled.
|
static int |
STMT_TYPE_MISMATCH
Statement type does not match that declared by JDBC driver.
|
static int |
TABLE_ALREADY_EXISTS
Required table already exists.
|
static int |
TABLE_DROP_FAILED
DROP TABLE failed.
|
static int |
TABLE_NOT_FOUND
Required table not found.
|
static int |
TOO_LONG_KEY
Attempt to INSERT, UPDATE or MERGE key that exceed maximum column length.
|
static int |
TOO_LONG_VALUE
Attempt to INSERT, UPDATE or MERGE value that exceed maximum column length.
|
static int |
TRANSACTION_COMPLETED
Transaction is already completed.
|
static int |
TRANSACTION_EXISTS
Transaction is already open.
|
static int |
TRANSACTION_SERIALIZATION_ERROR
Transaction serialization error.
|
static int |
TRANSACTION_TYPE_MISMATCH
Transaction type mismatch (SQL/non SQL).
|
static int |
UNEXPECTED_ELEMENT_TYPE
Code encountered SQL expression of some type that it did not expect in current analysis context.
|
static int |
UNEXPECTED_OPERATION
Code encountered SQL statement of some type that it did not expect in current analysis context.
|
static int |
UNKNOWN
Unknown error, or the one without specific code.
|
static int |
UNSUPPORTED_OPERATION
Requested operation is not supported.
|
static int |
VALUE_SCALE_OUT_OF_RANGE
Attempt to INSERT, UPDATE or MERGE value which scale exceed maximum DECIMAL column scale.
|
Modifier and Type | Method and Description |
---|---|
static String |
codeToSqlState(int statusCode)
Map Ignite specific error code to standard SQL state.
|
static SQLException |
createJdbcSqlException(String msg,
int code)
Create a
SQLException for given code and message with detected state. |
public static final int UNKNOWN
public static final int PARSING
public static final int UNSUPPORTED_OPERATION
public static final int UNEXPECTED_OPERATION
public static final int UNEXPECTED_ELEMENT_TYPE
public static final int KEY_UPDATE
UPDATE
key or its fields.public static final int TABLE_NOT_FOUND
public static final int NULL_TABLE_DESCRIPTOR
public static final int STMT_TYPE_MISMATCH
public static final int TABLE_DROP_FAILED
public static final int INDEX_ALREADY_EXISTS
public static final int INDEX_NOT_FOUND
public static final int TABLE_ALREADY_EXISTS
public static final int COLUMN_NOT_FOUND
public static final int COLUMN_ALREADY_EXISTS
public static final int CONVERSION_FAILED
public static final int QUERY_CANCELED
public static final int DUPLICATE_KEY
public static final int CONCURRENT_UPDATE
public static final int NULL_KEY
null
key.public static final int NULL_VALUE
null
value, or to to set null
to a NOT NULL
column.public static final int ENTRY_PROCESSING
EntryProcessor
has thrown an exception during IgniteCache.invokeAll(java.util.Map<? extends K, ? extends javax.cache.processor.EntryProcessor<K, V, T>>, java.lang.Object...)
.public static final int CACHE_NOT_FOUND
public static final int TOO_LONG_KEY
public static final int TOO_LONG_VALUE
public static final int VALUE_SCALE_OUT_OF_RANGE
public static final int KEY_SCALE_OUT_OF_RANGE
public static final int CLUSTER_READ_ONLY_MODE_ENABLED
public static final int TRANSACTION_EXISTS
public static final int MVCC_DISABLED
public static final int TRANSACTION_TYPE_MISMATCH
public static final int TRANSACTION_COMPLETED
public static final int TRANSACTION_SERIALIZATION_ERROR
public static final int FIELD_TYPE_MISMATCH
ClassCastException
.public static SQLException createJdbcSqlException(String msg, int code)
SQLException
for given code and message with detected state.msg
- Message.code
- Ignite status code.SQLException
with given details.public static String codeToSqlState(int statusCode)
statusCode
- Ignite specific error code.IgniteQueryErrorCode
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.12.0 Release Date : January 10 2022