Package org.hibernate.sql.model.ast
Interface TableUpdate<O extends MutationOperation>
- All Superinterfaces:
RestrictedTableMutation<O>
,Statement
,TableMutation<O>
- All Known Implementing Classes:
AbstractTableUpdate
,TableUpdateCustomSql
,TableUpdateNoSet
,TableUpdateStandard
Models an update to a model (entity or collection) table,
triggered from flush
- API Note:
- I
-
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachReturningColumn
(BiConsumer<Integer, ColumnReference> consumer) Visit each return-columnvoid
forEachValueBinding
(BiConsumer<Integer, ColumnValueBinding> consumer) Visit each value bindingdefault int
The number of columns being returneddefault int
The number of value bindingsThe columns to return from the insert.The value bindings for each column.Methods inherited from interface org.hibernate.sql.model.ast.RestrictedTableMutation
forEachKeyBinding, forEachOptimisticLockBinding, getKeyBindings, getNumberOfKeyBindings, getNumberOfOptimisticLockBindings, getOptimisticLockBindings
Methods inherited from interface org.hibernate.sql.model.ast.TableMutation
createMutationOperation, createMutationOperation, forEachParameter, getExpectation, getMutatingTable, getMutationComment, getParameters, getTableName, isCallable
-
Method Details
-
getValueBindings
List<ColumnValueBinding> getValueBindings()The value bindings for each column.- Implementation Note:
- Table key column(s) are not included here as those are not ever updated
-
getNumberOfValueBindings
default int getNumberOfValueBindings()The number of value bindings- See Also:
-
forEachValueBinding
Visit each value binding- Specified by:
forEachValueBinding
in interfaceRestrictedTableMutation<O extends MutationOperation>
- See Also:
-
getReturningColumns
List<ColumnReference> getReturningColumns()The columns to return from the insert. -
getNumberOfReturningColumns
default int getNumberOfReturningColumns()The number of columns being returned- See Also:
-
forEachReturningColumn
Visit each return-column- See Also:
-