Class ReactiveCteInsertHandler
- java.lang.Object
-
- org.hibernate.query.sqm.mutation.internal.cte.CteInsertHandler
-
- org.hibernate.reactive.query.sqm.mutation.internal.cte.ReactiveCteInsertHandler
-
- All Implemented Interfaces:
org.hibernate.query.sqm.mutation.internal.Handler
,org.hibernate.query.sqm.mutation.internal.InsertHandler
,ReactiveHandler
public class ReactiveCteInsertHandler extends org.hibernate.query.sqm.mutation.internal.cte.CteInsertHandler implements ReactiveHandler
-
-
Constructor Summary
Constructors Constructor Description ReactiveCteInsertHandler(org.hibernate.sql.ast.tree.cte.CteTable cteTable, org.hibernate.query.sqm.tree.insert.SqmInsertStatement<?> sqmStatement, org.hibernate.query.sqm.internal.DomainParameterXref domainParameterXref, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
execute(org.hibernate.query.spi.DomainQueryExecutionContext executionContext)
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.
-
-
-
Constructor Detail
-
ReactiveCteInsertHandler
public ReactiveCteInsertHandler(org.hibernate.sql.ast.tree.cte.CteTable cteTable, org.hibernate.query.sqm.tree.insert.SqmInsertStatement<?> sqmStatement, org.hibernate.query.sqm.internal.DomainParameterXref domainParameterXref, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
execute
public int execute(org.hibernate.query.spi.DomainQueryExecutionContext executionContext)
- Specified by:
execute
in interfaceorg.hibernate.query.sqm.mutation.internal.Handler
- Overrides:
execute
in classorg.hibernate.query.sqm.mutation.internal.cte.CteInsertHandler
-
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
-
-