Class ReactiveOneToManyPersister
- java.lang.Object
-
- org.hibernate.persister.collection.AbstractCollectionPersister
-
- org.hibernate.persister.collection.OneToManyPersister
-
- org.hibernate.reactive.persister.collection.impl.ReactiveOneToManyPersister
-
- All Implemented Interfaces:
org.hibernate.engine.profile.internal.FetchProfileAffectee
,org.hibernate.metadata.CollectionMetadata
,org.hibernate.metamodel.mapping.FilterRestrictable
,org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl.Aware
,org.hibernate.metamodel.mapping.Restrictable
,org.hibernate.metamodel.mapping.WhereRestrictable
,org.hibernate.persister.collection.CollectionPersister
,org.hibernate.persister.collection.DeprecatedCollectionStuff
,org.hibernate.persister.collection.mutation.CollectionMutationTarget
,org.hibernate.persister.collection.QueryableCollection
,org.hibernate.persister.collection.SQLLoadableCollection
,org.hibernate.persister.entity.Joinable
,org.hibernate.persister.entity.PropertyMapping
,ReactiveAbstractCollectionPersister
,ReactiveCollectionPersister
,org.hibernate.sql.model.MutationTarget<org.hibernate.persister.collection.mutation.CollectionTableMapping>
public class ReactiveOneToManyPersister extends org.hibernate.persister.collection.OneToManyPersister implements ReactiveAbstractCollectionPersister
A reactiveOneToManyPersister
-
-
Field Summary
-
Fields inherited from class org.hibernate.persister.collection.AbstractCollectionPersister
batchSize, elementColumnAliases, elementColumnIsGettable, elementColumnIsSettable, elementColumnNames, elementColumnReaders, elementColumnReaderTemplates, elementColumnWriters, elementFormulas, elementFormulaTemplates, elementIsPureFormula, elementType, hasWhere, identifierColumnName, indexColumnAliases, indexColumnIsGettable, indexColumnIsSettable, indexColumnNames, indexContainsFormula, indexFormulas, indexFormulaTemplates, isInverse, keyColumnAliases, keyColumnNames, qualifiedTableName, sqlExceptionHelper, sqlWhereString
-
-
Constructor Summary
Constructors Constructor Description ReactiveOneToManyPersister(org.hibernate.mapping.Collection collectionBinding, org.hibernate.cache.spi.access.CollectionDataAccess cacheAccessStrategy, org.hibernate.metamodel.spi.RuntimeModelCreationContext creationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.loader.ast.spi.CollectionLoader
createNamedQueryCollectionLoader(org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.query.named.NamedQueryMemento namedQueryMemento)
See org.hibernate.persister.collection.AbstractCollectionPersister#createNamedQueryCollectionLoaderorg.hibernate.loader.ast.spi.CollectionLoader
createSingleKeyCollectionLoader(org.hibernate.engine.spi.LoadQueryInfluencers loadQueryInfluencers)
See org.hibernate.persister.collection.AbstractCollectionPersister#createSingleKeyCollectionLoaderprotected org.hibernate.loader.ast.spi.CollectionLoader
createSubSelectLoader(org.hibernate.engine.spi.SubselectFetch subselect, org.hibernate.engine.spi.SharedSessionContractImplementor session)
ReactiveDeleteRowsCoordinator
getDeleteRowsCoordinator()
ReactiveInsertRowsCoordinator
getInsertRowsCoordinator()
ReactiveRemoveCoordinator
getRemoveCoordinator()
ReactiveUpdateRowsCoordinator
getUpdateRowsCoordinator()
boolean
isRowDeleteEnabled()
boolean
isRowInsertEnabled()
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveDeleteRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.deleteRows(PersistentCollection, Object, SharedSessionContractImplementor)
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveInitialize(java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.initialize(Object, SharedSessionContractImplementor)
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveInsertRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.insertRows(PersistentCollection, Object, SharedSessionContractImplementor)
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveRecreate(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.recreate(PersistentCollection, Object, SharedSessionContractImplementor)
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveRemove(java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.remove(Object, SharedSessionContractImplementor)
java.util.concurrent.CompletionStage<java.lang.Void>
reactiveUpdateRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version ofCollectionPersister.updateRows(PersistentCollection, Object, SharedSessionContractImplementor)
-
Methods inherited from class org.hibernate.persister.collection.OneToManyPersister
applyWhereFragments, consumesCollectionAlias, consumesEntityAlias, deleteRows, doProcessQueuedOps, generateDeleteAllAst, generateDeleteRowAst, getFilterAliasGenerator, getFilterAliasGenerator, getRowMutationOperations, getTableName, insertRows, isCascadeDeleteEnabled, isManyToMany, isOneToMany, recreate, updateRows
-
Methods inherited from class org.hibernate.persister.collection.AbstractCollectionPersister
applyBaseManyToManyRestrictions, applyBaseRestrictions, applyFilterRestrictions, applyWhereRestrictions, buildDeleteAllOperation, decrementIndexByBase, determineLoaderToUse, determineTableName, elementExists, forEachMutableTable, forEachMutableTableReverse, generateDetectRowByElementString, generateDetectRowByIndexString, generateSelectSizeString, getAttributeMapping, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionLoader, getCollectionMetadata, getCollectionPropertyColumnAliases, getCollectionSemantics, getCollectionSpaces, getCollectionTableMapping, getCollectionType, getDialect, getElementByIndex, getElementClass, getElementColumnAliases, getElementColumnNames, getElementColumnNames, getElementPersister, getElementPersisterInternal, getElementType, getFactory, getFetchMode, getGenerator, getIdentifierColumnAlias, getIdentifierColumnName, getIdentifierGenerator, getIdentifierTableName, getIdentifierType, getIndexColumnAliases, getIndexColumnNames, getIndexColumnNames, getIndexFormulas, getIndexType, getKeyColumnAliases, getKeyColumnNames, getKeyType, getManyToManyFilterFragment, getManyToManyOrderByString, getMappedByProperty, getName, getNavigableRole, getOwnerEntityName, getOwnerEntityPersister, getSize, getSortingComparator, getSQLExceptionHelper, getSQLOrderByString, getTargetPart, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, hasPhysicalIndexColumn, hasWhere, hasWhereRestrictions, incrementIndexByBase, indexExists, initCollectionPropertyMap, initialize, injectAttributeMapping, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEntityGraph, isArray, isBatchLoadable, isCollection, isExtraLazy, isInverse, isLazy, isMutable, isPrimitiveArray, isSubselectLoadable, isVersioned, logStaticSQL, needsRemove, postInstantiate, processQueuedOps, registerAffectingFetchProfile, remove, selectFragment, toColumns, toString, toType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.persister.collection.mutation.CollectionMutationTarget
getIdentifierTableMapping
-
Methods inherited from interface org.hibernate.persister.collection.CollectionPersister
applyBaseManyToManyRestrictions, elementExists, getAttributeMapping, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionMetadata, getCollectionSemantics, getCollectionSpaces, getCollectionType, getElementByIndex, getElementClass, getElementColumnAliases, getElementType, getFactory, getGenerator, getIdentifierColumnAlias, getIdentifierGenerator, getIdentifierType, getIndexColumnAliases, getIndexType, getKeyColumnAliases, getKeyType, getManyToManyFilterFragment, getMappedByProperty, getNavigableRole, getOwnerEntityPersister, getSize, getSortingComparator, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, indexExists, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEntityGraph, isArray, isBatchLoadable, isCascadeDeleteEnabled, isExtraLazy, isInverse, isLazy, isManyToMany, isMutable, isOneToMany, isPrimitiveArray, isSubselectLoadable, isVersioned, needsRemove, postInstantiate, processQueuedOps, recreate
-
Methods inherited from interface org.hibernate.persister.collection.DeprecatedCollectionStuff
getRole
-
Methods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable
applyFilterRestrictions
-
Methods inherited from interface org.hibernate.reactive.persister.collection.impl.ReactiveAbstractCollectionPersister
getReactiveConnection
-
Methods inherited from interface org.hibernate.reactive.persister.collection.impl.ReactiveCollectionPersister
deleteRows, initialize, insertRows, remove, updateRows
-
-
-
-
Constructor Detail
-
ReactiveOneToManyPersister
public ReactiveOneToManyPersister(org.hibernate.mapping.Collection collectionBinding, org.hibernate.cache.spi.access.CollectionDataAccess cacheAccessStrategy, org.hibernate.metamodel.spi.RuntimeModelCreationContext creationContext) throws org.hibernate.MappingException, org.hibernate.cache.CacheException
- Throws:
org.hibernate.MappingException
org.hibernate.cache.CacheException
-
-
Method Detail
-
createNamedQueryCollectionLoader
public org.hibernate.loader.ast.spi.CollectionLoader createNamedQueryCollectionLoader(org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.query.named.NamedQueryMemento namedQueryMemento)
Description copied from interface:ReactiveAbstractCollectionPersister
See org.hibernate.persister.collection.AbstractCollectionPersister#createNamedQueryCollectionLoader- Specified by:
createNamedQueryCollectionLoader
in interfaceReactiveAbstractCollectionPersister
- Overrides:
createNamedQueryCollectionLoader
in classorg.hibernate.persister.collection.AbstractCollectionPersister
-
createSingleKeyCollectionLoader
public org.hibernate.loader.ast.spi.CollectionLoader createSingleKeyCollectionLoader(org.hibernate.engine.spi.LoadQueryInfluencers loadQueryInfluencers)
Description copied from interface:ReactiveAbstractCollectionPersister
See org.hibernate.persister.collection.AbstractCollectionPersister#createSingleKeyCollectionLoader- Specified by:
createSingleKeyCollectionLoader
in interfaceReactiveAbstractCollectionPersister
- Overrides:
createSingleKeyCollectionLoader
in classorg.hibernate.persister.collection.AbstractCollectionPersister
-
getInsertRowsCoordinator
public ReactiveInsertRowsCoordinator getInsertRowsCoordinator()
- Overrides:
getInsertRowsCoordinator
in classorg.hibernate.persister.collection.OneToManyPersister
-
getUpdateRowsCoordinator
public ReactiveUpdateRowsCoordinator getUpdateRowsCoordinator()
- Overrides:
getUpdateRowsCoordinator
in classorg.hibernate.persister.collection.OneToManyPersister
-
getDeleteRowsCoordinator
public ReactiveDeleteRowsCoordinator getDeleteRowsCoordinator()
- Overrides:
getDeleteRowsCoordinator
in classorg.hibernate.persister.collection.OneToManyPersister
-
getRemoveCoordinator
public ReactiveRemoveCoordinator getRemoveCoordinator()
- Overrides:
getRemoveCoordinator
in classorg.hibernate.persister.collection.OneToManyPersister
-
createSubSelectLoader
protected org.hibernate.loader.ast.spi.CollectionLoader createSubSelectLoader(org.hibernate.engine.spi.SubselectFetch subselect, org.hibernate.engine.spi.SharedSessionContractImplementor session)
- Overrides:
createSubSelectLoader
in classorg.hibernate.persister.collection.AbstractCollectionPersister
-
reactiveInitialize
public java.util.concurrent.CompletionStage<java.lang.Void> reactiveInitialize(java.lang.Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Description copied from interface:ReactiveCollectionPersister
Reactive version ofCollectionPersister.initialize(Object, SharedSessionContractImplementor)
- Specified by:
reactiveInitialize
in interfaceReactiveCollectionPersister
-
isRowDeleteEnabled
public boolean isRowDeleteEnabled()
- Specified by:
isRowDeleteEnabled
in interfaceReactiveAbstractCollectionPersister
- Overrides:
isRowDeleteEnabled
in classorg.hibernate.persister.collection.OneToManyPersister
-
isRowInsertEnabled
public boolean isRowInsertEnabled()
- Specified by:
isRowInsertEnabled
in interfaceReactiveAbstractCollectionPersister
- Overrides:
isRowInsertEnabled
in classorg.hibernate.persister.collection.OneToManyPersister
-
reactiveRecreate
public java.util.concurrent.CompletionStage<java.lang.Void> reactiveRecreate(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
Description copied from interface:ReactiveCollectionPersister
Reactive version ofCollectionPersister.recreate(PersistentCollection, Object, SharedSessionContractImplementor)
- Specified by:
reactiveRecreate
in interfaceReactiveAbstractCollectionPersister
- Specified by:
reactiveRecreate
in interfaceReactiveCollectionPersister
- Throws:
org.hibernate.HibernateException
- See Also:
OneToManyPersister.recreate(PersistentCollection, Object, SharedSessionContractImplementor)
-
reactiveInsertRows
public java.util.concurrent.CompletionStage<java.lang.Void> reactiveInsertRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException
Description copied from interface:ReactiveCollectionPersister
Reactive version ofCollectionPersister.insertRows(PersistentCollection, Object, SharedSessionContractImplementor)
- Specified by:
reactiveInsertRows
in interfaceReactiveAbstractCollectionPersister
- Specified by:
reactiveInsertRows
in interfaceReactiveCollectionPersister
- Throws:
org.hibernate.HibernateException
- See Also:
OneToManyPersister.insertRows(PersistentCollection, Object, SharedSessionContractImplementor)
-
reactiveUpdateRows
public java.util.concurrent.CompletionStage<java.lang.Void> reactiveUpdateRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Description copied from interface:ReactiveCollectionPersister
Reactive version ofCollectionPersister.updateRows(PersistentCollection, Object, SharedSessionContractImplementor)
- Specified by:
reactiveUpdateRows
in interfaceReactiveAbstractCollectionPersister
- Specified by:
reactiveUpdateRows
in interfaceReactiveCollectionPersister
- See Also:
OneToManyPersister.updateRows(PersistentCollection, Object, SharedSessionContractImplementor)
-
reactiveDeleteRows
public java.util.concurrent.CompletionStage<java.lang.Void> reactiveDeleteRows(org.hibernate.collection.spi.PersistentCollection<?> collection, java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Description copied from interface:ReactiveCollectionPersister
Reactive version ofCollectionPersister.deleteRows(PersistentCollection, Object, SharedSessionContractImplementor)
- Specified by:
reactiveDeleteRows
in interfaceReactiveAbstractCollectionPersister
- Specified by:
reactiveDeleteRows
in interfaceReactiveCollectionPersister
- See Also:
OneToManyPersister.deleteRows(PersistentCollection, Object, SharedSessionContractImplementor)
-
reactiveRemove
public java.util.concurrent.CompletionStage<java.lang.Void> reactiveRemove(java.lang.Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Description copied from interface:ReactiveCollectionPersister
Reactive version ofCollectionPersister.remove(Object, SharedSessionContractImplementor)
- Specified by:
reactiveRemove
in interfaceReactiveAbstractCollectionPersister
- Specified by:
reactiveRemove
in interfaceReactiveCollectionPersister
- See Also:
AbstractCollectionPersister.remove(Object, SharedSessionContractImplementor)
-
-