public final class ResultCode extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ALWAYS_FORBIDDEN
Operation not allowed in current configuration.
|
static int |
ASYNC_QUEUE_FULL
Async delay queue is full.
|
static int |
BATCH_DISABLED
Batch functionality has been disabled.
|
static int |
BATCH_MAX_REQUESTS_EXCEEDED
Batch max requests have been exceeded.
|
static int |
BATCH_QUEUES_FULL
All batch queues are full.
|
static int |
BIN_EXISTS_ERROR
On create-only (write unique) operations on a bin that already
exists.
|
static int |
BIN_NAME_TOO_LONG
Bin name length greater than 14 characters or maximum bins exceeded.
|
static int |
BIN_NOT_FOUND
Specified bin name does not exist in record.
|
static int |
BIN_TYPE_ERROR
Operation is not supported with configured bin type (single-bin or
multi-bin).
|
static int |
CLIENT_ERROR
Generic client error.
|
static int |
CLUSTER_KEY_MISMATCH
Expected cluster was not received.
|
static int |
COMMAND_REJECTED
Asynchronous max concurrent database commands have been exceeded and therefore rejected.
|
static int |
DEVICE_OVERLOAD
Device not keeping up with writes.
|
static int |
ELEMENT_EXISTS
Map element exists in CREATE_ONLY write mode.
|
static int |
ELEMENT_NOT_FOUND
Map element not found in UPDATE_ONLY write mode.
|
static int |
EXPIRED_PASSWORD
Password has expired.
|
static int |
FAIL_FORBIDDEN
Operation not allowed at this time.
|
static int |
FORBIDDEN_PASSWORD
Forbidden password (e.g.
|
static int |
GENERATION_ERROR
On modifying a record with unexpected generation.
|
static int |
ILLEGAL_STATE
Security protocol not followed.
|
static int |
INDEX_ALREADY_EXISTS
Secondary index already exists.
|
static int |
INDEX_FOUND |
static int |
INDEX_GENERIC
Generic secondary index error.
|
static int |
INDEX_MAXCOUNT
Maximum number of indicies exceeded.
|
static int |
INDEX_NAME_MAXLEN
Index name maximum length exceeded.
|
static int |
INDEX_NOTFOUND
Requested secondary index does not exist.
|
static int |
INDEX_NOTREADABLE
Secondary index not available.
|
static int |
INDEX_OOM
Secondary index memory space exceeded.
|
static int |
INVALID_COMMAND
Administration command is invalid.
|
static int |
INVALID_CREDENTIAL
Security credential is invalid.
|
static int |
INVALID_FIELD
Administration field is invalid.
|
static int |
INVALID_NAMESPACE
Invalid namespace.
|
static int |
INVALID_NODE_ERROR
Chosen node is not currently active.
|
static int |
INVALID_PASSWORD
Password is invalid.
|
static int |
INVALID_PRIVILEGE
Privilege is invalid.
|
static int |
INVALID_ROLE
Role name is invalid.
|
static int |
INVALID_USER
User name is invalid.
|
static int |
KEY_BUSY
Too many concurrent operations on the same record.
|
static int |
KEY_EXISTS_ERROR
On create-only (write unique) operations on a record that already
exists.
|
static int |
KEY_MISMATCH
Key type mismatch.
|
static int |
KEY_NOT_FOUND_ERROR
On retrieving, touching or replacing a record that doesn't exist.
|
static int |
LARGE_ITEM_NOT_FOUND
The requested item in a large collection was not found.
|
static int |
NO_MORE_CONNECTIONS
Max connections would be exceeded.
|
static int |
NOT_AUTHENTICATED
User must be authentication before performing database operations.
|
static int |
OK
Operation was successful.
|
static int |
PARAMETER_ERROR
Bad parameter(s) were passed in database operation call.
|
static int |
PARSE_ERROR
Client parse error.
|
static int |
PARTITION_UNAVAILABLE
Partition is unavailable.
|
static int |
QUERY_ABORTED
Secondary index query aborted.
|
static int |
QUERY_END
There are no more records left for query.
|
static int |
QUERY_GENERIC
Generic query error.
|
static int |
QUERY_QUEUEFULL
Secondary index queue full.
|
static int |
QUERY_TERMINATED
Query was terminated by user.
|
static int |
QUERY_TIMEOUT
Secondary index query timed out on server.
|
static int |
RECORD_TOO_BIG
Record size exceeds limit.
|
static int |
ROLE_ALREADY_EXISTS
Role already exists.
|
static int |
ROLE_VIOLATION
User does not possess the required role to perform the database operation.
|
static int |
SCAN_ABORT
Scan aborted by server.
|
static int |
SCAN_TERMINATED
Scan was terminated by user.
|
static int |
SECURITY_NOT_ENABLED
Security functionality not enabled by connected server.
|
static int |
SECURITY_NOT_SUPPORTED
Security functionality not supported by connected server.
|
static int |
SECURITY_SCHEME_NOT_SUPPORTED
Security type not supported by connected server.
|
static int |
SERIALIZE_ERROR
Client serialization error.
|
static int |
SERVER_ERROR
Unknown server failure.
|
static int |
SERVER_MEM_ERROR
Server has run out of memory.
|
static int |
SERVER_NOT_AVAILABLE
Server is not accepting requests.
|
static int |
TIMEOUT
Client or server has timed out.
|
static int |
UDF_BAD_RESPONSE
A user defined function returned an error code.
|
static int |
UNSUPPORTED_FEATURE
Unsupported Server Feature (e.g.
|
static int |
USER_ALREADY_EXISTS
User was previously created.
|
Constructor and Description |
---|
ResultCode() |
Modifier and Type | Method and Description |
---|---|
static String |
getResultString(int resultCode)
Return result code as a string.
|
static boolean |
keepConnection(int resultCode)
Should connection be put back into pool.
|
public static final int SERIALIZE_ERROR
public static final int ASYNC_QUEUE_FULL
public static final int SERVER_NOT_AVAILABLE
public static final int NO_MORE_CONNECTIONS
public static final int COMMAND_REJECTED
public static final int QUERY_TERMINATED
public static final int SCAN_TERMINATED
public static final int INVALID_NODE_ERROR
public static final int PARSE_ERROR
public static final int CLIENT_ERROR
public static final int OK
public static final int SERVER_ERROR
public static final int KEY_NOT_FOUND_ERROR
public static final int GENERATION_ERROR
public static final int PARAMETER_ERROR
public static final int KEY_EXISTS_ERROR
public static final int BIN_EXISTS_ERROR
public static final int CLUSTER_KEY_MISMATCH
public static final int SERVER_MEM_ERROR
public static final int TIMEOUT
public static final int ALWAYS_FORBIDDEN
public static final int PARTITION_UNAVAILABLE
public static final int BIN_TYPE_ERROR
public static final int RECORD_TOO_BIG
public static final int KEY_BUSY
public static final int SCAN_ABORT
public static final int UNSUPPORTED_FEATURE
public static final int BIN_NOT_FOUND
public static final int DEVICE_OVERLOAD
public static final int KEY_MISMATCH
public static final int INVALID_NAMESPACE
public static final int BIN_NAME_TOO_LONG
public static final int FAIL_FORBIDDEN
public static final int ELEMENT_NOT_FOUND
public static final int ELEMENT_EXISTS
public static final int QUERY_END
public static final int SECURITY_NOT_SUPPORTED
public static final int SECURITY_NOT_ENABLED
public static final int SECURITY_SCHEME_NOT_SUPPORTED
public static final int INVALID_COMMAND
public static final int INVALID_FIELD
public static final int ILLEGAL_STATE
public static final int INVALID_USER
public static final int USER_ALREADY_EXISTS
public static final int INVALID_PASSWORD
public static final int EXPIRED_PASSWORD
public static final int FORBIDDEN_PASSWORD
public static final int INVALID_CREDENTIAL
public static final int INVALID_ROLE
public static final int ROLE_ALREADY_EXISTS
public static final int INVALID_PRIVILEGE
public static final int NOT_AUTHENTICATED
public static final int ROLE_VIOLATION
public static final int UDF_BAD_RESPONSE
public static final int LARGE_ITEM_NOT_FOUND
public static final int BATCH_DISABLED
public static final int BATCH_MAX_REQUESTS_EXCEEDED
public static final int BATCH_QUEUES_FULL
public static final int INDEX_ALREADY_EXISTS
public static final int INDEX_FOUND
public static final int INDEX_NOTFOUND
public static final int INDEX_OOM
public static final int INDEX_NOTREADABLE
public static final int INDEX_GENERIC
public static final int INDEX_NAME_MAXLEN
public static final int INDEX_MAXCOUNT
public static final int QUERY_ABORTED
public static final int QUERY_QUEUEFULL
public static final int QUERY_TIMEOUT
public static final int QUERY_GENERIC
public static boolean keepConnection(int resultCode)
public static String getResultString(int resultCode)
Copyright ? 2012–2018 Aerospike, Inc. All rights reserved.