org.hibernate.hql
Class HolderInstantiator

java.lang.Object
  extended by org.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()