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,TableDeleteBuilderSkipped,TableDeleteBuilderStandard,TableUpdateBuilderSkipped,TableUpdateBuilderStandard
public interface RestrictedTableMutationBuilder<O extends MutationOperation,M extends RestrictedTableMutation<O>> extends TableMutationBuilder<M>
SpecializedTableMutationBuilderimplementation for building mutations which have awhereclause. Common operations ofTableUpdateBuilderandTableDeleteBuilder.
-
-
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 default voidaddKeyRestriction(int dummy, SelectableMapping selectableMapping)Convenience form ofaddKeyRestriction(SelectableMapping)matching the signature ofSelectableConsumerallowing it to be used as a method reference in its place.voidaddKeyRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)Add restriction based on the column in the table's keydefault voidaddKeyRestriction(SelectableMapping selectableMapping)Add a restriction as long as the selectable is not a formula and is not nullabledefault voidaddKeyRestrictionLeniently(SelectableMapping selectableMapping)Add a restriction as long as the selectable is not a formulavoidaddNullOptimisticLockRestriction(SelectableMapping column)voidaddOptimisticLockRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)Add restriction based on non-version optimistically-locked columndefault voidaddOptimisticLockRestriction(SelectableMapping selectableMapping)Add restriction based on non-version optimistically-locked columnvoidaddWhereFragment(String fragment)voidsetWhere(String fragment)-
Methods inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
buildMutation, getMutatingTable
-
-
-
-
Method Detail
-
addKeyRestriction
default void addKeyRestriction(SelectableMapping selectableMapping)
Add a restriction as long as the selectable is not a formula and is not nullable
-
addKeyRestriction
default void addKeyRestriction(int dummy, SelectableMapping selectableMapping)Convenience form ofaddKeyRestriction(SelectableMapping)matching the signature ofSelectableConsumerallowing it to be used as a method reference in its place.- Parameters:
dummy- Ignored; here simply to satisfy theSelectableConsumersignature
-
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
-
setWhere
void setWhere(String fragment)
-
addWhereFragment
void addWhereFragment(String fragment)
-
-