Documentation

ResultCode
in package

ResultCode signifies the database operation error codes.

The positive numbers align with the server side file kvs.h.

Table of Contents

Constants

AEROSPIKE_ERR_LUA_FILE_NOT_FOUND  = null
AEROSPIKE_ERR_LUA_FILE_NOT_FOUND defines LUA file does not exist.
AEROSPIKE_ERR_UDF_NOT_FOUND  = null
AEROSPIKE_ERR_UDF_NOT_FOUND defines UDF does not exist.
ALWAYS_FORBIDDEN  = null
ALWAYS_FORBIDDEN defines operation not allowed in current configuration.
BATCH_DISABLED  = null
BATCH_DISABLED defines batch functionality has been disabled.
BATCH_FAILED  = null
BATCH_FAILED means one or more keys failed in a batch.
BATCH_MAX_REQUESTS_EXCEEDED  = null
BATCH_MAX_REQUESTS_EXCEEDED defines batch max requests have been exceeded.
BATCH_QUEUES_FULL  = null
BATCH_QUEUES_FULL defines all batch queues are full.
BIN_EXISTS_ERROR  = null
BIN_EXISTS_ERROR defines bin already exists on a create-only operation.
BIN_NAME_TOO_LONG  = null
BIN_NAME_TOO_LONG defines bin name length greater than 14 characters, or maximum number of unique bin names are exceeded;
BIN_NOT_FOUND  = null
BIN_NOT_FOUND defines bin not found on update-only operation.
BIN_TYPE_ERROR  = null
BIN_TYPE_ERROR defines operation is not supported with configured bin type (single-bin or multi-bin);
CLUSTER_KEY_MISMATCH  = null
CLUSTER_KEY_MISMATCH defines expected cluster ID was not received.
CLUSTER_NAME_MISMATCH_ERROR  = null
CLUSTER_NAME_MISMATCH_ERROR defines cluster Name does not match the ClientPolicy.ClusterName value.
COMMAND_REJECTED  = null
COMMAND_REJECTED defines info Command was rejected by the server.
COMMON_ERROR  = null
COMMON_ERROR defines a common, none-aerospike error. Checked the wrapped error for detail.
DEVICE_OVERLOAD  = null
DEVICE_OVERLOAD defines device not keeping up with writes.
ENTERPRISE_ONLY  = null
ENTERPRISE_ONLY defines attempt to use an Enterprise feature on a Community server or a server without the applicable feature key;
EXPIRED_PASSWORD  = null
EXPIRED_PASSWORD defines security credential is invalid.
EXPIRED_SESSION  = null
EXPIRED_SESSION defines login session expired.
FAIL_ELEMENT_EXISTS  = null
FAIL_ELEMENT_EXISTS defines element Already Exists in CDT
FAIL_ELEMENT_NOT_FOUND  = null
FAIL_ELEMENT_NOT_FOUND defines element Not Found in CDT
FAIL_FORBIDDEN  = null
FAIL_FORBIDDEN defines operation not allowed at this time.
FILTERED_OUT  = null
FILTERED_OUT defines the transaction was not performed because the filter was false.
FORBIDDEN_PASSWORD  = null
FORBIDDEN_PASSWORD defines forbidden password (e.g. recently used)
GENERATION_ERROR  = null
GENERATION_ERROR defines on modifying a record with unexpected generation.
GEO_INVALID_GEOJSON  = null
GEO_INVALID_GEOJSON defines invalid GeoJSON on insert/update
GRPC_ERROR  = null
GRPC_ERROR is wrapped and directly returned from the grpc library
ILLEGAL_STATE  = null
ILLEGAL_STATE defines security protocol not followed.
INDEX_FOUND  = null
INDEX_FOUND defines secondary index already exists.
INDEX_GENERIC  = null
INDEX_GENERIC defines generic secondary index error.
INDEX_MAX_COUNT  = null
INDEX_MAXCOUNT defines maximum number of indexes exceeded.
INDEX_NAME_MAX_LEN  = null
INDEX_NAME_MAXLEN defines index name maximum length exceeded.
INDEX_NOT_FOUND  = null
INDEX_NOTFOUND defines requested secondary index does not exist.
INDEX_NOT_READABLE  = null
INDEX_NOTREADABLE defines secondary index not available.
INDEX_OOM  = null
INDEX_OOM defines secondary index memory space exceeded.
INVALID_CLUSTER_PARTITION_MAP  = null
INVALID_CLUSTER_PARTITION_MAP defines cluster has an invalid partition map, usually due to bad configuration.
INVALID_COMMAND  = null
INVALID_COMMAND defines administration command is invalid.
INVALID_CREDENTIAL  = null
INVALID_CREDENTIAL defines security credential is invalid.
INVALID_FIELD  = null
INVALID_FIELD defines administration field is invalid.
INVALID_NAMESPACE  = null
INVALID_NAMESPACE defines invalid namespace.
INVALID_NODE_ERROR  = null
INVALID_NODE_ERROR defines chosen node is not currently active.
INVALID_PASSWORD  = null
INVALID_PASSWORD defines password is invalid.
INVALID_PRIVILEGE  = null
INVALID_PRIVILEGE defines privilege is invalid.
INVALID_QUOTA  = null
INVALID_QUOTA defines invalid quota value.
INVALID_ROLE  = null
INVALID_ROLE defines role name is invalid.
INVALID_USER  = null
INVALID_USER defines user name is invalid.
INVALID_WHITELIST  = null
INVALID_WHITELIST defines invalid IP address whiltelist
KEY_BUSY  = null
KEY_BUSY defines too many concurrent operations on the same record.
KEY_EXISTS_ERROR  = null
KEY_EXISTS_ERROR defines on create-only (write unique) operations on a record that already exists.
KEY_MISMATCH  = null
KEY_MISMATCH defines key type mismatch.
KEY_NOT_FOUND_ERROR  = null
KEY_NOT_FOUND_ERROR defines on retrieving, touching or replacing a record that doesn't exist.
LOST_CONFLICT  = null
LOST_CONFLICT defines write command loses conflict to XDR.
MAX_ERROR_RATE  = null
MAX_ERROR_RATE defines max errors limit reached.
MAX_RETRIES_EXCEEDED  = null
MAX_RETRIES_EXCEEDED defines max retries limit reached.
NETWORK_ERROR  = null
NETWORK_ERROR defines a network error. Checked the wrapped error for detail.
NO_AVAILABLE_CONNECTIONS_TO_NODE  = null
NO_AVAILABLE_CONNECTIONS_TO_NODE defines there were no connections available to the node in the pool, and the pool was limited
NO_RESPONSE  = null
NO_RESPONSE means no response was received from the server.
NOT_AUTHENTICATED  = null
NOT_AUTHENTICATED defines user must be authentication before performing database operations.
NOT_WHITELISTED  = null
NOT_WHITELISTED defines command not allowed because sender IP address not whitelisted.
OK  = null
OK defines operation was successful.
OP_NOT_APPLICABLE  = null
OP_NOT_APPLICABLE defines the operation cannot be applied to the current bin value on the server.
PARAMETER_ERROR  = null
PARAMETER_ERROR defines bad parameter(s) were passed in database operation call.
PARSE_ERROR  = null
PARSE_ERROR defines client parse error.
PARTITION_UNAVAILABLE  = null
PARTITION_UNAVAILABLE defines partition is unavailable.
QUERY_ABORTED  = null
QUERY_ABORTED defines secondary index query aborted.
QUERY_DUPLICATE  = null
QUERY_DUPLICATE defines duplicate TaskId sent for the statement
QUERY_END  = null
QUERY_END defines there are no more records left for query.
QUERY_GENERIC  = null
QUERY_GENERIC defines generic query error.
QUERY_NET_IO_ERR  = null
QUERY_NETIO_ERR defines query NetIO error on server
QUERY_QUEUE_FULL  = null
QUERY_QUEUEFULL defines secondary index queue full.
QUERY_TERMINATED  = null
QUERY_TERMINATED defines query was terminated by user.
QUERY_TIMEOUT  = null
QUERY_TIMEOUT defines secondary index query timed out on server.
QUOTA_EXCEEDED  = null
QUOTA_EXCEEDED defines Quota exceeded.
QUOTAS_NOT_ENABLED  = null
QUOTAS_NOT_ENABLED defines Quotas not enabled on server.
RACK_NOT_DEFINED  = null
RACK_NOT_DEFINED defines requested Rack for node/namespace was not defined in the cluster.
RECORD_TOO_BIG  = null
RECORD_TOO_BIG defines record size exceeds limit.
RECORDSET_CLOSED  = null
RECORDSET_CLOSED defines recordset has already been closed or cancelled
ROLE_ALREADY_EXISTS  = null
ROLE_ALREADY_EXISTS defines role already exists.
ROLE_VIOLATION  = null
ROLE_VIOLATION defines user does not posses the required role to perform the database operation.
SCAN_ABORT  = null
SCAN_ABORT defines scan aborted by server.
SCAN_TERMINATED  = null
SCAN_TERMINATED defines scan was terminated by user.
SECURITY_NOT_ENABLED  = null
SECURITY_NOT_ENABLED defines administration command is invalid.
SECURITY_NOT_SUPPORTED  = null
SECURITY_NOT_SUPPORTED defines security type not supported by connected server.
SECURITY_SCHEME_NOT_SUPPORTED  = null
SECURITY_SCHEME_NOT_SUPPORTED defines administration field is invalid.
SERIALIZE_ERROR  = null
SERIALIZE_ERROR defines client serialization error.
SERVER_ERROR  = null
SERVER_ERROR defines unknown server failure.
SERVER_MEM_ERROR  = null
SERVER_MEM_ERROR defines server has run out of memory.
SERVER_NOT_AVAILABLE  = null
SERVER_NOT_AVAILABLE defines server is not accepting requests.
TIMEOUT  = null
TIMEOUT defines client or server has timed out.
TYPE_NOT_SUPPORTED  = null
TYPE_NOT_SUPPORTED defines data type is not supported by aerospike server.
UDF_BAD_RESPONSE  = null
UDF_BAD_RESPONSE defines a user defined function returned an error code.
UNSUPPORTED_FEATURE  = null
UNSUPPORTED_FEATURE defines unsupported Server Feature (e.g. Scan + UDF)
USER_ALREADY_EXISTS  = null
USER_ALREADY_EXISTS defines user was previously created.

