foundation.jpa.querydsl.spring.impl.AggregateCriteriaImpl Maven / Gradle / Ivy
package foundation.jpa.querydsl.spring.impl;
import com.querydsl.core.types.EntityPath;
import foundation.jpa.querydsl.spring.AggregateCriteria;
import org.springframework.data.domain.Pageable;
public class AggregateCriteriaImpl> extends SearchCriteriaImpl implements AggregateCriteria {
private final String groupBy;
private final String select;
public AggregateCriteriaImpl(String parameterName, String query, String sort, Pageable pageable, E entityPath, String groupBy, String select) {
super(parameterName, query, sort, pageable, entityPath);
this.groupBy = groupBy;
this.select = select;
}
@Override
public String groupBy() {
return groupBy;
}
@Override
public String select() {
return select;
}
}