Interface RestrictedTableMutationBuilder<O extends MutationOperation,M extends RestrictedTableMutation<O>>
- All Superinterfaces:
TableMutationBuilder<M>
- All Known Subinterfaces:
TableDeleteBuilder
,TableUpdateBuilder<O>
- All Known Implementing Classes:
AbstractRestrictedTableMutationBuilder
,AbstractTableUpdateBuilder
,CollectionRowDeleteBuilder
,CollectionRowDeleteByUpdateSetNullBuilder
,TableDeleteBuilderSkipped
,TableDeleteBuilderStandard
,TableMergeBuilder
,TableUpdateBuilderSkipped
,TableUpdateBuilderStandard
,TableUpdateReturningBuilder
public interface RestrictedTableMutationBuilder<O extends MutationOperation,M extends RestrictedTableMutation<O>>
extends TableMutationBuilder<M>
Specialized
TableMutationBuilder
implementation for building mutations
which have a where
clause.
Common operations of TableUpdateBuilder
and TableDeleteBuilder
.-
Field Summary
Fields inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
NULL
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addKeyRestriction
(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping) Add restriction based on the column in the table's keydefault void
addKeyRestriction
(SelectableMapping selectableMapping) Add a restriction as long as the selectable is not a formula and is not nullabledefault void
addKeyRestrictionLeniently
(SelectableMapping selectableMapping) Add a restriction as long as the selectable is not a formuladefault void
addKeyRestrictions
(SelectableMappings selectableMappings) Add a restriction as long as the selectable is not a formula and is not nullabledefault void
addKeyRestrictionsLeniently
(SelectableMappings selectableMappings) Add a restriction as long as the selectable is not a formula and is not nullablevoid
addLiteralRestriction
(String columnName, String sqlLiteralText, JdbcMapping jdbcMapping) void
void
addOptimisticLockRestriction
(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping) Add restriction based on non-version optimistically-locked columndefault void
addOptimisticLockRestriction
(SelectableMapping selectableMapping) Add restriction based on non-version optimistically-locked columndefault void
addOptimisticLockRestrictions
(SelectableMappings selectableMappings) Add restriction based on non-version optimistically-locked columnvoid
addWhereFragment
(String fragment) void
Methods inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
buildMutation, getMutatingTable
-
Method Details
-
addKeyRestrictions
Add a restriction as long as the selectable is not a formula and is not nullable -
addKeyRestrictionsLeniently
Add a restriction as long as the selectable is not a formula and is not nullable -
addOptimisticLockRestrictions
Add restriction based on non-version optimistically-locked column -
addKeyRestriction
Add a restriction as long as the selectable is not a formula and is not nullable -
addKeyRestrictionLeniently
Add a restriction as long as the selectable is not a formula -
addKeyRestriction
Add restriction based on the column in the table's key -
addNullOptimisticLockRestriction
-
addOptimisticLockRestriction
Add restriction based on non-version optimistically-locked column -
addOptimisticLockRestriction
void addOptimisticLockRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping) Add restriction based on non-version optimistically-locked column -
addLiteralRestriction
-
getKeyRestrictionBindings
ColumnValueBindingList getKeyRestrictionBindings() -
getOptimisticLockBindings
ColumnValueBindingList getOptimisticLockBindings() -
setWhere
-
addWhereFragment
-