Implementation of EPiC's approach. More...
Classes | |
class | CountMapper |
class | CountReducer |
Static Public Member Functions | |
static void | setup (JobConf conf) |
Initializes the class based on provided configuration parameters. |
Implementation of EPiC's approach.
The Mappers evaluate the indicator polynomial for the Mappers' input split by computing the monomials for each record and multiplying them with the encrypted coefficients of the given polynomial in the user's request. Results for each record in the subset are added together and sent to the Reducer. The Reducer simply adds the results from Mappers together and obtain the final results for the whole data set.
This implementation supports all kinds of counting (conjunctive, disjunctive, range, GF(2) arithmetized).
static void mapred.MapRedEpic.setup | ( | JobConf | conf | ) | [inline, static] |
Initializes the class based on provided configuration parameters.
The initialization comprises setting job's name, assigning Mapper and Reducer class as well as their input and output key-value classes.
conf | configuration parameters. |