March 2017
Beginner to intermediate
356 pages
7h 11m
English
In Java, to create a function you will have to implement the interfaces available in the org.apache.spark.api.java function package. There are two popular ways to create such functions:
Let's implement the preceding word count examples in Java:

Figure 2.13: Code example of Java implementation of word count (inline functions)
If you belong to a group of programmers who feel that writing inline functions makes the code complex and unreadable (a ...
Read now
Unlock full access