Interface ReactiveSelectQueryPlan<R>
- All Superinterfaces:
org.hibernate.query.spi.QueryPlan,org.hibernate.query.spi.SelectQueryPlan<R>
- All Known Subinterfaces:
ReactiveNativeSelectQueryPlan<T>
- All Known Implementing Classes:
AggregatedSelectReactiveQueryPlan,ConcreteSqmSelectReactiveQueryPlan,ReactiveNativeSelectQueryPlanImpl
public interface ReactiveSelectQueryPlan<R>
extends org.hibernate.query.spi.SelectQueryPlan<R>
- See Also:
-
SelectQueryPlan
-
Method Summary
Modifier and TypeMethodDescriptiondefault <T> TexecuteQuery(org.hibernate.query.spi.DomainQueryExecutionContext executionContext, org.hibernate.sql.results.spi.ResultsConsumer<T, R> resultsConsumer) performList(org.hibernate.query.spi.DomainQueryExecutionContext executionContext) default org.hibernate.query.spi.ScrollableResultsImplementor<R>performScroll(org.hibernate.ScrollMode scrollMode, org.hibernate.query.spi.DomainQueryExecutionContext executionContext) default <T> CompletionStage<T>reactiveExecuteQuery(org.hibernate.query.spi.DomainQueryExecutionContext executionContext, ReactiveResultsConsumer<T, R> resultsConsumer) Execute the queryreactivePerformList(org.hibernate.query.spi.DomainQueryExecutionContext executionContext) Perform (execute) the query returning a List
-
Method Details
-
performList
- Specified by:
performListin interfaceorg.hibernate.query.spi.SelectQueryPlan<R>
-
performScroll
default org.hibernate.query.spi.ScrollableResultsImplementor<R> performScroll(org.hibernate.ScrollMode scrollMode, org.hibernate.query.spi.DomainQueryExecutionContext executionContext) - Specified by:
performScrollin interfaceorg.hibernate.query.spi.SelectQueryPlan<R>
-
executeQuery
default <T> T executeQuery(org.hibernate.query.spi.DomainQueryExecutionContext executionContext, org.hibernate.sql.results.spi.ResultsConsumer<T, R> resultsConsumer) - Specified by:
executeQueryin interfaceorg.hibernate.query.spi.SelectQueryPlan<R>
-
reactiveExecuteQuery
default <T> CompletionStage<T> reactiveExecuteQuery(org.hibernate.query.spi.DomainQueryExecutionContext executionContext, ReactiveResultsConsumer<T, R> resultsConsumer) Execute the query -
reactivePerformList
CompletionStage<List<R>> reactivePerformList(org.hibernate.query.spi.DomainQueryExecutionContext executionContext) Perform (execute) the query returning a List
-