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.- Author:
- Steve Ebersole
-
Field Summary
Fields inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
NULL -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKeyRestriction(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 formuladefault voidaddKeyRestrictions(SelectableMappings selectableMappings) Add a restriction as long as the selectable is not a formula and is not nullabledefault voidaddKeyRestrictionsLeniently(SelectableMappings selectableMappings) Add a restriction as long as the selectable is not a formula and is not nullablevoidaddLiteralRestriction(String columnName, String sqlLiteralText, JdbcMapping jdbcMapping) voidvoidaddOptimisticLockRestriction(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 columndefault voidaddOptimisticLockRestrictions(SelectableMappings selectableMappings) Add restriction based on non-version optimistically-locked columnvoidaddWhereFragment(String fragment) voidMethods 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
-