@Jason Bosco It works and I can add my conditions to filter_by and generate scoped key.
But as my requirement grows currently I'm forced to build by appending string for each condition and use && . Basically a huge string with conditions.
Is there any java API available to build this and use in Scoped key generation .