public interface ReactiveAbstractCollectionPersister extends ReactiveCollectionPersister
AbstractCollectionPersister
Modifier and Type | Interface and Description |
---|---|
static class |
ReactiveAbstractCollectionPersister.ExpectationAdaptor |
Modifier and Type | Method and 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) |
reactiveInitialize
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
static final Log LOG
default ReactiveConnection getReactiveConnection(org.hibernate.engine.spi.SharedSessionContractImplementor session)
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
ReactiveCollectionPersister
CollectionPersister.recreate(PersistentCollection, Serializable, SharedSessionContractImplementor)
recreateReactive
in interface ReactiveCollectionPersister
org.hibernate.HibernateException
AbstractCollectionPersister.recreate(PersistentCollection, Serializable, SharedSessionContractImplementor)
default java.util.concurrent.CompletionStage<java.lang.Void> removeReactive(java.io.Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
ReactiveCollectionPersister
CollectionPersister.remove(Serializable, SharedSessionContractImplementor)
removeReactive
in interface ReactiveCollectionPersister
AbstractCollectionPersister.remove(Serializable, SharedSessionContractImplementor)
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)
ReactiveCollectionPersister
CollectionPersister.deleteRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
reactiveDeleteRows
in interface ReactiveCollectionPersister
AbstractCollectionPersister.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)
ReactiveCollectionPersister
CollectionPersister.insertRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
reactiveInsertRows
in interface ReactiveCollectionPersister
AbstractCollectionPersister.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)
ReactiveCollectionPersister
CollectionPersister.updateRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
reactiveUpdateRows
in interface ReactiveCollectionPersister
AbstractCollectionPersister.updateRows(PersistentCollection, Serializable, SharedSessionContractImplementor)
java.util.concurrent.CompletionStage<java.lang.Void> doReactiveUpdateRows(java.io.Serializable id, org.hibernate.collection.spi.PersistentCollection collection, org.hibernate.engine.spi.SharedSessionContractImplementor session)
AbstractCollectionPersister.doUpdateRows(Serializable, PersistentCollection, SharedSessionContractImplementor)
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)
default java.lang.Object[] deleteRowsParamValues(java.lang.Object entry, int offset, java.io.Serializable id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
default boolean deleteByIndex()
boolean isRowDeleteEnabled()
boolean isRowInsertEnabled()
boolean hasIdentifier()
boolean indexContainsFormula()
org.hibernate.engine.spi.ExecuteUpdateResultCheckStyle getInsertCheckStyle()
org.hibernate.engine.spi.ExecuteUpdateResultCheckStyle getDeleteCheckStyle()
int writeElement(java.sql.PreparedStatement st, java.lang.Object element, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws java.sql.SQLException
java.sql.SQLException
int writeIndex(java.sql.PreparedStatement st, java.lang.Object index, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws java.sql.SQLException
java.sql.SQLException
int writeIdentifier(java.sql.PreparedStatement st, java.lang.Object identifier, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws java.sql.SQLException
java.sql.SQLException
int writeKey(java.sql.PreparedStatement st, java.io.Serializable id, int offset, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws java.sql.SQLException
java.sql.SQLException
int writeElementToWhere(java.sql.PreparedStatement st, java.lang.Object entry, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws java.sql.SQLException
java.sql.SQLException
int writeIndexToWhere(java.sql.PreparedStatement st, java.lang.Object entry, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws java.sql.SQLException
java.sql.SQLException
java.lang.String getSQLInsertRowString()
java.lang.String getSQLDeleteRowString()
java.lang.String getSQLDeleteString()
java.lang.String getSQLUpdateRowString()
default java.util.List<java.lang.Object> entryList(org.hibernate.collection.spi.PersistentCollection collection)
default boolean needsUpdate(org.hibernate.collection.spi.PersistentCollection collection, java.util.List<java.lang.Object> entries)
default boolean needsInsert(org.hibernate.collection.spi.PersistentCollection collection, java.util.List<java.lang.Object> entries)
default org.hibernate.exception.spi.SQLExceptionConverter getSqlExceptionConverter()