|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResultTransformer
Implementors define a strategy for transforming query results into the actual application-visible query result list.
Criteria.setResultTransformer(ResultTransformer)
,
Query.setResultTransformer(ResultTransformer)
Method Summary | |
---|---|
List |
transformList(List collection)
Here we have an opportunity to perform transformation on the query result as a whole. |
Object |
transformTuple(Object[] tuple,
String[] aliases)
Tuples are the elements making up each "row" of the query result. |
Method Detail |
---|
Object transformTuple(Object[] tuple, String[] aliases)
tuple
- The result elementsaliases
- The result aliases ("parallel" array to tuple)
List transformList(List collection)
collection
- The result.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |