Faster access of a row/column from *.h5 File

Hi All,

I have written *.h5 file using C++ HDF5 library. After that, I want to
perform some queries on *.h5 file which will give me particular row from a
file.

I have written a code which will traverse all rows and compare with each
and every row and at the end, it gives me the result.

But this approach is *sequential *search and it is generating *performance*
issue.

Here I am looking for random data fetching from *.h5.

Is there any better technique? and How should I apply better technique?

H5 File Format:-

<img src=‘//hdf-discourse-1.s3.amazonaws.com/original/1X/83e333ea6f547c278f2759749e9fa1fb52177e83.png’ width=‘625’ height=‘225’>

Here what I want is access second row directly without traversing?

Just like HashMap, which does in 0(1) time

Sample code is very helpful here.

Regards,
Shamkumar