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 TypeMethodDescriptionvoidcollectValueIndexesToCache(BitSet valueIndexes) Collect the JDBC value indexes used by this domain result that should be cached.booleanDoes 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, waitMethods 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:
getResultJavaTypein interfaceDomainResultGraphNode
-
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
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>
-