Methods

toString()  : string

Constants

AEROSPIKE_ERR_LUA_FILE_NOT_FOUND

AEROSPIKE_ERR_LUA_FILE_NOT_FOUND defines LUA file does not exist.

public mixed AEROSPIKE_ERR_LUA_FILE_NOT_FOUND = null

AEROSPIKE_ERR_UDF_NOT_FOUND

AEROSPIKE_ERR_UDF_NOT_FOUND defines UDF does not exist.

public mixed AEROSPIKE_ERR_UDF_NOT_FOUND = null

ALWAYS_FORBIDDEN

ALWAYS_FORBIDDEN defines operation not allowed in current configuration.

public mixed ALWAYS_FORBIDDEN = null

BATCH_MAX_REQUESTS_EXCEEDED

BATCH_MAX_REQUESTS_EXCEEDED defines batch max requests have been exceeded.

public mixed BATCH_MAX_REQUESTS_EXCEEDED = null

BIN_EXISTS_ERROR

BIN_EXISTS_ERROR defines bin already exists on a create-only operation.

public mixed BIN_EXISTS_ERROR = null

BIN_NAME_TOO_LONG

BIN_NAME_TOO_LONG defines bin name length greater than 14 characters, or maximum number of unique bin names are exceeded;

public mixed BIN_NAME_TOO_LONG = null

