hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anil gupta <anilgupt...@gmail.com>
Subject Possibly unnecessary check in Result.getColumnLatest(byte[] family, byte[] qualifier)
Date Tue, 22 Jan 2013 17:43:12 GMT
Hi All,

I was looking into the code of Result.getColumnLatest(byte[] family, byte[]
qualifier) in HBase0.94.3 tag.
I feel like the following check is unnecessary on line #245 since we have
already got the right column by preforming binary search previously:
    if (kv.matchingColumn(family, qualifier)) {
      return kv;
    }

Am i missing something over here?
-- 
Thanks & Regards,
Anil Gupta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message