Class ReactivePersistentTableInsertStrategy
- java.lang.Object
-
- org.hibernate.query.sqm.mutation.internal.temptable.PersistentTableStrategy
-
- org.hibernate.query.sqm.mutation.internal.temptable.PersistentTableInsertStrategy
-
- org.hibernate.reactive.query.sqm.mutation.internal.temptable.ReactivePersistentTableInsertStrategy
-
- All Implemented Interfaces:
org.hibernate.query.sqm.mutation.spi.SqmMultiTableInsertStrategy
,ReactivePersistentTableStrategy
,ReactiveSqmMultiTableInsertStrategy
public class ReactivePersistentTableInsertStrategy extends org.hibernate.query.sqm.mutation.internal.temptable.PersistentTableInsertStrategy implements ReactivePersistentTableStrategy, ReactiveSqmMultiTableInsertStrategy
-
-
Field Summary
-
Fields inherited from class org.hibernate.query.sqm.mutation.internal.temptable.PersistentTableStrategy
CATALOG, CREATE_ID_TABLES, DROP_ID_TABLES, SCHEMA, SHORT_NAME
-
Fields inherited from interface org.hibernate.reactive.query.sqm.mutation.internal.temptable.ReactivePersistentTableStrategy
LOG
-
Fields inherited from interface org.hibernate.reactive.query.sqm.mutation.spi.ReactiveSqmMultiTableInsertStrategy
LOG
-
-
Constructor Summary
Constructors Constructor Description ReactivePersistentTableInsertStrategy(org.hibernate.query.sqm.mutation.internal.temptable.PersistentTableInsertStrategy strategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletionStage<java.lang.Void>
getCreateTableActionStage()
java.util.concurrent.CompletionStage<java.lang.Void>
getDropTableActionStage()
boolean
isDropIdTables()
boolean
isPrepared()
void
prepare(org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess mappingModelCreationProcess, org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess connectionAccess)
java.util.concurrent.CompletionStage<java.lang.Integer>
reactiveExecuteInsert(org.hibernate.query.sqm.tree.insert.SqmInsertStatement<?> sqmInsertStatement, org.hibernate.query.sqm.internal.DomainParameterXref domainParameterXref, org.hibernate.query.spi.DomainQueryExecutionContext context)
void
release(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess connectionAccess)
void
setDropIdTables(boolean dropIdTables)
void
setPrepared(boolean prepared)
-
Methods inherited from class org.hibernate.query.sqm.mutation.internal.temptable.PersistentTableInsertStrategy
executeInsert
-
Methods inherited from class org.hibernate.query.sqm.mutation.internal.temptable.PersistentTableStrategy
getSessionFactory, getTemporaryTable
-
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.internal.temptable.ReactivePersistentTableStrategy
getSessionFactory, getTemporaryTable, prepare, release
-
Methods inherited from interface org.hibernate.reactive.query.sqm.mutation.spi.ReactiveSqmMultiTableInsertStrategy
executeInsert
-
-
-
-
Method Detail
-
prepare
public void prepare(org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess mappingModelCreationProcess, org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess connectionAccess)
- Specified by:
prepare
in interfaceorg.hibernate.query.sqm.mutation.spi.SqmMultiTableInsertStrategy
- Overrides:
prepare
in classorg.hibernate.query.sqm.mutation.internal.temptable.PersistentTableStrategy
-
release
public void release(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess connectionAccess)
- Specified by:
release
in interfaceorg.hibernate.query.sqm.mutation.spi.SqmMultiTableInsertStrategy
- Overrides:
release
in classorg.hibernate.query.sqm.mutation.internal.temptable.PersistentTableStrategy
-
reactiveExecuteInsert
public java.util.concurrent.CompletionStage<java.lang.Integer> reactiveExecuteInsert(org.hibernate.query.sqm.tree.insert.SqmInsertStatement<?> sqmInsertStatement, org.hibernate.query.sqm.internal.DomainParameterXref domainParameterXref, org.hibernate.query.spi.DomainQueryExecutionContext context)
- Specified by:
reactiveExecuteInsert
in interfaceReactiveSqmMultiTableInsertStrategy
-
isPrepared
public boolean isPrepared()
- Specified by:
isPrepared
in interfaceReactivePersistentTableStrategy
-
setPrepared
public void setPrepared(boolean prepared)
- Specified by:
setPrepared
in interfaceReactivePersistentTableStrategy
-
isDropIdTables
public boolean isDropIdTables()
- Specified by:
isDropIdTables
in interfaceReactivePersistentTableStrategy
-
setDropIdTables
public void setDropIdTables(boolean dropIdTables)
- Specified by:
setDropIdTables
in interfaceReactivePersistentTableStrategy
-
getDropTableActionStage
public java.util.concurrent.CompletionStage<java.lang.Void> getDropTableActionStage()
- Specified by:
getDropTableActionStage
in interfaceReactivePersistentTableStrategy
-
getCreateTableActionStage
public java.util.concurrent.CompletionStage<java.lang.Void> getCreateTableActionStage()
- Specified by:
getCreateTableActionStage
in interfaceReactivePersistentTableStrategy
-
-