There are 2 functions that you give to the runtime system.
1. A mapper function which takes a string and a map. It parses the string to get the user input type. If the user is a mobile client, then we add an entry in the results map.
2. The reducer sums all the values for a given key.
There are 2 functions that you give to the runtime system. 1. A mapper function which takes a string and a map. It parses the string to get the user input type. If the user is a mobile client, then we add an entry in the results map. 2. The reducer sums all the values for a given key.