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()
           
static ResultTransformer resolveClassicResultTransformer(Constructor constructor, ResultTransformer transformer)
           
static ResultTransformer resolveResultTransformer(ResultTransformer selectNewTransformer, ResultTransformer customTransformer)
           
 
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)

resolveResultTransformer

public static ResultTransformer resolveResultTransformer(ResultTransformer selectNewTransformer,
                                                         ResultTransformer customTransformer)

createSelectNewTransformer

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

createClassicHolderInstantiator

public static HolderInstantiator createClassicHolderInstantiator(Constructor constructor,
                                                                 ResultTransformer transformer)

resolveClassicResultTransformer

public static ResultTransformer resolveClassicResultTransformer(Constructor constructor,
                                                                ResultTransformer transformer)

isRequired

public boolean isRequired()

instantiate

public Object instantiate(Object[] row)

getQueryReturnAliases

public String[] getQueryReturnAliases()

getResultTransformer

public ResultTransformer getResultTransformer()


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.