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 void
collectValueIndexesToCache(BitSet valueIndexes)
Collect the JDBC value indexes used by this domain result that should be cached.boolean
containsAnyNonScalarResults()
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()
String
getResultVariable()
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:
getResultJavaType
in interfaceDomainResultGraphNode
-
getResultVariable
public String 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
public void collectValueIndexesToCache(BitSet valueIndexes)
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>
-
-