Constants

COUCHBASE_SUCCESS

COUCHBASE_SUCCESS

Everything is OK.

COUCHBASE_AUTH_CONTINUE

COUCHBASE_AUTH_CONTINUE

This is an internal error message.

COUCHBASE_DELTA_BADVAL

COUCHBASE_DELTA_BADVAL

Increment/decrement on an object that isn't a number.

COUCHBASE_E2BIG

COUCHBASE_E2BIG

The object is too big to be stored on the server.

COUCHBASE_EBUSY

COUCHBASE_EBUSY

The server is too busy to handle your request. Please try again later.

COUCHBASE_EINTERNAL

COUCHBASE_EINTERNAL

An internal error in the Couchbase extension.

You should probably submit a bug report for this.

COUCHBASE_ENOMEM

COUCHBASE_ENOMEM

Out of resources.

COUCHBASE_ERROR

COUCHBASE_ERROR

Generic error code.

COUCHBASE_ETMPFAIL

COUCHBASE_ETMPFAIL

Temporarily cannot handle request. A later retry may succeed.

COUCHBASE_KEY_EEXISTS

COUCHBASE_KEY_EEXISTS

The key exists, but the CAS identifier provided did not match the one for the object in the cluster.

COUCHBASE_KEY_ENOENT

COUCHBASE_KEY_ENOENT

The key does not exist.

COUCHBASE_NETWORK_ERROR

COUCHBASE_NETWORK_ERROR

An error occurred while trying to read/write data to the network.

COUCHBASE_NOT_MY_VBUCKET

COUCHBASE_NOT_MY_VBUCKET

The command was sent to the wrong server. This problem may occur if someone added/removed a node to the cluster. Retrying the operation may solve the problem.

COUCHBASE_NOT_STORED

COUCHBASE_NOT_STORED

The document was not stored.

COUCHBASE_NOT_SUPPORTED

COUCHBASE_NOT_SUPPORTED

The server knows about this command, but the datastore doesn't support it for some reason.

COUCHBASE_UNKNOWN_COMMAND

COUCHBASE_UNKNOWN_COMMAND

The server did not understand the command we sent. This may occur if you are attempting to use an operation not supported on an older version of Couchbase Server.

COUCHBASE_UNKNOWN_HOST

COUCHBASE_UNKNOWN_HOST

Failed to lookup the host.

COUCHBASE_OPT_SERIALIZER

COUCHBASE_OPT_SERIALIZER

Specifies the serializer to use to store objects in the cluster.

COUCHBASE_OPT_COMPRESSION

COUCHBASE_OPT_COMPRESSION

Specifies the compression to use for big objects.

COUCHBASE_OPT_PREFIX_KEY

COUCHBASE_OPT_PREFIX_KEY

A text string used as a prefix for all keys (may be used to create your own namespace).

COUCHBASE_OPT_IGNOREFLAGS

COUCHBASE_OPT_IGNOREFLAGS

This option is used to disable the deserialisation of the data received from the cluster. It is mainly used by the developers of the extension to be able to test variable parts of the API and should not be used by end users (it may be removed without notice if we find a better way to do this).

COUCHBASE_OPT_VOPTS_PASSTHROUGH

COUCHBASE_OPT_VOPTS_PASSTHROUGH

COUCHBASE_SERIALIZER_PHP

COUCHBASE_SERIALIZER_PHP

Constant representing the PHP serializer.

COUCHBASE_SERIALIZER_JSON

COUCHBASE_SERIALIZER_JSON

Constant representing the JSON serializer.

COUCHBASE_SERIALIZER_JSON_ARRAY

COUCHBASE_SERIALIZER_JSON_ARRAY

Constant representing the JSON serializer, but deserialise into arrays.

COUCHBASE_COMPRESSION_NONE

COUCHBASE_COMPRESSION_NONE

Constant representing no compression.

COUCHBASE_COMPRESSION_ZLIB

COUCHBASE_COMPRESSION_ZLIB

Constant representing zlib compression.

COUCHBASE_COMPRESSION_FASTLZ

COUCHBASE_COMPRESSION_FASTLZ

Constant representing fastlz compression.

COUCHBASE_PRESERVE_ORDER

COUCHBASE_PRESERVE_ORDER

Constant representing preserve order for multiget