Class ReactiveTableBasedDeleteHandler
- java.lang.Object
-
- org.hibernate.query.sqm.mutation.spi.AbstractMutationHandler
-
- org.hibernate.query.sqm.mutation.internal.temptable.TableBasedDeleteHandler
-
- org.hibernate.reactive.query.sqm.mutation.internal.temptable.ReactiveTableBasedDeleteHandler
-
- All Implemented Interfaces:
org.hibernate.query.sqm.mutation.internal.DeleteHandler
,org.hibernate.query.sqm.mutation.internal.Handler
,ReactiveHandler
,ReactiveAbstractMutationHandler
public class ReactiveTableBasedDeleteHandler extends org.hibernate.query.sqm.mutation.internal.temptable.TableBasedDeleteHandler implements ReactiveAbstractMutationHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ReactiveTableBasedDeleteHandler.ReactiveExecutionDelegate
-
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
-
Methods inherited from interface org.hibernate.reactive.query.sqm.mutation.spi.ReactiveAbstractMutationHandler
getEntityDescriptor, getSessionFactory, getSqmDeleteOrUpdateStatement
-
-
-
-
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 interfaceReactiveHandler
- 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 classorg.hibernate.query.sqm.mutation.internal.temptable.TableBasedDeleteHandler
-
-