package
4.5.2+incompatible
Repository: https://github.com/stackadapt/aerospike-client-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

KeepConnection decides if a connection should be kept based on the error type.
NewAerospikeError generates a new AerospikeError instance.
NewBufferPool creates a new buffer pool.
NewMessage generates a new Message instance.
NewPool creates a new fixed size pool.
ResultCodeToString returns a human readable errors message based on the result code.
TTL converts an Expiration time from citrusleaf epoc to TTL in seconds.

# Constants

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

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AerospikeError implements error interface for aerospike specific errors.
BufferPool implements a specialized buffer pool.
Message encapsulates a message sent or received from the Aerospike server.
MessageHeader is the message's header.
Pool implements a general purpose fixed-size pool.

# Type aliases

ResultCode signifies the database operation error codes.