Experiment with java 8 lambdas for our java spark Java API.