the first two methods are now complete. Actually for each of the points in the test there are two different implementations:
1) A method that accepts in input the string of the restaurant and that calculates the aggregation at query time.
2) A method that does not have any input parameters (I think that this is the correct interpretation of the requirements) and that calculates the aggregation at insert/update time.