mapred
Class MapRedEpic
java.lang.Object
mapred.MapRedEpic
public class MapRedEpic
- extends java.lang.Object
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).
- Author:
- vohuudtr
Method Summary |
static void |
setup(org.apache.hadoop.mapred.JobConf conf)
Initializes the class based on provided configuration parameters. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapRedEpic
public MapRedEpic()
setup
public static void setup(org.apache.hadoop.mapred.JobConf conf)
- 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.
- Parameters:
conf
- configuration parameters.