BIN_TYPE_ERROR

BIN_TYPE_ERROR defines operation is not supported with configured bin type (single-bin or multi-bin);

public mixed BIN_TYPE_ERROR = null

CLUSTER_KEY_MISMATCH

CLUSTER_KEY_MISMATCH defines expected cluster ID was not received.

public mixed CLUSTER_KEY_MISMATCH = null

CLUSTER_NAME_MISMATCH_ERROR

CLUSTER_NAME_MISMATCH_ERROR defines cluster Name does not match the ClientPolicy.ClusterName value.

public mixed CLUSTER_NAME_MISMATCH_ERROR = null

COMMAND_REJECTED

COMMAND_REJECTED defines info Command was rejected by the server.

public mixed COMMAND_REJECTED = null

COMMON_ERROR

COMMON_ERROR defines a common, none-aerospike error. Checked the wrapped error for detail.

public mixed COMMON_ERROR = null

ENTERPRISE_ONLY

ENTERPRISE_ONLY defines attempt to use an Enterprise feature on a Community server or a server without the applicable feature key;

public mixed ENTERPRISE_ONLY = null

FAIL_ELEMENT_NOT_FOUND

FAIL_ELEMENT_NOT_FOUND defines element Not Found in CDT

public mixed FAIL_ELEMENT_NOT_FOUND = null

FILTERED_OUT

FILTERED_OUT defines the transaction was not performed because the filter was false.

public mixed FILTERED_OUT = null

