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

    Modifier and Type
    Method
    Description
    default void
    deleteRows(org.hibernate.collection.spi.PersistentCollection<?> collection, Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    default void
    initialize(Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    default void
    insertRows(org.hibernate.collection.spi.PersistentCollection<?> collection, Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    reactiveDeleteRows(org.hibernate.collection.spi.PersistentCollection<?> collection, Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Reactive version of CollectionPersister.deleteRows(PersistentCollection, Object, SharedSessionContractImplementor)
    reactiveInitialize(Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Reactive version of CollectionPersister.initialize(Object, SharedSessionContractImplementor)
    reactiveInsertRows(org.hibernate.collection.spi.PersistentCollection<?> collection, Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Reactive version of CollectionPersister.insertRows(PersistentCollection, Object, SharedSessionContractImplementor)
    reactiveRecreate(org.hibernate.collection.spi.PersistentCollection<?> collection, Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Reactive version of CollectionPersister.recreate(PersistentCollection, Object, SharedSessionContractImplementor)
    reactiveRemove(Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Reactive version of CollectionPersister.remove(Object, SharedSessionContractImplementor)
    reactiveUpdateRows(org.hibernate.collection.spi.PersistentCollection<?> collection, Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
    Reactive version of CollectionPersister.updateRows(PersistentCollection, Object, SharedSessionContractImplementor)
    default void
    remove(Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     
    default void
    updateRows(org.hibernate.collection.spi.PersistentCollection<?> collection, Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     

    Methods inherited from interface org.hibernate.persister.collection.CollectionPersister

    applyBaseManyToManyRestrictions, elementExists, getAttributeMapping, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionPropertyColumnAliases, getCollectionSemantics, getCollectionSpaces, getCollectionType, getElementByIndex, getElementClass, getElementColumnAliases, getElementPersister, getElementType, getFactory, getGenerator, getIdentifierColumnAlias, getIdentifierColumnName, getIdentifierGenerator, getIdentifierType, getIndexColumnAliases, getIndexType, getKeyColumnAliases, getKeyType, getManyToManyFilterFragment, getMappedByProperty, getNavigableRole, getOwnerEntityPersister, getRole, getSize, getSortingComparator, getTableName, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, indexExists, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEntityGraph, isArray, isBatchLoadable, isCascadeDeleteEnabled, isExtraLazy, isInverse, isLazy, isManyToMany, isMutable, isOneToMany, isPrimitiveArray, isSubselectLoadable, isVersioned, needsRemove, postInstantiate, processQueuedOps, recreate, selectFragment, useShallowQueryCacheLayout

    Methods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable

    applyFilterRestrictions, applyFilterRestrictions

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

    applyBaseRestrictions, applyBaseRestrictions

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

    applyWhereRestrictions, hasWhereRestrictions
  • Method Details

    • reactiveRecreate

      CompletionStage<Void> reactiveRecreate(org.hibernate.collection.spi.PersistentCollection<?> collection, Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Reactive version of CollectionPersister.recreate(PersistentCollection, Object, SharedSessionContractImplementor)
    • remove

      default void remove(Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      remove in interface org.hibernate.persister.collection.CollectionPersister
    • reactiveRemove

      CompletionStage<Void> reactiveRemove(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, Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      deleteRows in interface org.hibernate.persister.collection.CollectionPersister
    • reactiveDeleteRows

      CompletionStage<Void> reactiveDeleteRows(org.hibernate.collection.spi.PersistentCollection<?> collection, 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, Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      insertRows in interface org.hibernate.persister.collection.CollectionPersister
    • reactiveInsertRows

      CompletionStage<Void> reactiveInsertRows(org.hibernate.collection.spi.PersistentCollection<?> collection, 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, Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Specified by:
      updateRows in interface org.hibernate.persister.collection.CollectionPersister
    • reactiveUpdateRows

      CompletionStage<Void> reactiveUpdateRows(org.hibernate.collection.spi.PersistentCollection<?> collection, Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Reactive version of CollectionPersister.updateRows(PersistentCollection, Object, SharedSessionContractImplementor)
    • initialize

      default void initialize(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

      CompletionStage<Void> reactiveInitialize(Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Reactive version of CollectionPersister.initialize(Object, SharedSessionContractImplementor)