kv_detailed_metrics_list_get_name()

#include <kvstore.h>

kv_error_t
kv_detailed_metrics_list_get_name(
    const kv_detailed_metrics_list_t *res,
    kv_int_t index,
    char **name) 

Returns the name of the partition or shard which was examined by the parallel scan.

Parameters

  • res

    The res parameter is the detailed metrics list for which you want the partition or shard name. It is created using either kv_parallel_scan_get_partition_metrics() or kv_parallel_scan_get_shard_metrics().

  • index

    The index parameter is the point in the scan from which you want to return the partition or shard name.

  • name

    The name parameter references memory into which is placed the shard or partition name.