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
ConstructorsConstructorDescriptionDynamicInstantiationResultImpl
(String resultVariable, DynamicInstantiationNature nature, JavaType<R> javaType, List<ArgumentDomainResult<?>> argumentResults) -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectValueIndexesToCache
(BitSet valueIndexes) Collect the JDBC value indexes used by this domain result that should be cached.boolean
Does this node contain any non-scalar (sub-)results?createResultAssembler
(InitializerParent<?> parent, AssemblerCreationState creationState) Create an assembler (and any initializers) for this result.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 Details
-
DynamicInstantiationResultImpl
public DynamicInstantiationResultImpl(String resultVariable, DynamicInstantiationNature nature, JavaType<R> javaType, List<ArgumentDomainResult<?>> argumentResults)
-
-
Method Details
-
getResultJavaType
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
-
getResultVariable
Description copied from interface:DomainResult
The result-variable (alias) associated with this result.- Specified by:
getResultVariable
in interfaceDomainResult<R>
-
containsAnyNonScalarResults
public boolean containsAnyNonScalarResults()Description copied from interface:DomainResultGraphNode
Does this node contain any non-scalar (sub-)results?- Specified by:
containsAnyNonScalarResults
in interfaceDomainResultGraphNode
-
collectValueIndexesToCache
Description copied from interface:DomainResultGraphNode
Collect the JDBC value indexes used by this domain result that should be cached.- Specified by:
collectValueIndexesToCache
in interfaceDomainResultGraphNode
-
createResultAssembler
public DomainResultAssembler<R> createResultAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Description copied from interface:DomainResult
Create an assembler (and any initializers) for this result.- Specified by:
createResultAssembler
in interfaceDomainResult<R>
-