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

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


org.hibernate.hql
Class HolderInstantiator

java.lang.Object
  extended byorg.hibernate.hql.HolderInstantiator

public final class HolderInstantiator
extends Object

Author:
Gavin King

Field Summary
static HolderInstantiator NOOP_INSTANTIATOR
           
 
Constructor Summary
HolderInstantiator(ResultTransformer transformer, String[] queryReturnAliases)
           
 
Method Summary
static HolderInstantiator createClassicHolderInstantiator(Constructor constructor, ResultTransformer transformer)
           
static ResultTransformer createSelectNewTransformer(Constructor constructor, boolean returnMaps, boolean returnLists)
           
static HolderInstantiator getHolderInstantiator(ResultTransformer selectNewTransformer, ResultTransformer customTransformer, String[] queryReturnAliases)
           
 String[] getQueryReturnAliases()
           
 ResultTransformer getResultTransformer()
           
 Object instantiate(Object[] row)
           
 boolean isRequired()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOOP_INSTANTIATOR

public static final HolderInstantiator NOOP_INSTANTIATOR
Constructor Detail

HolderInstantiator

public HolderInstantiator(ResultTransformer transformer,
                          String[] queryReturnAliases)
Method Detail

getHolderInstantiator

public static HolderInstantiator getHolderInstantiator(ResultTransformer selectNewTransformer,
                                                       ResultTransformer customTransformer,
                                                       String[] queryReturnAliases)

createSelectNewTransformer

public static ResultTransformer createSelectNewTransformer(Constructor constructor,
                                                           boolean returnMaps,
                                                           boolean returnLists)

createClassicHolderInstantiator

public static HolderInstantiator createClassicHolderInstantiator(Constructor constructor,
                                                                 ResultTransformer transformer)

isRequired

public boolean isRequired()

instantiate

public Object instantiate(Object[] row)

getQueryReturnAliases

public String[] getQueryReturnAliases()

getResultTransformer

public ResultTransformer getResultTransformer()