站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

ResultTransformer (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.transform
Interface ResultTransformer

All Superinterfaces:
Serializable
All Known Implementing Classes:
AliasToBeanConstructorResultTransformer, AliasToBeanResultTransformer, AliasToEntityMapResultTransformer, DistinctRootEntityResultTransformer, PassThroughResultTransformer, RootEntityResultTransformer, ToListResultTransformer

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)

Method Summary
 List transformList(List collection)
           
 Object transformTuple(Object[] tuple, String[] aliases)
           
 

Method Detail

transformTuple

public Object transformTuple(Object[] tuple,
                             String[] aliases)

transformList

public List transformList(List collection)