FORBIDDEN_PASSWORD

FORBIDDEN_PASSWORD defines forbidden password (e.g. recently used)

public mixed FORBIDDEN_PASSWORD = null

GENERATION_ERROR

GENERATION_ERROR defines on modifying a record with unexpected generation.

public mixed GENERATION_ERROR = null

GEO_INVALID_GEOJSON

GEO_INVALID_GEOJSON defines invalid GeoJSON on insert/update

public mixed GEO_INVALID_GEOJSON = null

INDEX_NAME_MAX_LEN

INDEX_NAME_MAXLEN defines index name maximum length exceeded.

public mixed INDEX_NAME_MAX_LEN = null

INVALID_CLUSTER_PARTITION_MAP

INVALID_CLUSTER_PARTITION_MAP defines cluster has an invalid partition map, usually due to bad configuration.

public mixed INVALID_CLUSTER_PARTITION_MAP = null

INVALID_NODE_ERROR

INVALID_NODE_ERROR defines chosen node is not currently active.

public mixed INVALID_NODE_ERROR = null

KEY_EXISTS_ERROR

KEY_EXISTS_ERROR defines on create-only (write unique) operations on a record that already exists.

public mixed KEY_EXISTS_ERROR = null

KEY_NOT_FOUND_ERROR

KEY_NOT_FOUND_ERROR defines on retrieving, touching or replacing a record that doesn't exist.

public mixed KEY_NOT_FOUND_ERROR = null

NETWORK_ERROR

NETWORK_ERROR defines a network error. Checked the wrapped error for detail.

public mixed NETWORK_ERROR = null

NO_AVAILABLE_CONNECTIONS_TO_NODE

NO_AVAILABLE_CONNECTIONS_TO_NODE defines there were no connections available to the node in the pool, and the pool was limited

public mixed NO_AVAILABLE_CONNECTIONS_TO_NODE = null

NOT_AUTHENTICATED

NOT_AUTHENTICATED defines user must be authentication before performing database operations.

public mixed NOT_AUTHENTICATED = null

NOT_WHITELISTED

NOT_WHITELISTED defines command not allowed because sender IP address not whitelisted.

public mixed NOT_WHITELISTED = null

OP_NOT_APPLICABLE

OP_NOT_APPLICABLE defines the operation cannot be applied to the current bin value on the server.

public mixed OP_NOT_APPLICABLE = null

PARAMETER_ERROR

PARAMETER_ERROR defines bad parameter(s) were passed in database operation call.

public mixed PARAMETER_ERROR = null

PARTITION_UNAVAILABLE

PARTITION_UNAVAILABLE defines partition is unavailable.

public mixed PARTITION_UNAVAILABLE = null

RACK_NOT_DEFINED

RACK_NOT_DEFINED defines requested Rack for node/namespace was not defined in the cluster.

public mixed RACK_NOT_DEFINED = null

RECORDSET_CLOSED

RECORDSET_CLOSED defines recordset has already been closed or cancelled

public mixed RECORDSET_CLOSED = null

ROLE_VIOLATION

ROLE_VIOLATION defines user does not posses the required role to perform the database operation.

public mixed ROLE_VIOLATION = null

SECURITY_NOT_ENABLED

SECURITY_NOT_ENABLED defines administration command is invalid.

public mixed SECURITY_NOT_ENABLED = null

SECURITY_NOT_SUPPORTED

SECURITY_NOT_SUPPORTED defines security type not supported by connected server.

public mixed SECURITY_NOT_SUPPORTED = null

SECURITY_SCHEME_NOT_SUPPORTED

SECURITY_SCHEME_NOT_SUPPORTED defines administration field is invalid.

public mixed SECURITY_SCHEME_NOT_SUPPORTED = null

SERVER_NOT_AVAILABLE

SERVER_NOT_AVAILABLE defines server is not accepting requests.

public mixed SERVER_NOT_AVAILABLE = null

TYPE_NOT_SUPPORTED

TYPE_NOT_SUPPORTED defines data type is not supported by aerospike server.

public mixed TYPE_NOT_SUPPORTED = null

UDF_BAD_RESPONSE

UDF_BAD_RESPONSE defines a user defined function returned an error code.

public mixed UDF_BAD_RESPONSE = null

UNSUPPORTED_FEATURE

UNSUPPORTED_FEATURE defines unsupported Server Feature (e.g. Scan + UDF)

public mixed UNSUPPORTED_FEATURE = null

Methods


        
On this page

Search results