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.metamodel.mapping.FilterRestrictable,org.hibernate.metamodel.mapping.internal.InFlightCollectionMapping,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.mutation.CollectionMutationTarget,org.hibernate.persister.entity.Joinable,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 reactive
OneToManyPersister-
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
ConstructorsConstructorDescriptionReactiveOneToManyPersister(org.hibernate.mapping.Collection collectionBinding, org.hibernate.cache.spi.access.CollectionDataAccess cacheAccessStrategy, org.hibernate.metamodel.spi.RuntimeModelCreationContext creationContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.loader.ast.spi.CollectionLoadercreateNamedQueryCollectionLoader(org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.query.named.NamedQueryMemento namedQueryMemento) See org.hibernate.persister.collection.AbstractCollectionPersister#createNamedQueryCollectionLoaderorg.hibernate.loader.ast.spi.CollectionLoadercreateSingleKeyCollectionLoader(org.hibernate.engine.spi.LoadQueryInfluencers loadQueryInfluencers) See org.hibernate.persister.collection.AbstractCollectionPersister#createSingleKeyCollectionLoaderprotected org.hibernate.loader.ast.spi.CollectionLoadercreateSubSelectLoader(org.hibernate.engine.spi.SubselectFetch subselect, org.hibernate.engine.spi.SharedSessionContractImplementor session) booleanbooleanreactiveDeleteRows(org.hibernate.collection.spi.PersistentCollection<?> collection, Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session) Reactive version ofCollectionPersister.deleteRows(PersistentCollection, Object, SharedSessionContractImplementor)reactiveInitialize(Object key, org.hibernate.engine.spi.SharedSessionContractImplementor session) Reactive version ofCollectionPersister.initialize(Object, SharedSessionContractImplementor)reactiveInsertRows(org.hibernate.collection.spi.PersistentCollection<?> collection, Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session) Reactive version ofCollectionPersister.insertRows(PersistentCollection, Object, SharedSessionContractImplementor)reactiveRecreate(org.hibernate.collection.spi.PersistentCollection<?> collection, Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session) Reactive version ofCollectionPersister.recreate(PersistentCollection, Object, SharedSessionContractImplementor)reactiveRemove(Object id, org.hibernate.engine.spi.SharedSessionContractImplementor session) Reactive version ofCollectionPersister.remove(Object, SharedSessionContractImplementor)reactiveUpdateRows(org.hibernate.collection.spi.PersistentCollection<?> collection, 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, deleteRows, doProcessQueuedOps, generateDeleteAllAst, generateDeleteRowAst, getFilterAliasGenerator, getFilterAliasGenerator, getRowMutationOperations, getTableName, insertRows, isManyToMany, isOneToMany, recreate, updateRowsMethods inherited from class org.hibernate.persister.collection.AbstractCollectionPersister
applyBaseManyToManyRestrictions, applyBaseRestrictions, applyBaseRestrictions, applyFilterRestrictions, applyKeyRestrictions, applyWhereRestrictions, buildDeleteAllOperation, determineLoaderToUse, determineTableName, elementExists, forEachMutableTable, forEachMutableTableReverse, generateDetectRowByElementString, generateDetectRowByIndexString, generateSelectSizeString, getAttributeMapping, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionLoader, getCollectionPropertyColumnAliases, getCollectionSemantics, getCollectionSpaces, getCollectionTableMapping, getCollectionType, getDialect, getElementByIndex, getElementClass, getElementColumnAliases, getElementColumnNames, getElementPersister, getElementPersisterInternal, getElementType, getFactory, getGenerator, getIdentifierColumnAlias, getIdentifierColumnName, getIdentifierGenerator, getIdentifierTableName, getIdentifierType, getIndexColumnAliases, getIndexColumnNames, getIndexType, getKeyColumnAliases, getKeyColumnNames, getKeyType, getManyToManyFilterFragment, getMappedByProperty, getNavigableRole, getOwnerEntityName, getOwnerEntityPersister, getSize, getSortingComparator, getSQLExceptionHelper, getTargetPart, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, hasPhysicalIndexColumn, hasWhereRestrictions, incrementIndexByBase, indexExists, initCollectionPropertyMap, initialize, injectAttributeMapping, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEntityGraph, isArray, isCascadeDeleteEnabled, isExtraLazy, isInverse, isLazy, isMutable, isPrimitiveArray, isSubselectLoadable, isVersioned, logStaticSQL, needsRemove, postInstantiate, prepareMappingModel, processQueuedOps, registerAffectingFetchProfile, remove, selectFragment, toString, useShallowQueryCacheLayoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.persister.collection.mutation.CollectionMutationTarget
getIdentifierTableMappingMethods inherited from interface org.hibernate.persister.collection.CollectionPersister
applyBaseManyToManyRestrictions, elementExists, getAttributeMapping, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionPropertyColumnAliases, getCollectionSemantics, getCollectionSpaces, getCollectionType, getElementByIndex, getElementClass, getElementColumnAliases, getElementPersister, getElementType, getFactory, getGenerator, getIdentifierColumnAlias, getIdentifierColumnName, getIdentifierGenerator, getIdentifierType, getIndexColumnAliases, getIndexType, getKeyColumnAliases, getKeyType, getManyToManyFilterFragment, getMappedByProperty, getNavigableRole, getOwnerEntityPersister, getRole, getSize, getSortingComparator, getTableName, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, indexExists, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEntityGraph, isArray, isBatchLoadable, isCascadeDeleteEnabled, isExtraLazy, isInverse, isLazy, isManyToMany, isMutable, isOneToMany, isPrimitiveArray, isSubselectLoadable, isVersioned, needsRemove, postInstantiate, processQueuedOps, recreate, selectFragment, useShallowQueryCacheLayoutMethods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable
applyFilterRestrictions, applyFilterRestrictionsMethods inherited from interface org.hibernate.sql.model.MutationTarget
getRolePathMethods inherited from interface org.hibernate.reactive.persister.collection.impl.ReactiveAbstractCollectionPersister
getReactiveConnectionMethods inherited from interface org.hibernate.reactive.persister.collection.impl.ReactiveCollectionPersister
deleteRows, initialize, insertRows, remove, updateRowsMethods inherited from interface org.hibernate.metamodel.mapping.Restrictable
applyBaseRestrictions, applyBaseRestrictionsMethods inherited from interface org.hibernate.metamodel.mapping.WhereRestrictable
applyWhereRestrictions, hasWhereRestrictions
-
Constructor Details
-
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.MappingExceptionorg.hibernate.cache.CacheException
-
-
Method Details
-
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:ReactiveAbstractCollectionPersisterSee org.hibernate.persister.collection.AbstractCollectionPersister#createNamedQueryCollectionLoader- Specified by:
createNamedQueryCollectionLoaderin interfaceReactiveAbstractCollectionPersister- Overrides:
createNamedQueryCollectionLoaderin classorg.hibernate.persister.collection.AbstractCollectionPersister
-
createSingleKeyCollectionLoader
public org.hibernate.loader.ast.spi.CollectionLoader createSingleKeyCollectionLoader(org.hibernate.engine.spi.LoadQueryInfluencers loadQueryInfluencers) Description copied from interface:ReactiveAbstractCollectionPersisterSee org.hibernate.persister.collection.AbstractCollectionPersister#createSingleKeyCollectionLoader- Specified by:
createSingleKeyCollectionLoaderin interfaceReactiveAbstractCollectionPersister- Overrides:
createSingleKeyCollectionLoaderin classorg.hibernate.persister.collection.AbstractCollectionPersister
-
getInsertRowsCoordinator
- Overrides:
getInsertRowsCoordinatorin classorg.hibernate.persister.collection.OneToManyPersister
-
getUpdateRowsCoordinator
- Overrides:
getUpdateRowsCoordinatorin classorg.hibernate.persister.collection.OneToManyPersister
-
getDeleteRowsCoordinator
- Overrides:
getDeleteRowsCoordinatorin classorg.hibernate.persister.collection.OneToManyPersister
-
getRemoveCoordinator
- Overrides:
getRemoveCoordinatorin classorg.hibernate.persister.collection.OneToManyPersister
-
isRowDeleteEnabled
public boolean isRowDeleteEnabled()- Specified by:
isRowDeleteEnabledin interfaceReactiveAbstractCollectionPersister- Overrides:
isRowDeleteEnabledin classorg.hibernate.persister.collection.OneToManyPersister
-
isRowInsertEnabled
public boolean isRowInsertEnabled()- Specified by:
isRowInsertEnabledin interfaceReactiveAbstractCollectionPersister- Overrides:
isRowInsertEnabledin classorg.hibernate.persister.collection.AbstractCollectionPersister
-