Class ImplicitResultClassBuilder
java.lang.Object
org.hibernate.query.results.internal.implicit.ImplicitResultClassBuilder
- All Implemented Interfaces:
GraphNodeBuilder
,ResultBuilder
ResultBuilder for handling
NamedNativeQuery.resultClass()
when the
class does not refer to an entity-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDomainResult<?>
buildResult
(JdbcValuesMetadata jdbcResultsMetadata, int resultPosition, DomainResultCreationState domainResultCreationState) Build a resultClass<?>
The Java type of the value returned for a result built by this builder.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.query.results.ResultBuilder
visitFetchBuilders
-
Constructor Details
-
ImplicitResultClassBuilder
-
-
Method Details
-
buildResult
public DomainResult<?> buildResult(JdbcValuesMetadata jdbcResultsMetadata, int resultPosition, DomainResultCreationState domainResultCreationState) Description copied from interface:ResultBuilder
Build a result- Specified by:
buildResult
in interfaceResultBuilder
- Parameters:
jdbcResultsMetadata
- The JDBC values and metadataresultPosition
- The position in the domain results for the result to be builtdomainResultCreationState
- Access to useful stuff
-
getJavaType
Description copied from interface:ResultBuilder
The Java type of the value returned for a result built by this builder.- Specified by:
getJavaType
in interfaceResultBuilder
- See Also:
-
cacheKeyInstance
- Specified by:
cacheKeyInstance
in interfaceResultBuilder
-