Class BasicResult<T>
- java.lang.Object
-
- org.hibernate.sql.results.graph.basic.BasicResult<T>
-
- All Implemented Interfaces:
BasicResultGraphNode<T>
,DomainResult<T>
,DomainResultGraphNode
public class BasicResult<T> extends Object implements DomainResult<T>, BasicResultGraphNode<T>
DomainResult for a basic-value
-
-
Constructor Summary
Constructors Constructor Description BasicResult(int jdbcValuesArrayPosition, String resultVariable, JdbcMapping jdbcMapping)
BasicResult(int jdbcValuesArrayPosition, String resultVariable, JdbcMapping jdbcMapping, boolean coerceResultType)
BasicResult(int jdbcValuesArrayPosition, String resultVariable, JdbcMapping jdbcMapping, NavigablePath navigablePath)
BasicResult(int jdbcValuesArrayPosition, String resultVariable, JavaType<T> javaType)
BasicResult(int jdbcValuesArrayPosition, String resultVariable, JavaType<T> javaType, NavigablePath navigablePath)
BasicResult(int valuesArrayPosition, String resultVariable, JavaType<T> javaType, BasicValueConverter<T,?> valueConverter)
BasicResult(int valuesArrayPosition, String resultVariable, JavaType<T> javaType, BasicValueConverter<T,?> valueConverter, NavigablePath navigablePath)
BasicResult(int valuesArrayPosition, String resultVariable, JavaType<T> javaType, BasicValueConverter<T,?> valueConverter, NavigablePath navigablePath, boolean coerceResultType)
-
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
-
-
-
-
Constructor Detail
-
BasicResult
public BasicResult(int jdbcValuesArrayPosition, String resultVariable, JdbcMapping jdbcMapping)
-
BasicResult
public BasicResult(int jdbcValuesArrayPosition, String resultVariable, JdbcMapping jdbcMapping, boolean coerceResultType)
-
BasicResult
public BasicResult(int jdbcValuesArrayPosition, String resultVariable, JdbcMapping jdbcMapping, NavigablePath navigablePath)
-
BasicResult
public BasicResult(int jdbcValuesArrayPosition, String resultVariable, JavaType<T> javaType)
-
BasicResult
public BasicResult(int jdbcValuesArrayPosition, String resultVariable, JavaType<T> javaType, NavigablePath navigablePath)
-
BasicResult
public BasicResult(int valuesArrayPosition, String resultVariable, JavaType<T> javaType, BasicValueConverter<T,?> valueConverter)
-
BasicResult
public BasicResult(int valuesArrayPosition, String resultVariable, JavaType<T> javaType, BasicValueConverter<T,?> valueConverter, NavigablePath navigablePath)
-
BasicResult
public BasicResult(int valuesArrayPosition, String resultVariable, JavaType<T> javaType, BasicValueConverter<T,?> valueConverter, NavigablePath navigablePath, boolean coerceResultType)
-
-
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>
-
-