Also, I need to know how can we add additional grouping parameters dynamically into it. I need to perform server-side grouping in java.