Example on how to use the Speedment Enterprise aggregator.
These examples are intended to be used together with the MySQL Employees database. Make sure the database exists accessible with username
root and password
localhost:3306 before running the application. Alternatively you can configure a different data source by modifying the application.yml-file.
Three controllers are defined.
|GET||/salary/mean||Compute the mean salary of men and women|
|GET||/salary/variance||Compute the mean and variance in salary of men and women|
|GET||/salary/correlation||Compute Pearson's Correlation Coefficient|