Add the collect_all java udf