Interface ReactiveAbstractCollectionPersister

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Log LOG  
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default boolean deleteByIndex()  
      default java.lang.Object[] deleteRowsParamValues​(java.lang.Object entry, int offset, java.io.Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session)  
      java.util.concurrent.CompletionStage<java.lang.Void> doReactiveUpdateRows​(java.io.Serializable id, org.hibernate.collection.spi.PersistentCollection collection, org.hibernate.engine.spi.SharedSessionContractImplementor session)  
      default java.util.List<java.lang.Object> entryList​(org.hibernate.collection.spi.PersistentCollection collection)  
      org.hibernate.engine.spi.ExecuteUpdateResultCheckStyle getDeleteCheckStyle()  
      org.hibernate.engine.spi.ExecuteUpdateResultCheckStyle getInsertCheckStyle()  
      default ReactiveConnection getReactiveConnection​(org.hibernate.engine.spi.SharedSessionContractImplementor session)  
      java.lang.String getSQLDeleteRowString()  
      java.lang.String getSQLDeleteString()  
      default org.hibernate.exception.spi.SQLExceptionConverter getSqlExceptionConverter()  
      java.lang.String getSQLInsertRowString()  
      java.lang.String getSQLUpdateRowString()  
      boolean hasIdentifier()  
      boolean indexContainsFormula()  
      default java.lang.Object[] insertRowsParamValues​(java.lang.Object entry, int index, org.hibernate.collection.spi.PersistentCollection collection, java.io.Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session)  
      boolean isRowDeleteEnabled()  
      boolean isRowInsertEnabled()  
      default boolean needsInsert​(org.hibernate.collection.spi.PersistentCollection collection, java.util.List<java.lang.Object> entries)  
      default boolean needsUpdate​(org.hibernate.collection.spi.PersistentCollection collection, java.util.List<java.lang.Object> entries)  
      default java.util.concurrent.CompletionStage<java.lang.Void> reactiveDeleteRows​(org.hibernate.collection.spi.PersistentCollection collection, java.io.Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Reactive version of CollectionPersister.deleteRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
      default java.util.concurrent.CompletionStage<java.lang.Void> reactiveInsertRows​(org.hibernate.collection.spi.PersistentCollection collection, java.io.Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Reactive version of CollectionPersister.insertRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
      default java.util.concurrent.CompletionStage<java.lang.Void> reactiveUpdateRows​(org.hibernate.collection.spi.PersistentCollection collection, java.io.Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Reactive version of CollectionPersister.updateRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
      default java.util.concurrent.CompletionStage<java.lang.Void> recreateReactive​(org.hibernate.collection.spi.PersistentCollection collection, java.io.Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Reactive version of CollectionPersister.recreate(PersistentCollection, Serializable, SharedSessionContractImplementor)
      default java.util.concurrent.CompletionStage<java.lang.Void> removeReactive​(java.io.Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Reactive version of CollectionPersister.remove(Serializable, SharedSessionContractImplementor)
      int writeElement​(java.sql.PreparedStatement st, java.lang.Object element, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session)  
      int writeElementToWhere​(java.sql.PreparedStatement st, java.lang.Object entry, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session)  
      int writeIdentifier​(java.sql.PreparedStatement st, java.lang.Object identifier, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session)  
      int writeIndex​(java.sql.PreparedStatement st, java.lang.Object index, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session)  
      int writeIndexToWhere​(java.sql.PreparedStatement st, java.lang.Object entry, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session)  
      int writeKey​(java.sql.PreparedStatement st, java.io.Serializable id, int offset, org.hibernate.engine.spi.SharedSessionContractImplementor session)  
      • Methods inherited from interface org.hibernate.persister.walking.spi.CollectionDefinition

        getCollectionPersister, getElementDefinition, getIndexDefinition
      • Methods inherited from interface org.hibernate.persister.collection.CollectionPersister

        deleteRows, elementExists, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionMetadata, getCollectionSpaces, getCollectionType, getElementByIndex, getElementClass, getElementColumnAliases, getElementType, getFactory, getIdentifierColumnAlias, getIdentifierGenerator, getIdentifierType, getIndexColumnAliases, getIndexType, getKeyColumnAliases, getKeyType, getManyToManyFilterFragment, getMappedByProperty, getNavigableRole, getOwnerEntityPersister, getRole, getSize, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, indexExists, initialize, insertRows, isAffectedByEnabledFilters, isArray, isCascadeDeleteEnabled, isExtraLazy, isInverse, isLazy, isManyToMany, isMutable, isOneToMany, isPrimitiveArray, isVersioned, postInstantiate, processQueuedOps, readElement, readIdentifier, readIndex, readKey, recreate, remove, updateRows
    • Field Detail

      • LOG

        static final Log LOG
    • Method Detail

      • getReactiveConnection

        default ReactiveConnection getReactiveConnection​(org.hibernate.engine.spi.SharedSessionContractImplementor session)
      • recreateReactive

        default java.util.concurrent.CompletionStage<java.lang.Void> recreateReactive​(org.hibernate.collection.spi.PersistentCollection collection,
                                                                                      java.io.Serializable id,
                                                                                      org.hibernate.engine.spi.SharedSessionContractImplementor session)
                                                                               throws org.hibernate.HibernateException
        Description copied from interface: ReactiveCollectionPersister
        Reactive version of CollectionPersister.recreate(PersistentCollection, Serializable, SharedSessionContractImplementor)
        Specified by:
        recreateReactive in interface ReactiveCollectionPersister
        Throws:
        org.hibernate.HibernateException
        See Also:
        AbstractCollectionPersister.recreate(PersistentCollection, Serializable, SharedSessionContractImplementor)
      • removeReactive

        default java.util.concurrent.CompletionStage<java.lang.Void> removeReactive​(java.io.Serializable id,
                                                                                    org.hibernate.engine.spi.SharedSessionContractImplementor session)
        Description copied from interface: ReactiveCollectionPersister
        Reactive version of CollectionPersister.remove(Serializable, SharedSessionContractImplementor)
        Specified by:
        removeReactive in interface ReactiveCollectionPersister
        See Also:
        AbstractCollectionPersister.remove(Serializable, SharedSessionContractImplementor)
      • reactiveDeleteRows

        default java.util.concurrent.CompletionStage<java.lang.Void> reactiveDeleteRows​(org.hibernate.collection.spi.PersistentCollection collection,
                                                                                        java.io.Serializable id,
                                                                                        org.hibernate.engine.spi.SharedSessionContractImplementor session)
        Description copied from interface: ReactiveCollectionPersister
        Reactive version of CollectionPersister.deleteRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
        Specified by:
        reactiveDeleteRows in interface ReactiveCollectionPersister
        See Also:
        AbstractCollectionPersister.deleteRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
      • reactiveInsertRows

        default java.util.concurrent.CompletionStage<java.lang.Void> reactiveInsertRows​(org.hibernate.collection.spi.PersistentCollection collection,
                                                                                        java.io.Serializable id,
                                                                                        org.hibernate.engine.spi.SharedSessionContractImplementor session)
        Description copied from interface: ReactiveCollectionPersister
        Reactive version of CollectionPersister.insertRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
        Specified by:
        reactiveInsertRows in interface ReactiveCollectionPersister
        See Also:
        AbstractCollectionPersister.insertRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
      • reactiveUpdateRows

        default java.util.concurrent.CompletionStage<java.lang.Void> reactiveUpdateRows​(org.hibernate.collection.spi.PersistentCollection collection,
                                                                                        java.io.Serializable id,
                                                                                        org.hibernate.engine.spi.SharedSessionContractImplementor session)
        Description copied from interface: ReactiveCollectionPersister
        Reactive version of CollectionPersister.updateRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
        Specified by:
        reactiveUpdateRows in interface ReactiveCollectionPersister
        See Also:
        AbstractCollectionPersister.updateRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
      • doReactiveUpdateRows

        java.util.concurrent.CompletionStage<java.lang.Void> doReactiveUpdateRows​(java.io.Serializable id,
                                                                                  org.hibernate.collection.spi.PersistentCollection collection,
                                                                                  org.hibernate.engine.spi.SharedSessionContractImplementor session)
        See Also:
        AbstractCollectionPersister.doUpdateRows(Serializable, PersistentCollection, SharedSessionContractImplementor)
      • insertRowsParamValues

        default java.lang.Object[] insertRowsParamValues​(java.lang.Object entry,
                                                         int index,
                                                         org.hibernate.collection.spi.PersistentCollection collection,
                                                         java.io.Serializable id,
                                                         org.hibernate.engine.spi.SharedSessionContractImplementor session)
      • deleteRowsParamValues

        default java.lang.Object[] deleteRowsParamValues​(java.lang.Object entry,
                                                         int offset,
                                                         java.io.Serializable id,
                                                         org.hibernate.engine.spi.SharedSessionContractImplementor session)
      • deleteByIndex

        default boolean deleteByIndex()
      • isRowDeleteEnabled

        boolean isRowDeleteEnabled()
      • isRowInsertEnabled

        boolean isRowInsertEnabled()
      • hasIdentifier

        boolean hasIdentifier()
      • indexContainsFormula

        boolean indexContainsFormula()
      • getInsertCheckStyle

        org.hibernate.engine.spi.ExecuteUpdateResultCheckStyle getInsertCheckStyle()
      • getDeleteCheckStyle

        org.hibernate.engine.spi.ExecuteUpdateResultCheckStyle getDeleteCheckStyle()
      • writeElement

        int writeElement​(java.sql.PreparedStatement st,
                         java.lang.Object element,
                         int loc,
                         org.hibernate.engine.spi.SharedSessionContractImplementor session)
                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • writeIndex

        int writeIndex​(java.sql.PreparedStatement st,
                       java.lang.Object index,
                       int loc,
                       org.hibernate.engine.spi.SharedSessionContractImplementor session)
                throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • writeIdentifier

        int writeIdentifier​(java.sql.PreparedStatement st,
                            java.lang.Object identifier,
                            int loc,
                            org.hibernate.engine.spi.SharedSessionContractImplementor session)
                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • writeKey

        int writeKey​(java.sql.PreparedStatement st,
                     java.io.Serializable id,
                     int offset,
                     org.hibernate.engine.spi.SharedSessionContractImplementor session)
              throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • writeElementToWhere

        int writeElementToWhere​(java.sql.PreparedStatement st,
                                java.lang.Object entry,
                                int loc,
                                org.hibernate.engine.spi.SharedSessionContractImplementor session)
                         throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • writeIndexToWhere

        int writeIndexToWhere​(java.sql.PreparedStatement st,
                              java.lang.Object entry,
                              int loc,
                              org.hibernate.engine.spi.SharedSessionContractImplementor session)
                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getSQLInsertRowString

        java.lang.String getSQLInsertRowString()
      • getSQLDeleteRowString

        java.lang.String getSQLDeleteRowString()
      • getSQLDeleteString

        java.lang.String getSQLDeleteString()
      • getSQLUpdateRowString

        java.lang.String getSQLUpdateRowString()
      • entryList

        default java.util.List<java.lang.Object> entryList​(org.hibernate.collection.spi.PersistentCollection collection)
      • needsUpdate

        default boolean needsUpdate​(org.hibernate.collection.spi.PersistentCollection collection,
                                    java.util.List<java.lang.Object> entries)
      • needsInsert

        default boolean needsInsert​(org.hibernate.collection.spi.PersistentCollection collection,
                                    java.util.List<java.lang.Object> entries)
      • getSqlExceptionConverter

        default org.hibernate.exception.spi.SQLExceptionConverter getSqlExceptionConverter()