https://jgp.ai/2016/07/25/managing-java-udf-with-apache-spark/
Managing Java UDF with Apache Spark