Class AbstractRestrictedTableMutation<O extends MutationOperation>
java.lang.Object
org.hibernate.sql.model.ast.AbstractTableMutation<O>
org.hibernate.sql.model.ast.AbstractRestrictedTableMutation<O>
- All Implemented Interfaces:
Statement, RestrictedTableMutation<O>, TableMutation<O>
- Direct Known Subclasses:
AbstractTableDelete, AbstractTableUpdate
public abstract class AbstractRestrictedTableMutation<O extends MutationOperation>
extends AbstractTableMutation<O>
implements RestrictedTableMutation<O>
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractRestrictedTableMutation(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String comment, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters) -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachKeyBinding(BiConsumer<Integer, ColumnValueBinding> consumer) Visit each key bindingvoidVisit each optimistic-lock bindingvoidforEachValueBinding(BiConsumer<Integer, ColumnValueBinding> consumer) The bindings for each key restriction (WHERE clause).All optimistic-lock bindings (WHERE clause), appended after key bindingsMethods inherited from class AbstractTableMutation
createMutationOperation, createMutationOperation, createMutationOperation, forEachParameter, forEachThing, getLoggableName, getMutatingTable, getMutationComment, getMutationTarget, getParameters, isCustomSql, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface RestrictedTableMutation
getNumberOfKeyBindings, getNumberOfOptimisticLockBindingsMethods inherited from interface Statement
accept, isSelectionMethods inherited from interface TableMutation
createMutationOperation, createMutationOperation, forEachParameter, getExpectation, getMutatingTable, getMutationComment, getParameters, getTableName, isCallable
-
Constructor Details
-
AbstractRestrictedTableMutation
public AbstractRestrictedTableMutation(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String comment, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters)
-
-
Method Details
-
getKeyBindings
Description copied from interface:RestrictedTableMutationThe bindings for each key restriction (WHERE clause).- Specified by:
getKeyBindingsin interfaceRestrictedTableMutation<O extends MutationOperation>
-
forEachKeyBinding
Description copied from interface:RestrictedTableMutationVisit each key binding- Specified by:
forEachKeyBindingin interfaceRestrictedTableMutation<O extends MutationOperation>
-
getOptimisticLockBindings
Description copied from interface:RestrictedTableMutationAll optimistic-lock bindings (WHERE clause), appended after key bindings- Specified by:
getOptimisticLockBindingsin interfaceRestrictedTableMutation<O extends MutationOperation>- See Also:
-
forEachOptimisticLockBinding
Description copied from interface:RestrictedTableMutationVisit each optimistic-lock binding- Specified by:
forEachOptimisticLockBindingin interfaceRestrictedTableMutation<O extends MutationOperation>
-
forEachValueBinding
- Specified by:
forEachValueBindingin interfaceRestrictedTableMutation<O extends MutationOperation>
-