Uses of Interface
org.hibernate.sql.model.MutationOperation
Packages that use MutationOperation
Package
Description
Service and decomposition contracts for Hibernate action queue implementations.
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
Internal package containing dialect-specific extensions of
AbstractSqlAstTranslator.Defines support for performing mutation operations against collections.
Defines support for performing mutation operations originating
from persistence-context events.
Package defining support for creating and consuming a SQL AST.
Package contains specialized SQL AST nodes and builders for table mutations
of model parts
originating from normal persistence-context events.
SQL AST and builders used with flushed-based mutations (persist, merge, etc.).
Support for building
TableMutation
references for persisting entity mutation eventsExtensions to
JdbcOperation for model mutations.-
Uses of MutationOperation in org.hibernate.action.queue.spi
Methods in org.hibernate.action.queue.spi with parameters of type MutationOperationModifier and TypeMethodDescriptionstatic StatementShapeKeyStatementShapeKey.forMutation(String tableName, MutationKind kind, TableDescriptor tableDescriptor, MutationOperation mutationOperation) -
Uses of MutationOperation in org.hibernate.action.queue.spi.decompose.collection
Methods in org.hibernate.action.queue.spi.decompose.collection that return MutationOperationModifier and TypeMethodDescriptiondefault MutationOperationCollectionMutationPlanContributor.buildRemoveOperation(CollectionMutationPlanContributor.RemoveOperationContext context, Supplier<MutationOperation> standardOperationSupplier) Optionally replaces the mutation operation for removing all rows for a collection key.CollectionJdbcOperations.DeleteRowPlan.jdbcOperation()Returns the value of thejdbcOperationrecord component.CollectionJdbcOperations.InsertRowPlan.jdbcOperation()Returns the value of thejdbcOperationrecord component.CollectionJdbcOperations.UpdateRowPlan.jdbcOperation()Returns the value of thejdbcOperationrecord component.CollectionJdbcOperations.removeOperation()Returns the value of theremoveOperationrecord component.Method parameters in org.hibernate.action.queue.spi.decompose.collection with type arguments of type MutationOperationModifier and TypeMethodDescriptiondefault MutationOperationCollectionMutationPlanContributor.buildRemoveOperation(CollectionMutationPlanContributor.RemoveOperationContext context, Supplier<MutationOperation> standardOperationSupplier) Optionally replaces the mutation operation for removing all rows for a collection key.Constructors in org.hibernate.action.queue.spi.decompose.collection with parameters of type MutationOperationModifierConstructorDescriptionCollectionJdbcOperations(CollectionMutationTarget target, TableDescriptor tableDescriptor, CollectionJdbcOperations.InsertRowPlan insertRowPlan, CollectionJdbcOperations.UpdateRowPlan updateRowPlan, CollectionJdbcOperations.UpdateRowPlan updateIndexPlan, CollectionJdbcOperations.DeleteRowPlan deleteRowPlan, MutationOperation removeOperation) Creates an instance of aCollectionJdbcOperationsrecord class.DeleteRowPlan(MutationOperation jdbcOperation, CollectionJdbcOperations.Restrictions restrictions) Creates an instance of aDeleteRowPlanrecord class.InsertRowPlan(MutationOperation jdbcOperation, CollectionJdbcOperations.Values values) Creates an instance of aInsertRowPlanrecord class.UpdateRowPlan(MutationOperation jdbcOperation, CollectionJdbcOperations.Values values, CollectionJdbcOperations.Restrictions restrictions) Creates an instance of aUpdateRowPlanrecord class. -
Uses of MutationOperation in org.hibernate.action.queue.spi.plan
Methods in org.hibernate.action.queue.spi.plan that return MutationOperationConstructors in org.hibernate.action.queue.spi.plan with parameters of type MutationOperationModifierConstructorDescriptionFlushOperation(TableDescriptor tableDescriptor, MutationKind kind, MutationOperation jdbcOperation, BindPlan bindPlan, int ordinal, String origin) FlushOperation(TableDescriptor tableDescriptor, MutationKind kind, MutationOperation jdbcOperation, BindPlan bindPlan, int ordinal, String origin, boolean needsIdPrePhase) FlushOperation(TableDescriptor tableDescriptor, MutationKind kind, MutationOperation jdbcOperation, BindPlan bindPlan, int ordinal, String origin, StatementShapeKey shapeKey) FlushOperation(TableDescriptor tableDescriptor, MutationKind kind, MutationOperation jdbcOperation, BindPlan bindPlan, int ordinal, String origin, StatementShapeKey shapeKey, boolean needsIdPrePhase) -
Uses of MutationOperation in org.hibernate.dialect
Methods in org.hibernate.dialect that return MutationOperationModifier and TypeMethodDescriptionCockroachDialect.createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) DB2Dialect.createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) Dialect.createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) Create aMutationOperationfor a updating an optional tableH2Dialect.createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) HSQLDialect.createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) MariaDBDialect.createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) MySQLDialect.createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) OracleDialect.createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) PostgreSQLDialect.createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) SpannerDialect.createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) SQLServerDialect.createOptionalTableUpdateOperation(EntityMutationTarget mutationTarget, org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, SessionFactoryImplementor factory) -
Uses of MutationOperation in org.hibernate.dialect.sql.ast
Methods in org.hibernate.dialect.sql.ast that return MutationOperationModifier and TypeMethodDescriptionSpannerSqlAstTranslator.createMergeOperation(org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate, boolean hasUpdatableBindings) SqlAstTranslatorWithOnDuplicateKeyUpdate.createMergeOperation(org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate) -
Uses of MutationOperation in org.hibernate.engine.jdbc.mutation.spi
Methods in org.hibernate.engine.jdbc.mutation.spi with parameters of type MutationOperationModifier and TypeMethodDescriptionJdbcValueBindingsFactory.create(MutationOperation operation, JdbcValueDescriptorAccess jdbcValueDescriptorAccess, SharedSessionContractImplementor session) Create theJdbcValueBindingsImplementorto use for processing the given operation. -
Uses of MutationOperation in org.hibernate.persister.collection.mutation
Methods in org.hibernate.persister.collection.mutation that return MutationOperationModifier and TypeMethodDescriptionCollectionAuditSupport.AuditCollectionOperation.operation()Returns the value of theoperationrecord component.Constructors in org.hibernate.persister.collection.mutation with parameters of type MutationOperationModifierConstructorDescriptionAuditCollectionOperation(CollectionTableDescriptor tableDescriptor, MutationOperation operation) Creates an instance of aAuditCollectionOperationrecord class. -
Uses of MutationOperation in org.hibernate.persister.entity.mutation
Methods in org.hibernate.persister.entity.mutation with type parameters of type MutationOperationModifier and TypeMethodDescriptionprotected <O extends MutationOperation>
AbstractTableUpdateBuilder<O> MergeCoordinatorStandard.newTableUpdateBuilder(EntityTableMapping tableMapping) protected <O extends MutationOperation>
AbstractTableUpdateBuilder<O> UpdateCoordinatorStandard.newTableUpdateBuilder(EntityTableMapping tableMapping) Methods in org.hibernate.persister.entity.mutation that return MutationOperationModifier and TypeMethodDescriptionprotected MutationOperationAbstractMutationCoordinator.createOperation(ValuesAnalysis valuesAnalysis, TableMutation<?> singleTableMutation) EntityAuditSupport.AuditMutationOperation.operation()Returns the value of theoperationrecord component.Constructors in org.hibernate.persister.entity.mutation with parameters of type MutationOperationModifierConstructorDescriptionAuditMutationOperation(int tableIndex, EntityTableDescriptor tableDescriptor, MutationOperation operation) Creates an instance of aAuditMutationOperationrecord class. -
Uses of MutationOperation in org.hibernate.sql.ast.spi
Methods in org.hibernate.sql.ast.spi that return MutationOperationModifier and TypeMethodDescriptionSqlAstTranslatorWithUpsert.createMergeOperation(org.hibernate.sql.model.internal.OptionalTableUpdate optionalTableUpdate) Create the MutationOperation for performing the DELETE or UPSERT -
Uses of MutationOperation in org.hibernate.sql.model
Subinterfaces of MutationOperation in org.hibernate.sql.modelModifier and TypeInterfaceDescriptioninterfaceMutationOperation that is capable of being handled as a JDBCPreparedStatementPerson ( PERSON, PERSON_SUPP ) - PERSON_SUPP is optional secondary tableinterfaceExtension to MutationOperation for cases where the operation wants to handle execution itself.Methods in org.hibernate.sql.model with type parameters of type MutationOperationModifier and TypeMethodDescriptiondefault <O extends MutationOperation>
voidMutationOperationGroup.forEachOperation(BiConsumer<Integer, O> action) Deprecated, for removal: This API element is subject to removal in a future version.Will be removed.default <O extends MutationOperation>
booleanMutationOperationGroup.hasMatching(BiFunction<Integer, O, Boolean> matcher) Deprecated, for removal: This API element is subject to removal in a future version.Will be removed.Methods in org.hibernate.sql.model that return MutationOperationModifier and TypeMethodDescriptionMutationOperationGroup.getOperation(int idx) Gets a specific MutationOperation from the groupMutationOperationGroup.getOperation(String tableName) Get the operation for a specific table.MutationOperationGroup.getSingleOperation()Get the singular operation, assuming there is just one. -
Uses of MutationOperation in org.hibernate.sql.model.ast
Classes in org.hibernate.sql.model.ast with type parameters of type MutationOperationModifier and TypeClassDescriptionclassAbstractRestrictedTableMutation<O extends MutationOperation>classAbstractTableMutation<O extends MutationOperation>BaseTableMutationsupportclassAbstractTableUpdate<O extends MutationOperation>Base support for TableUpdate implementationsinterfaceAssigningTableMutation<O extends MutationOperation>Marker interface for TableMutations which assign values - INSERT, UPDATE, MERGE.interfaceGeneratedMutation<O extends MutationOperation>Marker interface representing TableMutations whose SQL Hibernate has generated, as opposed to custom SQL provided by the user.interfaceLogicalTableUpdate<O extends MutationOperation>Models a logical UPDATE to a table.interfaceRestrictedTableMutation<O extends MutationOperation>Specialized TableMutation implementation for mutations which define a where-clauseinterfaceTableMutation<O extends MutationOperation>Describes the mutation of a model table (mapped by an entity or collection) triggered from flush.interfaceTableUpdate<O extends MutationOperation>Models an update to a model (entity or collection) table, triggered from flushMethods in org.hibernate.sql.model.ast with type parameters of type MutationOperationModifier and TypeMethodDescription<O extends MutationOperation, M extends TableMutation<O>>
voidMutationGroup.forEachTableMutation(BiConsumer<Integer, M> action) Deprecated, for removal: This API element is subject to removal in a future version.<O extends MutationOperation, M extends TableMutation<O>>
MMutationGroup.getTableMutation(String tableName) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of MutationOperation in org.hibernate.sql.model.ast.builder
Classes in org.hibernate.sql.model.ast.builder with type parameters of type MutationOperationModifier and TypeClassDescriptionclassAbstractRestrictedTableMutationBuilder<O extends MutationOperation, M extends RestrictedTableMutation<O>>Specialization of TableMutationBuilder for mutations which contain a restriction.classAbstractTableUpdateBuilder<O extends MutationOperation>Base support for TableUpdateBuilder implementationsclassCustom table update builder for one-to-many collections that handles row deletesinterfaceRestrictedTableMutationBuilder<O extends MutationOperation, M extends RestrictedTableMutation<O>>Specialized builder for building mutations which have a restrictions (aka,whereclause).classTableMergeBuilder<O extends MutationOperation>interfaceTableUpdateBuilder<O extends MutationOperation>TableMutationBuilderimplementation forupdatestatements.classTableUpdateBuilderStandard<O extends MutationOperation>Standard TableUpdateBuilder implementation -
Uses of MutationOperation in org.hibernate.sql.model.jdbc
Subinterfaces of MutationOperation in org.hibernate.sql.model.jdbcModifier and TypeInterfaceDescriptioninterfaceJdbcOperationextension for model mutations stemming from persistence context flushesClasses in org.hibernate.sql.model.jdbc that implement MutationOperationModifier and TypeClassDescriptionclassclassclassclassDescriptor for a table insert originating from a flushclassDescribes the update of a single tableclassJdbcMutationOperationimplementation for MERGE handlingclassLegacy "upsert" handling, conditionally using INSERT, UPDATE and DELETE statements as required for optional secondary tables.classUsesOptionalTableInsertfor the insert operation, to avoid primary key constraint violations when inserting only primary key columns.classJdbcMutationOperationimplementation for UPSERT handling