Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


20.1.16 ead_remove() (deletes a value)

Organization of this subsection

(1) Description

This function deletes a specified key and the value associated with that key.

(2) Format

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

(3) Arguments

cp

Specifies the handle (pointer) to the cache holding the key and value to be deleted.

Specify the handle obtained from ead_start_cache().

key

Specifies the key associated with the value to be deleted.

For details about the data types that can be specified, see 15.2.2(1) Data types that can be specified as keys.

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).