Class DynamicResultBuilderBasicStandard
- java.lang.Object
-
- org.hibernate.query.results.dynamic.DynamicResultBuilderBasicStandard
-
- All Implemented Interfaces:
NativeQuery.ResultNode
,NativeQuery.ReturnableResultNode
,DynamicResultBuilder
,DynamicResultBuilderBasic
,ResultBuilder
,ResultBuilderBasicValued
public class DynamicResultBuilderBasicStandard extends Object implements DynamicResultBuilderBasic
Standard DynamicResultBuilder for basic values.- See Also:
NativeQuery.addScalar(java.lang.String)
-
-
Constructor Summary
Constructors Constructor Description DynamicResultBuilderBasicStandard(int columnPosition)
DynamicResultBuilderBasicStandard(int columnPosition, BasicType<?> explicitType)
DynamicResultBuilderBasicStandard(String columnName, String resultAlias)
DynamicResultBuilderBasicStandard(String columnName, String resultAlias, BasicType<?> explicitType)
DynamicResultBuilderBasicStandard(String columnName, String resultAlias, JavaType<?> explicitJavaType)
-
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)
DynamicResultBuilderBasicStandard
cacheKeyInstance()
boolean
equals(Object o)
String
getColumnName()
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
-
DynamicResultBuilderBasicStandard
public DynamicResultBuilderBasicStandard(String columnName, String resultAlias)
-
DynamicResultBuilderBasicStandard
public DynamicResultBuilderBasicStandard(int columnPosition)
-
DynamicResultBuilderBasicStandard
public DynamicResultBuilderBasicStandard(String columnName, String resultAlias, JavaType<?> explicitJavaType)
-
DynamicResultBuilderBasicStandard
public DynamicResultBuilderBasicStandard(String columnName, String resultAlias, BasicType<?> explicitType)
-
DynamicResultBuilderBasicStandard
public DynamicResultBuilderBasicStandard(int columnPosition, BasicType<?> explicitType)
-
-
Method Detail
-
getJavaType
public Class<?> getJavaType()
- Specified by:
getJavaType
in interfaceResultBuilder
-
getColumnName
public String getColumnName()
-
cacheKeyInstance
public DynamicResultBuilderBasicStandard 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
-
-