public class ReactiveBasicCollectionPersister extends org.hibernate.persister.collection.BasicCollectionPersister implements ReactiveAbstractCollectionPersister
BasicCollectionPersister
ReactiveAbstractCollectionPersister.ExpectationAdaptor
batchSize, elementColumnAliases, elementColumnIsGettable, elementColumnIsInPrimaryKey, elementColumnIsSettable, elementColumnNames, elementColumnReaders, elementColumnReaderTemplates, elementColumnWriters, elementFormulas, elementFormulaTemplates, elementIsPureFormula, elementType, hasIdentifier, hasIndex, hasWhere, identifierColumnName, indexColumnAliases, indexColumnIsGettable, indexColumnIsSettable, indexColumnNames, indexContainsFormula, indexFormulas, indexFormulaTemplates, isInverse, keyColumnAliases, keyColumnNames, qualifiedTableName, recreateBatchKey, sqlExceptionHelper, sqlWhereString
LOG
Constructor and Description |
---|
ReactiveBasicCollectionPersister(org.hibernate.mapping.Collection collectionBinding,
org.hibernate.cache.spi.access.CollectionDataAccess cacheAccessStrategy,
org.hibernate.persister.spi.PersisterCreationContext creationContext) |
Modifier and Type | Method and Description |
---|---|
protected ReactiveCollectionInitializer |
createCollectionInitializer(org.hibernate.engine.spi.LoadQueryInfluencers loadQueryInfluencers) |
protected ReactiveCollectionInitializer |
createSubselectInitializer(org.hibernate.engine.spi.SubselectFetch subselect,
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) |
protected java.lang.String |
generateDeleteRowString() |
protected java.lang.String |
generateDeleteString() |
protected java.lang.String |
generateInsertRowString() |
protected java.lang.String |
generateUpdateRowString() |
protected ReactiveCollectionInitializer |
getAppropriateInitializer(java.io.Serializable key,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
org.hibernate.engine.spi.ExecuteUpdateResultCheckStyle |
getDeleteCheckStyle() |
org.hibernate.engine.spi.ExecuteUpdateResultCheckStyle |
getInsertCheckStyle() |
java.lang.String |
getSQLDeleteRowString() |
java.lang.String |
getSQLDeleteString() |
java.lang.String |
getSQLInsertRowString() |
java.lang.String |
getSQLUpdateRowString() |
boolean |
hasIdentifier() |
boolean |
indexContainsFormula() |
boolean |
isRowDeleteEnabled() |
boolean |
isRowInsertEnabled() |
java.util.concurrent.CompletionStage<java.lang.Void> |
reactiveInitialize(java.io.Serializable key,
org.hibernate.engine.spi.SharedSessionContractImplementor session)
Reactive version of
CollectionPersister.initialize(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 |
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) |
consumesCollectionAlias, consumesEntityAlias, doProcessQueuedOps, doUpdateRows, fromJoinFragment, fromJoinFragment, getFilterAliasGenerator, isCascadeDeleteEnabled, isManyToMany, isOneToMany, selectFragment, whereJoinFragment, whereJoinFragment
appendElementColumns, appendIdentifierColumns, appendIndexColumns, createDelete, createInsert, createUpdate, decrementIndexByBase, deleteRows, determineTableName, doProcessQueuedOps, elementExists, filterFragment, filterFragment, filterFragment, filterFragment, generateDetectRowByElementString, generateDetectRowByIndexString, generateSelectFragment, generateSelectRowByIndexString, generateSelectSizeString, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionMetadata, getCollectionPersister, getCollectionPropertyColumnAliases, getCollectionSpaces, getCollectionType, getDeleteAllCheckStyle, getDialect, getElementByIndex, getElementClass, getElementColumnAliases, getElementColumnNames, getElementColumnNames, getElementDefinition, getElementPersister, getElementType, getFactory, getFetchMode, getIdentifierColumnAlias, getIdentifierColumnName, getIdentifierGenerator, getIdentifierType, getIndexColumnAliases, getIndexColumnNames, getIndexColumnNames, getIndexDefinition, getIndexFormulas, getIndexType, getInitializer, getKeyColumnAliases, getKeyColumnNames, getKeyType, getManyToManyFilterFragment, getManyToManyOrderByString, getMappedByProperty, getName, getNavigableRole, getOwnerEntityName, getOwnerEntityPersister, getRole, getSize, getSQLExceptionConverter, getSQLExceptionHelper, getSQLOrderByString, getSQLWhereString, getTableName, getType, getUpdateCheckStyle, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, hasWhere, incrementIndexByBase, indexExists, initCollectionPropertyMap, initialize, insertRows, isAffectedByEnabledFilters, isArray, isCollection, isDeleteAllCallable, isDeleteCallable, isExtraLazy, isInsertCallable, isInverse, isLazy, isMutable, isPrimitiveArray, isSubselectLoadable, isUpdateCallable, isVersioned, logStaticSQL, oneToManyFilterFragment, oneToManyFilterFragment, postInstantiate, processQueuedOps, readElement, readIdentifier, readIndex, readKey, recreate, remove, selectFragment, toColumns, toColumns, toString, toType, updateRows, writeIdentifier
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
deleteByIndex, deleteRowsParamValues, entryList, getReactiveConnection, getSqlExceptionConverter, insertRowsParamValues, needsInsert, needsUpdate, reactiveDeleteRows, reactiveInsertRows, reactiveUpdateRows, recreateReactive, removeReactive, writeIdentifier
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
public ReactiveBasicCollectionPersister(org.hibernate.mapping.Collection collectionBinding, org.hibernate.cache.spi.access.CollectionDataAccess cacheAccessStrategy, org.hibernate.persister.spi.PersisterCreationContext creationContext) throws org.hibernate.MappingException, org.hibernate.cache.CacheException
org.hibernate.MappingException
org.hibernate.cache.CacheException
public java.util.concurrent.CompletionStage<java.lang.Void> reactiveInitialize(java.io.Serializable key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
ReactiveCollectionPersister
CollectionPersister.initialize(Serializable, SharedSessionContractImplementor)
reactiveInitialize
in interface ReactiveCollectionPersister
protected ReactiveCollectionInitializer createCollectionInitializer(org.hibernate.engine.spi.LoadQueryInfluencers loadQueryInfluencers)
createCollectionInitializer
in class org.hibernate.persister.collection.BasicCollectionPersister
protected ReactiveCollectionInitializer createSubselectInitializer(org.hibernate.engine.spi.SubselectFetch subselect, org.hibernate.engine.spi.SharedSessionContractImplementor session)
createSubselectInitializer
in class org.hibernate.persister.collection.BasicCollectionPersister
protected ReactiveCollectionInitializer getAppropriateInitializer(java.io.Serializable key, org.hibernate.engine.spi.SharedSessionContractImplementor session)
getAppropriateInitializer
in class org.hibernate.persister.collection.AbstractCollectionPersister
public boolean isRowDeleteEnabled()
isRowDeleteEnabled
in interface ReactiveAbstractCollectionPersister
isRowDeleteEnabled
in class org.hibernate.persister.collection.AbstractCollectionPersister
public boolean isRowInsertEnabled()
isRowInsertEnabled
in interface ReactiveAbstractCollectionPersister
isRowInsertEnabled
in class org.hibernate.persister.collection.AbstractCollectionPersister
public boolean hasIdentifier()
hasIdentifier
in interface ReactiveAbstractCollectionPersister
public boolean indexContainsFormula()
indexContainsFormula
in interface ReactiveAbstractCollectionPersister
public int writeElement(java.sql.PreparedStatement st, java.lang.Object element, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws java.sql.SQLException
writeElement
in interface ReactiveAbstractCollectionPersister
writeElement
in class org.hibernate.persister.collection.AbstractCollectionPersister
java.sql.SQLException
public int writeIndex(java.sql.PreparedStatement st, java.lang.Object index, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws java.sql.SQLException
writeIndex
in interface ReactiveAbstractCollectionPersister
writeIndex
in class org.hibernate.persister.collection.AbstractCollectionPersister
java.sql.SQLException
public int writeKey(java.sql.PreparedStatement st, java.io.Serializable id, int offset, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws java.sql.SQLException
writeKey
in interface ReactiveAbstractCollectionPersister
writeKey
in class org.hibernate.persister.collection.AbstractCollectionPersister
java.sql.SQLException
public int writeElementToWhere(java.sql.PreparedStatement st, java.lang.Object entry, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws java.sql.SQLException
writeElementToWhere
in interface ReactiveAbstractCollectionPersister
writeElementToWhere
in class org.hibernate.persister.collection.AbstractCollectionPersister
java.sql.SQLException
public int writeIndexToWhere(java.sql.PreparedStatement st, java.lang.Object entry, int loc, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws java.sql.SQLException
writeIndexToWhere
in interface ReactiveAbstractCollectionPersister
writeIndexToWhere
in class org.hibernate.persister.collection.AbstractCollectionPersister
java.sql.SQLException
protected java.lang.String generateInsertRowString()
generateInsertRowString
in class org.hibernate.persister.collection.BasicCollectionPersister
protected java.lang.String generateUpdateRowString()
generateUpdateRowString
in class org.hibernate.persister.collection.BasicCollectionPersister
protected java.lang.String generateDeleteRowString()
generateDeleteRowString
in class org.hibernate.persister.collection.BasicCollectionPersister
protected java.lang.String generateDeleteString()
generateDeleteString
in class org.hibernate.persister.collection.BasicCollectionPersister
public java.lang.String getSQLInsertRowString()
getSQLInsertRowString
in interface ReactiveAbstractCollectionPersister
getSQLInsertRowString
in class org.hibernate.persister.collection.AbstractCollectionPersister
public java.lang.String getSQLUpdateRowString()
getSQLUpdateRowString
in interface ReactiveAbstractCollectionPersister
getSQLUpdateRowString
in class org.hibernate.persister.collection.AbstractCollectionPersister
public java.lang.String getSQLDeleteRowString()
getSQLDeleteRowString
in interface ReactiveAbstractCollectionPersister
getSQLDeleteRowString
in class org.hibernate.persister.collection.AbstractCollectionPersister
public java.lang.String getSQLDeleteString()
getSQLDeleteString
in interface ReactiveAbstractCollectionPersister
getSQLDeleteString
in class org.hibernate.persister.collection.AbstractCollectionPersister
public org.hibernate.engine.spi.ExecuteUpdateResultCheckStyle getInsertCheckStyle()
getInsertCheckStyle
in interface ReactiveAbstractCollectionPersister
getInsertCheckStyle
in class org.hibernate.persister.collection.AbstractCollectionPersister
public org.hibernate.engine.spi.ExecuteUpdateResultCheckStyle getDeleteCheckStyle()
getDeleteCheckStyle
in interface ReactiveAbstractCollectionPersister
getDeleteCheckStyle
in class org.hibernate.persister.collection.AbstractCollectionPersister
public java.util.concurrent.CompletionStage<java.lang.Void> doReactiveUpdateRows(java.io.Serializable id, org.hibernate.collection.spi.PersistentCollection collection, org.hibernate.engine.spi.SharedSessionContractImplementor session)
doReactiveUpdateRows
in interface ReactiveAbstractCollectionPersister
BasicCollectionPersister.doUpdateRows(Serializable, PersistentCollection, SharedSessionContractImplementor)