Class BasicResult<T>
java.lang.Object
org.hibernate.sql.results.graph.basic.BasicResult<T>
- All Implemented Interfaces:
BasicResultGraphNode<T>
,DomainResult<T>
,DomainResultGraphNode
DomainResult for a basic-value
-
Constructor Summary
ConstructorsConstructorDescriptionBasicResult
(int jdbcValuesArrayPosition, String resultVariable, JdbcMapping jdbcMapping) BasicResult
(int jdbcValuesArrayPosition, String resultVariable, JdbcMapping jdbcMapping, NavigablePath navigablePath, boolean coerceResultType, boolean unwrapRowProcessingState) BasicResult
(int valuesArrayPosition, String resultVariable, JavaType<T> javaType, BasicValueConverter<T, ?> valueConverter, NavigablePath navigablePath, boolean coerceResultType, boolean unwrapRowProcessingState) -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectValueIndexesToCache
(BitSet valueIndexes) Collect the JDBC value indexes used by this domain result that should be cached.createResultAssembler
(InitializerParent<?> parent, AssemblerCreationState creationState) Create an assembler (and any initializers) for this result.For testing purposes onlyThe NavigablePath for this node (if one!).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 Details
-
BasicResult
-
-
Method Details
-
getResultVariable
Description copied from interface:DomainResult
The result-variable (alias) associated with this result.- Specified by:
getResultVariable
in interfaceDomainResult<T>
-
getResultJavaType
- Specified by:
getResultJavaType
in interfaceDomainResultGraphNode
-
getAssembler
For testing purposes only -
createResultAssembler
public DomainResultAssembler<T> createResultAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Description copied from interface:DomainResult
Create an assembler (and any initializers) for this result.- Specified by:
createResultAssembler
in interfaceDomainResult<T>
-
collectValueIndexesToCache
Description copied from interface:DomainResultGraphNode
Collect the JDBC value indexes used by this domain result that should be cached.- Specified by:
collectValueIndexesToCache
in interfaceDomainResultGraphNode
-