Enum SubDocumentOpResponseStatus

    • Enum Constant Detail

      • SUCCESS_DELETED_DOCUMENT

        public static final SubDocumentOpResponseStatus SUCCESS_DELETED_DOCUMENT
        The subdoc operation completed successfully on the deleted document
      • PATH_MISMATCH

        public static final SubDocumentOpResponseStatus PATH_MISMATCH
        One of path components treats a non-dictionary as a dictionary, or a non-array as an array, or value the path points to is not a number
      • PATH_TOO_BIG

        public static final SubDocumentOpResponseStatus PATH_TOO_BIG
        The path provided is too large: either the string is too long, or it contains too many components
      • VALUE_CANTINSERT

        public static final SubDocumentOpResponseStatus VALUE_CANTINSERT
        The value provided will invalidate the JSON if inserted
      • NUM_RANGE

        public static final SubDocumentOpResponseStatus NUM_RANGE
        The existing number is out of the valid range for arithmetic operations
      • DELTA_RANGE

        public static final SubDocumentOpResponseStatus DELTA_RANGE
        The operation would result in a number outside the valid range
      • PATH_EXISTS

        public static final SubDocumentOpResponseStatus PATH_EXISTS
        The requested operation requires the path to not already exist, but it exists
      • VALUE_TOO_DEEP

        public static final SubDocumentOpResponseStatus VALUE_TOO_DEEP
        Inserting the value would cause the document to be too deep
      • MULTI_PATH_FAILURE

        public static final SubDocumentOpResponseStatus MULTI_PATH_FAILURE
        Specified key was successfully found, but one or more path operations failed
      • XATTR_INVALID_FLAG_COMBO

        public static final SubDocumentOpResponseStatus XATTR_INVALID_FLAG_COMBO
        An invalid combination of operations, using macros when not using extended attributes
      • XATTR_INVALID_KEY_COMBO

        public static final SubDocumentOpResponseStatus XATTR_INVALID_KEY_COMBO
        Only single xattr key may be accessed at the same time
      • XATTR_UNKNOWN_MACRO

        public static final SubDocumentOpResponseStatus XATTR_UNKNOWN_MACRO
        The server has no knowledge of the requested macro
      • XATTR_CANNOT_MODIFY_VATTR

        public static final SubDocumentOpResponseStatus XATTR_CANNOT_MODIFY_VATTR
        Cannot modify this virtual attribute.
      • XATTR_NO_ACCESS

        public static final SubDocumentOpResponseStatus XATTR_NO_ACCESS
        User does not have permission to access this attribute.
      • CAN_ONLY_REVIVE_DELETED_DOCUMENTS

        public static final SubDocumentOpResponseStatus CAN_ONLY_REVIVE_DELETED_DOCUMENTS
        The ReviveDocument flag can only be used on deleted documents (tombstones).
    • Method Detail

      • values

        public static SubDocumentOpResponseStatus[] 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 (SubDocumentOpResponseStatus c : SubDocumentOpResponseStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SubDocumentOpResponseStatus 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
      • success

        public boolean success()