Join sets using Java client

Hi Aersopike gurus, Is there any way to join sets using Java Client? I tried to use Aerospike JDBC connector but it isn’t working, throwing nullpointer at simba jdbc. So I figured that may be there is a way to join sets using arespike client? if it should be udf could you point on how to join sets in udf? Thanks