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 booleancontainsAnyNonScalarResults()Does this node contain any non-scalar (sub-)results?DomainResultAssembler<R>createResultAssembler(FetchParentAccess parentAccess, 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
-
createResultAssembler
public DomainResultAssembler<R> createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Description copied from interface:DomainResultCreate an assembler (and any initializers) for this result.- Specified by:
createResultAssemblerin interfaceDomainResult<R>
-
-