max(x) - JPA CriteriaBuilder's method

Create an aggregate expression applying the numerical max operation.
Parameters:
x - expression representing input value to max operation
Returns:
max expression
Since:
JPA 2.0