Class DynamicInstantiationResultImpl<R>
- java.lang.Object
-
- org.hibernate.sql.results.graph.instantiation.internal.DynamicInstantiationResultImpl<R>
-
- All Implemented Interfaces:
DomainResult<R>,DomainResultGraphNode,DynamicInstantiationResult<R>
public class DynamicInstantiationResultImpl<R> extends Object implements DynamicInstantiationResult<R>
-
-
Constructor Summary
Constructors Constructor Description DynamicInstantiationResultImpl(String resultVariable, DynamicInstantiationNature nature, JavaType<R> javaType, List<ArgumentDomainResult<?>> argumentResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollectValueIndexesToCache(BitSet valueIndexes)Collect the JDBC value indexes used by this domain result that should be cached.booleancontainsAnyNonScalarResults()Does this node contain any non-scalar (sub-)results?DomainResultAssembler<R>createResultAssembler(InitializerParent<?> parent, AssemblerCreationState creationState)Create an assembler (and any initializers) for this result.JavaType<R>getResultJavaType()StringgetResultVariable()The result-variable (alias) associated with this result.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.graph.DomainResultGraphNode
appliesTo, getNavigablePath
-
-
-
-
Constructor Detail
-
DynamicInstantiationResultImpl
public DynamicInstantiationResultImpl(String resultVariable, DynamicInstantiationNature nature, JavaType<R> javaType, List<ArgumentDomainResult<?>> argumentResults)
-
-
Method Detail
-
getResultJavaType
public JavaType<R> getResultJavaType()
- Specified by:
getResultJavaTypein interfaceDomainResultGraphNode
-
getResultVariable
public String getResultVariable()
Description copied from interface:DomainResultThe result-variable (alias) associated with this result.- Specified by:
getResultVariablein interfaceDomainResult<R>
-
containsAnyNonScalarResults
public boolean containsAnyNonScalarResults()
Description copied from interface:DomainResultGraphNodeDoes this node contain any non-scalar (sub-)results?- Specified by:
containsAnyNonScalarResultsin interfaceDomainResultGraphNode
-
collectValueIndexesToCache
public void collectValueIndexesToCache(BitSet valueIndexes)
Description copied from interface:DomainResultGraphNodeCollect the JDBC value indexes used by this domain result that should be cached.- Specified by:
collectValueIndexesToCachein interfaceDomainResultGraphNode
-
createResultAssembler
public DomainResultAssembler<R> createResultAssembler(InitializerParent<?> parent, AssemblerCreationState creationState)
Description copied from interface:DomainResultCreate an assembler (and any initializers) for this result.- Specified by:
createResultAssemblerin interfaceDomainResult<R>
-
-