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
public interface TableUpdate<O extends MutationOperation> extends RestrictedTableMutation<O>
Models an update to a model (entity or collection) table, triggered from flush- API Note:
- I
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
forEachValueBinding(BiConsumer<Integer,ColumnValueBinding> consumer)
Visit each value bindingdefault int
getNumberOfValueBindings()
The number of value bindingsList<ColumnValueBinding>
getValueBindings()
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 Detail
-
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:
getValueBindings()
-
forEachValueBinding
void forEachValueBinding(BiConsumer<Integer,ColumnValueBinding> consumer)
Visit each value binding- See Also:
getValueBindings()
-
-