Class ReactiveResultSetMapping
- java.lang.Object
-
- org.hibernate.reactive.sql.results.ReactiveResultSetMapping
-
- All Implemented Interfaces:
ResultSetMapping
,ReactiveValuesMappingProducer
,JdbcValuesMappingProducer
public class ReactiveResultSetMapping extends Object implements ResultSetMapping, ReactiveValuesMappingProducer
- See Also:
ResultSetMappingImpl
-
-
Constructor Summary
Constructors Constructor Description ReactiveResultSetMapping(ResultSetMapping resultSetMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAffectedTableNames(Set<String> affectedTableNames, SessionFactoryImplementor sessionFactory)
void
addLegacyFetchBuilder(DynamicFetchBuilderLegacy fetchBuilder)
void
addResultBuilder(ResultBuilder resultBuilder)
String
getMappingIdentifier()
int
getNumberOfResultBuilders()
List<ResultBuilder>
getResultBuilders()
boolean
isDynamic()
CompletionStage<JdbcValuesMapping>
reactiveResolve(JdbcValuesMetadata jdbcResultsMetadata, LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory)
JdbcValuesMapping
resolve(JdbcValuesMetadata jdbcResultsMetadata, LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory)
NamedResultSetMappingMemento
toMemento(String name)
void
visitLegacyFetchBuilders(Consumer<DynamicFetchBuilderLegacy> resultBuilderConsumer)
void
visitResultBuilders(BiConsumer<Integer,ResultBuilder> resultBuilderConsumer)
-
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.jdbc.spi.JdbcValuesMappingProducer
cacheKeyInstance
-
-
-
-
Constructor Detail
-
ReactiveResultSetMapping
public ReactiveResultSetMapping(ResultSetMapping resultSetMapping)
-
-
Method Detail
-
resolve
public JdbcValuesMapping resolve(JdbcValuesMetadata jdbcResultsMetadata, LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory)
- Specified by:
resolve
in interfaceJdbcValuesMappingProducer
-
addAffectedTableNames
public void addAffectedTableNames(Set<String> affectedTableNames, SessionFactoryImplementor sessionFactory)
- Specified by:
addAffectedTableNames
in interfaceJdbcValuesMappingProducer
-
reactiveResolve
public CompletionStage<JdbcValuesMapping> reactiveResolve(JdbcValuesMetadata jdbcResultsMetadata, LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory)
- Specified by:
reactiveResolve
in interfaceReactiveValuesMappingProducer
-
getMappingIdentifier
public String getMappingIdentifier()
- Specified by:
getMappingIdentifier
in interfaceResultSetMapping
-
isDynamic
public boolean isDynamic()
- Specified by:
isDynamic
in interfaceResultSetMapping
-
getNumberOfResultBuilders
public int getNumberOfResultBuilders()
- Specified by:
getNumberOfResultBuilders
in interfaceResultSetMapping
-
getResultBuilders
public List<ResultBuilder> getResultBuilders()
- Specified by:
getResultBuilders
in interfaceResultSetMapping
-
visitResultBuilders
public void visitResultBuilders(BiConsumer<Integer,ResultBuilder> resultBuilderConsumer)
- Specified by:
visitResultBuilders
in interfaceResultSetMapping
-
visitLegacyFetchBuilders
public void visitLegacyFetchBuilders(Consumer<DynamicFetchBuilderLegacy> resultBuilderConsumer)
- Specified by:
visitLegacyFetchBuilders
in interfaceResultSetMapping
-
addResultBuilder
public void addResultBuilder(ResultBuilder resultBuilder)
- Specified by:
addResultBuilder
in interfaceResultSetMapping
-
addLegacyFetchBuilder
public void addLegacyFetchBuilder(DynamicFetchBuilderLegacy fetchBuilder)
- Specified by:
addLegacyFetchBuilder
in interfaceResultSetMapping
-
toMemento
public NamedResultSetMappingMemento toMemento(String name)
- Specified by:
toMemento
in interfaceResultSetMapping
-
-