Class ReactiveCollectionLoaderNamedQuery

  • All Implemented Interfaces:
    org.hibernate.loader.ast.spi.CollectionLoader, org.hibernate.loader.ast.spi.Loader, ReactiveCollectionLoader

    public class ReactiveCollectionLoaderNamedQuery
    extends java.lang.Object
    implements ReactiveCollectionLoader
    See Also:
    CollectionLoaderNamedQuery
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.hibernate.metamodel.mapping.PluralAttributeMapping getLoadable()  
      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).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReactiveCollectionLoaderNamedQuery

        public ReactiveCollectionLoaderNamedQuery()
    • Method Detail

      • getLoadable

        public 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
        Specified by:
        getLoadable in interface ReactiveCollectionLoader
      • reactiveLoad

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