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 Type
    Method
    Description
    default <T> T
    executeQuery(org.hibernate.query.spi.DomainQueryExecutionContext executionContext, org.hibernate.sql.results.spi.ResultsConsumer<T,R> resultsConsumer)
     
    default List<R>
    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 query
    reactivePerformList(org.hibernate.query.spi.DomainQueryExecutionContext executionContext)
    Perform (execute) the query returning a List
  • Method Details

    • performList

      default List<R> performList(org.hibernate.query.spi.DomainQueryExecutionContext executionContext)
      Specified by:
      performList in interface org.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:
      performScroll in interface org.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:
      executeQuery in interface org.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