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
public interface RestrictedTableMutationBuilder<O extends MutationOperation,M extends RestrictedTableMutation<O>> extends TableMutationBuilder<M>
SpecializedTableMutationBuilder
implementation for building mutations which have awhere
clause. Common operations ofTableUpdateBuilder
andTableDeleteBuilder
.
-
-
Field Summary
-
Fields inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
NULL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
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
addNullOptimisticLockRestriction(SelectableMapping column)
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)
ColumnValueBindingList
getKeyRestrictionBindings()
ColumnValueBindingList
getOptimisticLockBindings()
void
setWhere(String fragment)
-
Methods inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
buildMutation, getMutatingTable
-
-
-
-
Method Detail
-
addKeyRestrictions
default void addKeyRestrictions(SelectableMappings selectableMappings)
Add a restriction as long as the selectable is not a formula and is not nullable
-
addKeyRestrictionsLeniently
default void addKeyRestrictionsLeniently(SelectableMappings selectableMappings)
Add a restriction as long as the selectable is not a formula and is not nullable
-
addOptimisticLockRestrictions
default void addOptimisticLockRestrictions(SelectableMappings selectableMappings)
Add restriction based on non-version optimistically-locked column
-
addKeyRestriction
default void addKeyRestriction(SelectableMapping selectableMapping)
Add a restriction as long as the selectable is not a formula and is not nullable
-
addKeyRestrictionLeniently
default void addKeyRestrictionLeniently(SelectableMapping selectableMapping)
Add a restriction as long as the selectable is not a formula
-
addKeyRestriction
void addKeyRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
Add restriction based on the column in the table's key
-
addNullOptimisticLockRestriction
void addNullOptimisticLockRestriction(SelectableMapping column)
-
addOptimisticLockRestriction
default void addOptimisticLockRestriction(SelectableMapping selectableMapping)
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
-
getKeyRestrictionBindings
ColumnValueBindingList getKeyRestrictionBindings()
-
getOptimisticLockBindings
ColumnValueBindingList getOptimisticLockBindings()
-
setWhere
void setWhere(String fragment)
-
addWhereFragment
void addWhereFragment(String fragment)
-
-