
de.tsl2.nano.service.util.finder.GroupBy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.serviceaccess Show documentation
Show all versions of tsl2.nano.serviceaccess Show documentation
TSL2 JEE Service Access (Generic Services for Entity Access, JEE File-System-Connector, Generic Featuring, Job-Scheduling, BeanContainer, Batch, Comfortable Bean Query Definitions, JAAS, Authentification, Authorization, )
The newest version!
package de.tsl2.nano.service.util.finder;
import java.util.Collection;
/**
* additional group by statement creator
*
* @param result bean type
* @author Thomas Schneider, Thomas Schneider
* @version $Revision$
*/
public class GroupBy extends AbstractFinder {
/** serialVersionUID */
private static final long serialVersionUID = -6987663981295488159L;
String[] attributeNames;
public GroupBy(String[] attributeNames) {
this(null, attributeNames);
}
/**
* constructor
*
* @param attributeNames, group by names
*/
public GroupBy(Class resultType, String[] attributeNames) {
super(resultType);
this.attributeNames = attributeNames;
}
/**
* {@inheritDoc}
*/
@Override
StringBuffer prepareQuery(int index,
StringBuffer currentQuery,
Collection
© 2015 - 2025 Weber Informatics LLC | Privacy Policy