Hello,
I had wrongly assumed that big endian format of integers(or doubles)
is lexicographically ordered in the same way as they on the number
line, e.g

-1 < 1
but
ff ff ff ff   <= 00 00 00 01

so storing the big endian format as byte arrays would not preserve
order and searches for -5 < rowkey <5 would return wrong results.

Is there during the scan to provide a comparator? So that I can (based
on,say, 4 bytes of prefix) read in the byte key and compare?

Thank you
Saptarshi

Reply via email to