Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


20.1.15 ead_get_group() (acquires values by using a batch operation with group specification)

Organization of this subsection

(1) Description

Using a batch operation, this function acquires the values associated with keys that belong to a specified group and its lower hierarchy groups.

(2) Format

#include <eads.h>
ead_get_group_results ead_get_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 acquired 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 for which values are to be acquired.

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) Return value

Using a batch operation, this function returns the results (ead_get_group_results structure) of acquiring the values associated with keys that belong to the specified group and its lower hierarchy groups.

For details about the ead_get_group_results structure and its format, see 20.1.45 ead_get_group_results structure (execution results of ead_get_group()).

(5) Notes