kv_detailed_metrics_list_get_record_count()

#include <kvstore.h>

kv_error_t
kv_detailed_metrics_list_get_record_count(
    const kv_detailed_metrics_list_t *res,
    kv_int_t index,
    kv_long_t *count) 

Returns the record count for the shard or partition.

Parameters

  • res

    The res parameter is the detailed metrics list for which you want the record count. 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 to which you want to examine the record count.

  • count

    The count parameter references memory into which is placed the record count up to the point in the scan identified by index.