Package org.hibernate.sql.model.ast
Interface RestrictedTableMutation<O extends MutationOperation>
- All Superinterfaces:
Statement
,TableMutation<O>
- All Known Subinterfaces:
TableDelete
,TableUpdate<O>
- All Known Implementing Classes:
AbstractRestrictedTableMutation
,AbstractTableDelete
,AbstractTableUpdate
,OptionalTableUpdate
,TableDeleteCustomSql
,TableDeleteStandard
,TableUpdateCustomSql
,TableUpdateNoSet
,TableUpdateStandard
Specialized TableMutation implementation for mutations which
define a where-clause
-
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachKeyBinding
(BiConsumer<Integer, ColumnValueBinding> consumer) Visit each key bindingvoid
Visit each optimistic-lock bindingvoid
forEachValueBinding
(BiConsumer<Integer, ColumnValueBinding> consumer) The bindings for each key restriction (WHERE clause).default int
The number of key bindingsdefault int
The number of optimistic-lock bindingsAll optimistic-lock bindings (WHERE clause), appended after key bindingsMethods inherited from interface org.hibernate.sql.model.ast.TableMutation
createMutationOperation, createMutationOperation, forEachParameter, getExpectation, getMutatingTable, getMutationComment, getParameters, getTableName, isCallable
-
Method Details
-
getKeyBindings
List<ColumnValueBinding> getKeyBindings()The bindings for each key restriction (WHERE clause). -
getNumberOfKeyBindings
default int getNumberOfKeyBindings()The number of key bindings -
forEachKeyBinding
Visit each key binding -
getOptimisticLockBindings
List<ColumnValueBinding> getOptimisticLockBindings()All optimistic-lock bindings (WHERE clause), appended after key bindings- See Also:
-
getNumberOfOptimisticLockBindings
default int getNumberOfOptimisticLockBindings()The number of optimistic-lock bindings -
forEachOptimisticLockBinding
Visit each optimistic-lock binding -
forEachValueBinding
-