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 TypeMethodDescriptionvoidforEachReturningColumn(BiConsumer<Integer, ColumnReference> consumer) Visit each return-columnvoidforEachValueBinding(BiConsumer<Integer, ColumnValueBinding> consumer) Visit each value bindingdefault intThe number of columns being returneddefault intThe 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, getOptimisticLockBindingsMethods 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:
forEachValueBindingin 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:
-