Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


20.1.18 ead_remove_group() (deletes values by using a batch operation with group specification)

Organization of this subsection

(1) Description

Using a batch operation, this function deletes the keys and values belonging to a specified group, including the keys and values that belong to the specified group's lower hierarchy groups.

If the deletion processing fails for some reason during batch deletion of keys and values, the function returns an error code that indicates the cause of the failure.

(2) Format

#include <eads.h>
void ead_remove_group
(
  const EAD_CACHE     *cp,            /* In */
  const char          *group_name,    /* In */
  int                 *error_code     /* Out */
);

(3) Arguments

cp

Specifies the handle (pointer) to the cache where the values to be deleted are stored.

Specify the handle (pointer) obtained from ead_start_cache() when access to the cache was started.

group_name

Specifies the group name of the group to which the keys and values that are to be deleted belong.

For details about the data that can be specified, see 15.2.2(2) Data that can be specified as group names.

error_code

Specifies the pointer from which to retrieve the error code.

For details about error codes, see 20.2 Error codes in the client library (C).

(4) Notes