Interface ReactiveCollectionPersister
-
- All Superinterfaces:
org.hibernate.persister.collection.CollectionPersister
,org.hibernate.metamodel.mapping.FilterRestrictable
,org.hibernate.metamodel.mapping.Restrictable
,org.hibernate.metamodel.mapping.WhereRestrictable
- All Known Subinterfaces:
ReactiveAbstractCollectionPersister
- All Known Implementing Classes:
ReactiveBasicCollectionPersister
,ReactiveOneToManyPersister
public interface ReactiveCollectionPersister extends org.hibernate.persister.collection.CollectionPersister
A reactiveCollectionPersister
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
deleteRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
default void
initialize(java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
default void
insertRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveDeleteRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.deleteRows(PersistentCollection, Object, SharedSessionContractImplementor)
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveInitialize(java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.initialize(Object, SharedSessionContractImplementor)
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveInsertRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.insertRows(PersistentCollection, Object, SharedSessionContractImplementor)
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveRecreate(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.recreate(PersistentCollection, Object, SharedSessionContractImplementor)
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveRemove(java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.remove(Object, SharedSessionContractImplementor)
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveUpdateRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.updateRows(PersistentCollection, Object, SharedSessionContractImplementor)
default void
remove(java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
default void
updateRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
-
Methods inherited from interface org.hibernate.persister.collection.CollectionPersister
applyBaseManyToManyRestrictions, elementExists, getAttributeMapping, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionMetadata, getCollectionSemantics, getCollectionSpaces, getCollectionType, getElementByIndex, getElementClass, getElementColumnAliases, getElementType, getFactory, getGenerator, getIdentifierColumnAlias, getIdentifierGenerator, getIdentifierType, getIndexColumnAliases, getIndexType, getKeyColumnAliases, getKeyType, getManyToManyFilterFragment, getMappedByProperty, getNavigableRole, getOwnerEntityPersister, getRole, getSize, getSortingComparator, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, indexExists, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEntityGraph, isArray, isCascadeDeleteEnabled, isExtraLazy, isInverse, isLazy, isManyToMany, isMutable, isOneToMany, isPrimitiveArray, isVersioned, needsRemove, postInstantiate, processQueuedOps, recreate
-
-
-
-
Method Detail
-
reactiveRecreate
java.util.concurrent.CompletionStage<java.lang.Void> reactiveRecreate(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.recreate(PersistentCollection, Object, SharedSessionContractImplementor)
-
remove
default void remove(java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
- Specified by:
remove
in interfaceorg.hibernate.persister.collection.CollectionPersister
-
reactiveRemove
java.util.concurrent.CompletionStage<java.lang.Void> reactiveRemove(java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.remove(Object, SharedSessionContractImplementor)
-
deleteRows
default void deleteRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
- Specified by:
deleteRows
in interfaceorg.hibernate.persister.collection.CollectionPersister
-
reactiveDeleteRows
java.util.concurrent.CompletionStage<java.lang.Void> reactiveDeleteRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.deleteRows(PersistentCollection, Object, SharedSessionContractImplementor)
-
insertRows
default void insertRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
- Specified by:
insertRows
in interfaceorg.hibernate.persister.collection.CollectionPersister
-
reactiveInsertRows
java.util.concurrent.CompletionStage<java.lang.Void> reactiveInsertRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.insertRows(PersistentCollection, Object, SharedSessionContractImplementor)
-
updateRows
default void updateRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
- Specified by:
updateRows
in interfaceorg.hibernate.persister.collection.CollectionPersister
-
reactiveUpdateRows
java.util.concurrent.CompletionStage<java.lang.Void> reactiveUpdateRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.updateRows(PersistentCollection, Object, SharedSessionContractImplementor)
-
initialize
default void initialize(java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
- Specified by:
initialize
in interfaceorg.hibernate.persister.collection.CollectionPersister
- Throws:
org.hibernate.HibernateException
-
reactiveInitialize
java.util.concurrent.CompletionStage<java.lang.Void> reactiveInitialize(java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.initialize(Object, SharedSessionContractImplementor)
-
-