Class TupleResult<T>
- java.lang.Object
-
- org.hibernate.sql.results.graph.tuple.TupleResult<T>
-
- All Implemented Interfaces:
BasicResultGraphNode<T>
,DomainResult<T>
,DomainResultGraphNode
public class TupleResult<T> extends Object implements DomainResult<T>, BasicResultGraphNode<T>
-
-
Constructor Summary
Constructors Constructor Description TupleResult(int[] jdbcValuesArrayPositions, String resultVariable, JavaType<T> javaType)
TupleResult(int[] jdbcValuesArrayPositions, String resultVariable, JavaType<T> javaType, NavigablePath navigablePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomainResultAssembler<T>
createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Create an assembler (and any initializers) for this result.DomainResultAssembler<T>
getAssembler()
For testing purposes onlyNavigablePath
getNavigablePath()
The NavigablePath for this node (if one!).JavaType<T>
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, containsAnyNonScalarResults
-
-
-
-
Method Detail
-
getResultVariable
public String getResultVariable()
Description copied from interface:DomainResult
The result-variable (alias) associated with this result.- Specified by:
getResultVariable
in interfaceDomainResult<T>
-
getResultJavaType
public JavaType<T> getResultJavaType()
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
-
getNavigablePath
public NavigablePath getNavigablePath()
Description copied from interface:DomainResultGraphNode
The NavigablePath for this node (if one!). Certain nodes will not have a NavigablePath, namely those not associated with a Navigable- Specified by:
getNavigablePath
in interfaceDomainResultGraphNode
-
getAssembler
@Internal public DomainResultAssembler<T> getAssembler()
For testing purposes only
-
createResultAssembler
public DomainResultAssembler<T> createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)
Description copied from interface:DomainResult
Create an assembler (and any initializers) for this result.- Specified by:
createResultAssembler
in interfaceDomainResult<T>
-
-