Interface ReactiveCollectionLoader

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      org.hibernate.metamodel.mapping.PluralAttributeMapping getLoadable()  
      default org.hibernate.collection.spi.PersistentCollection<?> load​(java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)  
      java.util.concurrent.CompletionStage<org.hibernate.collection.spi.PersistentCollection<?>> reactiveLoad​(java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Load a collection by its key (not necessarily the same as its owner's PK).
    • Method Detail

      • getLoadable

        org.hibernate.metamodel.mapping.PluralAttributeMapping getLoadable()
        Specified by:
        getLoadable in interface org.hibernate.loader.ast.spi.CollectionLoader
        Specified by:
        getLoadable in interface org.hibernate.loader.ast.spi.Loader
      • load

        default org.hibernate.collection.spi.PersistentCollection<?> load​(java.lang.Object key,
                                                                          org.hibernate.engine.spi.SharedSessionContractImplementor session)
        Specified by:
        load in interface org.hibernate.loader.ast.spi.CollectionLoader
      • reactiveLoad

        java.util.concurrent.CompletionStage<org.hibernate.collection.spi.PersistentCollection<?>> reactiveLoad​(java.lang.Object key,
                                                                                                                org.hibernate.engine.spi.SharedSessionContractImplementor session)
        Load a collection by its key (not necessarily the same as its owner's PK).