Uses of Interface
org.hibernate.sql.spi.mutation.MutationOperation
Packages that use MutationOperation
Package
Description
Service and decomposition contracts for Hibernate action queue implementations.
Defines the root contracts and built-in implementations for SQL dialects.
Dialect contracts for selecting SQL AST translators and
expressing database-specific SQL AST rendering behavior.
Defines support for performing mutation operations against collections.
Defines support for performing mutation operations originating
from persistence-context events.
SQL AST and builders used with flushed-based mutations (persist, merge, etc.).
Supported construction contracts and reusable implementations for mapping-model mutations.
Package contains specialized SQL AST nodes and builders for table mutations
of model parts
originating from normal persistence-context events.
Logical post-translation mutation contracts used for batching and execution.
Extensions 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(OptionalTableUpdateOperationRequest request) DB2Dialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) DB2iDialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) DB2zDialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) Dialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) Creates the JDBC mutation operation for an optional-table update.H2Dialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) HSQLDialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) MariaDBDialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) MySQLDialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) OracleDialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) PostgreSQLDialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) SpannerDialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) SQLServerDialect.createOptionalTableUpdateOperation(OptionalTableUpdateOperationRequest request) -
Uses of MutationOperation in org.hibernate.dialect.sql.ast.spi
Methods in org.hibernate.dialect.sql.ast.spi that return MutationOperationModifier and TypeMethodDescriptionSqlAstTranslatorWithOnDuplicateKeyUpdate.createMergeOperation(OptionalTableUpdate optionalTableUpdate) Create the MutationOperation for performing the DELETE or UPSERTSqlAstTranslatorWithUpsert.createMergeOperation(OptionalTableUpdate optionalTableUpdate) Deprecated, for removal: This API element is subject to removal in a future version.Create the MutationOperation for performing the DELETE or UPSERT -
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.model
Classes in org.hibernate.sql.ast.spi.model 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 flushSubclasses with type arguments of type MutationOperation in org.hibernate.sql.ast.spi.modelClasses in org.hibernate.sql.ast.spi.model that implement interfaces with type arguments of type MutationOperationMethods in org.hibernate.sql.ast.spi.model 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.Methods in org.hibernate.sql.ast.spi.model that return MutationOperationModifier and TypeMethodDescriptionprotected MutationOperationOptionalTableUpdate.createMutationOperation(TableMapping tableDetails, String updateSql, List<JdbcParameterBinder> effectiveBinders) OptionalTableUpdate.createMutationOperation(ValuesAnalysis valuesAnalysis, SessionFactoryImplementor factory) -
Uses of MutationOperation in org.hibernate.sql.ast.spi.model.builder
Classes in org.hibernate.sql.ast.spi.model.builder with type parameters of type MutationOperationModifier and TypeClassDescriptionclassAbstractRestrictedTableMutationBuilder<O extends MutationOperation, M extends RestrictedTableMutation<O>>Base for provider-owned table-mutation builders which collect key and optimistic-lock restrictions.classAbstractTableUpdateBuilder<O extends MutationOperation>Base for provider-ownedTableUpdateBuilderimplementations.interfaceRestrictedTableMutationBuilder<O extends MutationOperation, M extends RestrictedTableMutation<O>>Specialized builder for building mutations which have a restrictions (aka,whereclause).interfaceTableUpdateBuilder<O extends MutationOperation>TableMutationBuilderimplementation forupdatestatements.classTableUpdateBuilderStandard<O extends MutationOperation>Standard TableUpdateBuilder implementation -
Uses of MutationOperation in org.hibernate.sql.model
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) Deprecated, for removal: This API element is subject to removal in a future version.Gets a specific MutationOperation from the groupMutationOperationGroup.getOperation(String tableName) Deprecated, for removal: This API element is subject to removal in a future version.Get the operation for a specific table.MutationOperationGroup.getSingleOperation()Deprecated, for removal: This API element is subject to removal in a future version.Get the singular operation, assuming there is just one. -
Uses of MutationOperation in org.hibernate.sql.spi.mutation
Subinterfaces of MutationOperation in org.hibernate.sql.spi.mutationModifier and TypeInterfaceDescriptioninterfaceExtension to MutationOperation for cases where the operation wants to handle execution itself. -
Uses of MutationOperation in org.hibernate.sql.spi.mutation.jdbc
Subinterfaces of MutationOperation in org.hibernate.sql.spi.mutation.jdbcModifier and TypeInterfaceDescriptioninterfaceJdbcOperationfor a mapping-model mutation originating from a persistence context flush.interfaceMutationOperation that is capable of being handled as a JDBCPreparedStatementPerson ( PERSON, PERSON_SUPP ) - PERSON_SUPP is optional secondary tableClasses in org.hibernate.sql.spi.mutation.jdbc that implement MutationOperationModifier and TypeClassDescriptionclassSupported base for an immutable, single-table JDBC mutation operation.classfinal classfinal classDescriptor for a table insert originating from a flushfinal classDescribes the update of a single tablefinal classJdbcMutationOperationimplementation for MERGE handlingclassLegacy "upsert" handling, conditionally using INSERT, UPDATE and DELETE statements as required for optional secondary tables.final classUsesOptionalTableInsertfor the insert operation, to avoid primary key constraint violations when inserting only primary key columns.final classJdbcMutationOperationimplementation for UPSERT handling