public final class HolderInstantiator extends Object
Modifier and Type | Field and Description |
---|---|
static HolderInstantiator |
NOOP_INSTANTIATOR |
Constructor and Description |
---|
HolderInstantiator(ResultTransformer transformer,
String[] queryReturnAliases) |
Modifier and Type | Method and Description |
---|---|
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) |
public static final HolderInstantiator NOOP_INSTANTIATOR
public HolderInstantiator(ResultTransformer transformer, String[] queryReturnAliases)
public static HolderInstantiator getHolderInstantiator(ResultTransformer selectNewTransformer, ResultTransformer customTransformer, String[] queryReturnAliases)
public static ResultTransformer resolveResultTransformer(ResultTransformer selectNewTransformer, ResultTransformer customTransformer)
public static ResultTransformer createSelectNewTransformer(Constructor constructor, boolean returnMaps, boolean returnLists)
public static HolderInstantiator createClassicHolderInstantiator(Constructor constructor, ResultTransformer transformer)
public static ResultTransformer resolveClassicResultTransformer(Constructor constructor, ResultTransformer transformer)
public boolean isRequired()
public String[] getQueryReturnAliases()
public ResultTransformer getResultTransformer()
Copyright © 2016 JBoss by Red Hat. All rights reserved.