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 reactive CollectionPersister
    • 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 of CollectionPersister.deleteRows(PersistentCollection, Object, SharedSessionContractImplementor)
      java.util.concurrent.CompletionStage<java.lang.Void> reactiveInitialize​(java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Reactive version of CollectionPersister.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 of CollectionPersister.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 of CollectionPersister.recreate(PersistentCollection, Object, SharedSessionContractImplementor)
      java.util.concurrent.CompletionStage<java.lang.Void> reactiveRemove​(java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Reactive version of CollectionPersister.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 of CollectionPersister.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, isBatchLoadable, isCascadeDeleteEnabled, isExtraLazy, isInverse, isLazy, isManyToMany, isMutable, isOneToMany, isPrimitiveArray, isSubselectLoadable, isVersioned, needsRemove, postInstantiate, processQueuedOps, recreate
      • Methods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable

        applyFilterRestrictions
      • Methods inherited from interface org.hibernate.metamodel.mapping.Restrictable

        applyBaseRestrictions
      • Methods inherited from interface org.hibernate.metamodel.mapping.WhereRestrictable

        applyWhereRestrictions, hasWhereRestrictions
    • 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 of CollectionPersister.recreate(PersistentCollection, Object, SharedSessionContractImplementor)
      • remove

        default void remove​(java.lang.Object id,
                            org.hibernate.engine.spi.SharedSessionContractImplementor session)
        Specified by:
        remove in interface org.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 of CollectionPersister.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 interface org.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 of CollectionPersister.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 interface org.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 of CollectionPersister.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 interface org.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 of CollectionPersister.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 interface org.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 of CollectionPersister.initialize(Object, SharedSessionContractImplementor)