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

Uses of Interface org.hibernate.transform.ResultTransformer (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


Uses of Interface
org.hibernate.transform.ResultTransformer

Packages that use ResultTransformer
org.hibernate This package defines the central Hibernate APIs. 
org.hibernate.criterion A framework for defining restriction criteria and order criteria. 
org.hibernate.engine This package contains classes that are "shared" by other packages, and implementations of some key algorithms. 
org.hibernate.hql This package defines the interface between Hibernate and the HQL query parser implementation (to allow switching between the 2.x and 3.0 HQL parsers). 
org.hibernate.hql.classic This package contains the Hibernate 2.x query parser which is being end-of-lifed. 
org.hibernate.impl This package contains implementations of the central Hibernate APIs, especially the Hibernate session. 
org.hibernate.loader This package defines functionality for processing JDBC result sets and returning complex graphs of persistent objects. 
org.hibernate.loader.criteria This package defines the criteria query compiler and loader  
org.hibernate.loader.custom This package defines a framework for custom loaders that accept handwritten SQL  
org.hibernate.loader.entity This package defines entity loaders  
org.hibernate.loader.hql This package defines a loader for the AST-based query parser  
org.hibernate.transform Defines strategies for post-processing criteria query result sets into a form convenient to the application. 
 

Uses of ResultTransformer in org.hibernate
 

Methods in org.hibernate with parameters of type ResultTransformer
 Query Query.setResultTransformer(ResultTransformer transformer)
          Set a strategy for handling the query results.
 Criteria Criteria.setResultTransformer(ResultTransformer resultTransformer)
          Set a strategy for handling the query results.
 

Uses of ResultTransformer in org.hibernate.criterion
 

Fields in org.hibernate.criterion declared as ResultTransformer
static ResultTransformer CriteriaSpecification.ALIAS_TO_ENTITY_MAP
          Each row of results is a Map from alias to entity instance
static ResultTransformer CriteriaSpecification.ROOT_ENTITY
          Each row of results is an instance of the root entity
static ResultTransformer CriteriaSpecification.DISTINCT_ROOT_ENTITY
          Each row of results is a distinct instance of the root entity
static ResultTransformer CriteriaSpecification.PROJECTION
          This result transformer is selected implicitly by calling setProjection()
 

Methods in org.hibernate.criterion with parameters of type ResultTransformer
 DetachedCriteria DetachedCriteria.setResultTransformer(ResultTransformer resultTransformer)
           
 

Uses of ResultTransformer in org.hibernate.engine
 

Methods in org.hibernate.engine that return ResultTransformer
 ResultTransformer QueryParameters.getResultTransformer()
           
 

Constructors in org.hibernate.engine with parameters of type ResultTransformer
QueryParameters(Type[] positionalParameterTypes, Object[] positionalParameterValues, Map lockModes, RowSelection rowSelection, boolean cacheable, String cacheRegion, String comment, boolean isLookupByNaturalKey, ResultTransformer transformer)
           
QueryParameters(Type[] positionalParameterTypes, Object[] positionalParameterValues, Map namedParameters, Map lockModes, RowSelection rowSelection, boolean readOnly, boolean cacheable, String cacheRegion, String comment, Serializable[] collectionKeys, ResultTransformer transformer)
           
QueryParameters(Type[] positionalParameterTypes, Object[] positionalParameterValues, Map namedParameters, Map lockModes, RowSelection rowSelection, boolean readOnly, boolean cacheable, String cacheRegion, String comment, Serializable[] collectionKeys, Object optionalObject, String optionalEntityName, Serializable optionalId, ResultTransformer transformer)
           
 

Uses of ResultTransformer in org.hibernate.hql
 

Methods in org.hibernate.hql that return ResultTransformer
static ResultTransformer HolderInstantiator.createSelectNewTransformer(Constructor constructor, boolean returnMaps, boolean returnLists)
           
 ResultTransformer HolderInstantiator.getResultTransformer()
           
 

Methods in org.hibernate.hql with parameters of type ResultTransformer
static HolderInstantiator HolderInstantiator.getHolderInstantiator(ResultTransformer selectNewTransformer, ResultTransformer customTransformer, String[] queryReturnAliases)
           
static HolderInstantiator HolderInstantiator.createClassicHolderInstantiator(Constructor constructor, ResultTransformer transformer)
           
 

Constructors in org.hibernate.hql with parameters of type ResultTransformer
HolderInstantiator(ResultTransformer transformer, String[] queryReturnAliases)
           
 

Uses of ResultTransformer in org.hibernate.hql.classic
 

Methods in org.hibernate.hql.classic with parameters of type ResultTransformer
protected  Object QueryTranslatorImpl.getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session)
           
