Interface ReactiveAbstractCollectionPersister
-
- All Superinterfaces:
org.hibernate.persister.walking.spi.CollectionDefinition
,org.hibernate.persister.collection.CollectionPersister
,ReactiveCollectionPersister
- All Known Implementing Classes:
ReactiveBasicCollectionPersister
,ReactiveOneToManyPersister
public interface ReactiveAbstractCollectionPersister extends ReactiveCollectionPersister
Reactive version ofAbstractCollectionPersister
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ReactiveAbstractCollectionPersister.ExpectationAdaptor
-
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 ofCollectionPersister.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 ofCollectionPersister.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 ofCollectionPersister.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 ofCollectionPersister.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 ofCollectionPersister.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
-
Methods inherited from interface org.hibernate.reactive.persister.collection.impl.ReactiveCollectionPersister
reactiveInitialize
-
-
-
-
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 ofCollectionPersister.recreate(PersistentCollection, Serializable, SharedSessionContractImplementor)
- Specified by:
recreateReactive
in interfaceReactiveCollectionPersister
- 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 ofCollectionPersister.remove(Serializable, SharedSessionContractImplementor)
- Specified by:
removeReactive
in interfaceReactiveCollectionPersister
- 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 ofCollectionPersister.deleteRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
- Specified by:
reactiveDeleteRows
in interfaceReactiveCollectionPersister
- 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 ofCollectionPersister.insertRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
- Specified by:
reactiveInsertRows
in interfaceReactiveCollectionPersister
- 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 ofCollectionPersister.updateRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
- Specified by:
reactiveUpdateRows
in interfaceReactiveCollectionPersister
- 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()
-
-