public final class IgniteQueryErrorCode extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CACHE_NOT_FOUND
Cache not found.
|
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 |
INDEX_ALREADY_EXISTS
Index already exists.
|
static int |
INDEX_NOT_FOUND
Index does not exist.
|
static int |
KEY_UPDATE
Analysis detected that the statement is trying to directly
UPDATE key or its fields. |
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 |
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 |
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.
|
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 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 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 Fabric : ver. 2.5.0 Release Date : May 23 2018