Class ReactiveTableBasedDeleteHandler

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ReactiveTableBasedDeleteHandler.ReactiveExecutionDelegate  
      • Nested classes/interfaces inherited from class org.hibernate.query.sqm.mutation.internal.temptable.TableBasedDeleteHandler

        org.hibernate.query.sqm.mutation.internal.temptable.TableBasedDeleteHandler.ExecutionDelegate
    • Constructor Summary

      Constructors 
      Constructor Description
      ReactiveTableBasedDeleteHandler​(org.hibernate.query.sqm.tree.delete.SqmDeleteStatement<?> sqmDeleteStatement, org.hibernate.query.sqm.internal.DomainParameterXref domainParameterXref, org.hibernate.dialect.temptable.TemporaryTable idTable, org.hibernate.query.sqm.mutation.internal.temptable.AfterUseAction afterUseAction, java.util.function.Function<org.hibernate.engine.spi.SharedSessionContractImplementor,​java.lang.String> sessionUidAccess, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletionStage<java.lang.Integer> reactiveExecute​(org.hibernate.query.spi.DomainQueryExecutionContext executionContext)
      Execute the multi-table update or delete indicated by the SQM AST passed in when this Handler was created.
      protected ReactiveTableBasedDeleteHandler.ReactiveExecutionDelegate resolveDelegate​(org.hibernate.query.spi.DomainQueryExecutionContext executionContext)  
      • Methods inherited from class org.hibernate.query.sqm.mutation.internal.temptable.TableBasedDeleteHandler

        execute, getAfterUseAction, getDomainParameterXref, getIdTable, getSessionUidAccess, getSqmDeleteOrUpdateStatement
      • Methods inherited from class org.hibernate.query.sqm.mutation.spi.AbstractMutationHandler

        getEntityDescriptor, getSessionFactory
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReactiveTableBasedDeleteHandler

        public ReactiveTableBasedDeleteHandler​(org.hibernate.query.sqm.tree.delete.SqmDeleteStatement<?> sqmDeleteStatement,
                                               org.hibernate.query.sqm.internal.DomainParameterXref domainParameterXref,
                                               org.hibernate.dialect.temptable.TemporaryTable idTable,
                                               org.hibernate.query.sqm.mutation.internal.temptable.AfterUseAction afterUseAction,
                                               java.util.function.Function<org.hibernate.engine.spi.SharedSessionContractImplementor,​java.lang.String> sessionUidAccess,
                                               org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
    • Method Detail

      • reactiveExecute

        public java.util.concurrent.CompletionStage<java.lang.Integer> reactiveExecute​(org.hibernate.query.spi.DomainQueryExecutionContext executionContext)
        Description copied from interface: ReactiveHandler
        Execute the multi-table update or delete indicated by the SQM AST passed in when this Handler was created.
        Specified by:
        reactiveExecute in interface ReactiveHandler
        Parameters:
        executionContext - Contextual information needed for execution
        Returns:
        The "number of rows affected" count
      • resolveDelegate

        protected ReactiveTableBasedDeleteHandler.ReactiveExecutionDelegate resolveDelegate​(org.hibernate.query.spi.DomainQueryExecutionContext executionContext)
        Overrides:
        resolveDelegate in class org.hibernate.query.sqm.mutation.internal.temptable.TableBasedDeleteHandler