Is it possible to get hbase data records from a list of row identifiers via the hbase java API?
For example, I have a known list of hbase string identifiers:
mykey1: myhash1, mykey1: myhash2, mykey1: myhash3, mykey2: myhash5, ...
and I want to get one call to hbase for all the corresponding column cell data. I am new to hbase and I don't know if this is even supported by the API.
API Pseudo Code:
GetById(String tableName, List<byte[]> rowIds);
Something like that?
I can get information from a single line using Get(byte[] rowName) , but when I have a list of rowIds, I need to execute the get action several times, which causes the connection to be established and closed at each end.
thanks
source share