org.hibernate.transform
Interface ResultTransformer
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- AliasToBeanConstructorResultTransformer, AliasToBeanResultTransformer, BasicTransformerAdapter, DistinctRootEntityResultTransformer
- public interface ResultTransformer
- extends Serializable
Implementors define a strategy for transforming criteria query
results into the actual application-visible query result list.
- Author:
- Gavin King
- See Also:
Criteria.setResultTransformer(ResultTransformer)
transformTuple
public Object transformTuple(Object[] tuple,
String[] aliases)
transformList
public List transformList(List collection)