Added javadocs to ResultTransformer

This commit is contained in:
Samppa Saarela 2011-09-14 14:31:20 +03:00
parent c92073879c
commit ebe6903e45

View File

@ -1,6 +1,19 @@
/*
* Copyright (c) 2010 Mysema Ltd.
* All rights reserved.
*
*/
package com.mysema.query;
/**
* Executes query on a Projectable and transforms results into T. This can be used for example
* to group projected columns or to filter out duplicate results.
*
* @see com.mysema.query.support.GroupBy
* @author sasa
*
* @param <T> Transformations target type
*/
public interface ResultTransformer<T> {
public T transform(Projectable projectable);