Class DynamicResultBuilderBasicConverted<O,R>
- java.lang.Object
-
- org.hibernate.query.results.dynamic.DynamicResultBuilderBasicConverted<O,R>
-
- All Implemented Interfaces:
NativeQuery.ResultNode
,NativeQuery.ReturnableResultNode
,DynamicResultBuilder
,DynamicResultBuilderBasic
,ResultBuilder
,ResultBuilderBasicValued
public class DynamicResultBuilderBasicConverted<O,R> extends Object implements DynamicResultBuilderBasic
A ResultBuilder for explicitly converted scalar results
-
-
Constructor Summary
Constructors Constructor Description DynamicResultBuilderBasicConverted(String columnAlias, Class<O> domainJavaType, Class<R> jdbcJavaType, AttributeConverter<O,R> converter, SessionFactoryImplementor sessionFactory)
DynamicResultBuilderBasicConverted(String columnAlias, Class<O> domainJavaType, Class<R> jdbcJavaType, Class<? extends AttributeConverter<O,R>> converterJavaType, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicResult<?>
buildResult(JdbcValuesMetadata jdbcResultsMetadata, int resultPosition, BiFunction<String,String,DynamicFetchBuilderLegacy> legacyFetchResolver, DomainResultCreationState domainResultCreationState)
DynamicResultBuilderBasicConverted
cacheKeyInstance()
boolean
equals(Object o)
Class<?>
getJavaType()
int
hashCode()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.results.ResultBuilder
visitFetchBuilders
-
-
-
-
Constructor Detail
-
DynamicResultBuilderBasicConverted
public DynamicResultBuilderBasicConverted(String columnAlias, Class<O> domainJavaType, Class<R> jdbcJavaType, AttributeConverter<O,R> converter, SessionFactoryImplementor sessionFactory)
-
DynamicResultBuilderBasicConverted
public DynamicResultBuilderBasicConverted(String columnAlias, Class<O> domainJavaType, Class<R> jdbcJavaType, Class<? extends AttributeConverter<O,R>> converterJavaType, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
getJavaType
public Class<?> getJavaType()
- Specified by:
getJavaType
in interfaceResultBuilder
-
cacheKeyInstance
public DynamicResultBuilderBasicConverted cacheKeyInstance()
- Specified by:
cacheKeyInstance
in interfaceDynamicResultBuilder
- Specified by:
cacheKeyInstance
in interfaceResultBuilder
-
buildResult
public BasicResult<?> buildResult(JdbcValuesMetadata jdbcResultsMetadata, int resultPosition, BiFunction<String,String,DynamicFetchBuilderLegacy> legacyFetchResolver, DomainResultCreationState domainResultCreationState)
- Specified by:
buildResult
in interfaceResultBuilder
- Specified by:
buildResult
in interfaceResultBuilderBasicValued
-
-