E.g. in case of OneByteSimpleHash, the prefix is single byte b, so
that (b & 0xFF) is from the interval [0...N], where N is number of
buckets. As byte is signed type the prefix values can be 0, 1, ...,
127, -128, -127, ..., -1. E.g. if N = 32, then b belongs to [0...31].
In case e.g. N = 130, b belongs to [0, 1, .., 127, -128, -127].
There's no special reason in such sequence in case of
OneByteSimpleHash though. The prefixes sorted in ASC order (if used
HBase's native raw bytes comparator which compares b1 & 0xFF and b2 &
0xFF), but it is not required for prefixes returned by
getAllPossiblePrefixes() to be ordered actually.
(Note that I'm referring to the latest code in github:
OneByteSimpleHash was adjusted during this week).
Alex
Would be great if you could share the test results.
There's a plan for delete:
https://github.com/sematext/HBaseWD/issues/1. For now you have to
delete records one-by one the same way as you do Get. This is usual
way to delete data in HBase (no delete range operation). But it would
be easier/cleaner for users to have explicit "distributed" analogs of
Get and Delete operation.
Will try to find the time during this week to complete this in case it
is important for you.
Alex.