In our project we have a requirement, we will have to make multiple PreFix scan and query BigTable.
For example, Reference the below rowKey of a BigTable
1st 4 rows have prefix 9JNzZAGX,
2nd 3 rows have prefix sRbfH5fW,
3rd 1 rows have prefix PnQvPYtA,
4th 2 rows have prefix C7M5fjUg,
9JNzZAGX-hkncRBPb
9JNzZAGX-gFfXvVxx
9JNzZAGX-saQaP62S
9JNzZAGX-S5prLFns
sRbfH5fW-PLez7PF5
sRbfH5fW-Pg5PJjuq
sRbfH5fW-7HfgXgJe
PnQvPYtA-UUNC4mhw
C7M5fjUg-6nvM2ReV
C7M5fjUg-hSpQungj
If I have to fetch the rows with starting with prefix sRbfH5fW and C7M5fjUg, below 5 rows need to be returned.
sRbfH5fW-PLez7PF5
sRbfH5fW-Pg5PJjuq
sRbfH5fW-7HfgXgJe
C7M5fjUg-6nvM2ReV
C7M5fjUg-hSpQungj
If there a way using Java APIs I can fetch them in single call to DB. This prefix LKist can be in 100s thus parallel or sequential search in code for each does not sound good option.