Enum KeyValueStatus

    • Enum Constant Detail

      • ERR_DELTA_BADVAL

        public static final KeyValueStatus ERR_DELTA_BADVAL
      • ERR_NOT_MY_VBUCKET

        public static final KeyValueStatus ERR_NOT_MY_VBUCKET
      • ERR_AUTH_CONTINUE

        public static final KeyValueStatus ERR_AUTH_CONTINUE
      • ERR_NOT_INITIALIZED

        public static final KeyValueStatus ERR_NOT_INITIALIZED
      • ERR_UNKNOWN_COMMAND

        public static final KeyValueStatus ERR_UNKNOWN_COMMAND
      • ERR_NOT_SUPPORTED

        public static final KeyValueStatus ERR_NOT_SUPPORTED
      • ERR_SUBDOC_PATH_NOT_FOUND

        public static final KeyValueStatus ERR_SUBDOC_PATH_NOT_FOUND
      • ERR_SUBDOC_PATH_MISMATCH

        public static final KeyValueStatus ERR_SUBDOC_PATH_MISMATCH
      • ERR_SUBDOC_PATH_INVALID

        public static final KeyValueStatus ERR_SUBDOC_PATH_INVALID
      • ERR_SUBDOC_PATH_TOO_BIG

        public static final KeyValueStatus ERR_SUBDOC_PATH_TOO_BIG
      • ERR_SUBDOC_DOC_TOO_DEEP

        public static final KeyValueStatus ERR_SUBDOC_DOC_TOO_DEEP
      • ERR_SUBDOC_VALUE_CANTINSERT

        public static final KeyValueStatus ERR_SUBDOC_VALUE_CANTINSERT
      • ERR_SUBDOC_DOC_NOT_JSON

        public static final KeyValueStatus ERR_SUBDOC_DOC_NOT_JSON
      • ERR_SUBDOC_NUM_RANGE

        public static final KeyValueStatus ERR_SUBDOC_NUM_RANGE
      • ERR_SUBDOC_DELTA_RANGE

        public static final KeyValueStatus ERR_SUBDOC_DELTA_RANGE
      • ERR_SUBDOC_PATH_EXISTS

        public static final KeyValueStatus ERR_SUBDOC_PATH_EXISTS
      • ERR_SUBDOC_VALUE_TOO_DEEP

        public static final KeyValueStatus ERR_SUBDOC_VALUE_TOO_DEEP
      • ERR_SUBDOC_INVALID_COMBO

        public static final KeyValueStatus ERR_SUBDOC_INVALID_COMBO
      • ERR_SUBDOC_MULTI_PATH_FAILURE

        public static final KeyValueStatus ERR_SUBDOC_MULTI_PATH_FAILURE
      • ERR_SUBDOC_XATTR_INVALID_FLAG_COMBO

        public static final KeyValueStatus ERR_SUBDOC_XATTR_INVALID_FLAG_COMBO
      • ERR_SUBDOC_XATTR_INVALID_KEY_COMBO

        public static final KeyValueStatus ERR_SUBDOC_XATTR_INVALID_KEY_COMBO
      • ERR_SUBDOC_XATTR_UNKNOWN_MACRO

        public static final KeyValueStatus ERR_SUBDOC_XATTR_UNKNOWN_MACRO
      • SUBDOC_SUCCESS_DELETED_DOCUMENT

        public static final KeyValueStatus SUBDOC_SUCCESS_DELETED_DOCUMENT
    • Method Detail

      • values

        public static KeyValueStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (KeyValueStatus c : KeyValueStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KeyValueStatus valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • valueOf

        public static KeyValueStatus valueOf​(short code)
        Determine the right KeyValueStatus for the given status code. Certain status codes are checked upfront since they are most commonly converted (this avoids iterating through the full enum values list, especially in the non-corner or failure case variants).
        Parameters:
        code - the status code to check.
        Returns:
        the matched code, or unknown if none is found.
      • code

        public short code()
      • description

        public String description()