protected  List QueryTranslatorImpl.getResultList(List results, ResultTransformer resultTransformer)
           
 

Uses of ResultTransformer in org.hibernate.impl
 

Methods in org.hibernate.impl that return ResultTransformer
 ResultTransformer CriteriaImpl.getResultTransformer()
           
 

Methods in org.hibernate.impl with parameters of type ResultTransformer
 Criteria CriteriaImpl.setResultTransformer(ResultTransformer tupleMapper)
           
 Criteria CriteriaImpl.Subcriteria.setResultTransformer(ResultTransformer resultProcessor)
           
 Query AbstractQueryImpl.setResultTransformer(ResultTransformer transformer)
           
 

Uses of ResultTransformer in org.hibernate.loader
 

Methods in org.hibernate.loader with parameters of type ResultTransformer
protected  List Loader.getResultList(List results, ResultTransformer resultTransformer)
           
protected  Object Loader.getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session)
          Get the actual object that is returned in the user-visible result list.
 

Uses of ResultTransformer in org.hibernate.loader.criteria
 

Methods in org.hibernate.loader.criteria with parameters of type ResultTransformer
protected  Object CriteriaLoader.getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session)
           
protected  List CriteriaLoader.getResultList(List results, ResultTransformer resultTransformer)
           
 

Uses of ResultTransformer in org.hibernate.loader.custom
 

Methods in org.hibernate.loader.custom with parameters of type ResultTransformer
protected  Object CustomLoader.getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session)
           
protected  List CustomLoader.getResultList(List results, ResultTransformer resultTransformer)
           
 

Uses of ResultTransformer in org.hibernate.loader.entity
 

Methods in org.hibernate.loader.entity with parameters of type ResultTransformer
protected  Object CollectionElementLoader.getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session)
           
protected  Object AbstractEntityLoader.getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session)
           
 

Uses of ResultTransformer in org.hibernate.loader.hql
 

Methods in org.hibernate.loader.hql with parameters of type ResultTransformer
protected  Object QueryLoader.getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session)
           
protected  List QueryLoader.getResultList(List results, ResultTransformer resultTransformer)
           
 

Uses of ResultTransformer in org.hibernate.transform
 

Classes in org.hibernate.transform that implement ResultTransformer
 class AliasToBeanConstructorResultTransformer
           
 class AliasToBeanResultTransformer
          Result transformer that allows to transform a result to a user specified class which will be populated via setter methods or fields matching the alias names.
 class AliasToEntityMapResultTransformer
           
 class DistinctRootEntityResultTransformer
           
 class PassThroughResultTransformer
           
 class RootEntityResultTransformer
           
 class ToListResultTransformer
           
 

Fields in org.hibernate.transform declared as ResultTransformer
static ResultTransformer Transformers.ALIAS_TO_ENTITY_MAP
          Each row of results is a Map from alias to values/entities
static ResultTransformer Transformers.TO_LIST
          Each row of results is a List
static ResultTransformer ToListResultTransformer.INSTANCE
           
 

Methods in org.hibernate.transform that return ResultTransformer
static ResultTransformer Transformers.aliasToBean(Class target)
          Creates a resulttransformer that will inject aliased values into instances of Class via property methods or fields.