Is it possible to get hbase data records by list of row ids via hbase java API?
For example, I have a known list of hbase row ids:
mykey1:myhash1, mykey1:myhash2, mykey1:myhash3, mykey2:myhash5, ...
and I want to get with single call to hbase all relevant column cell informations. I'm pretty new to hbase and i don't know is this even supported by the API.
API pseudo code:
GetById(String tableName, List<byte[]> rowIds);
Something like that?
I can retrieve information from single row with Get(byte[] rowName)
, but when I have list of rowIds, I need to execute the get action several times, which cause establishing connection and closing it when completed each time.
Thanks