Package org.hibernate.sql.model.ast
Class AbstractTableDelete
- java.lang.Object
-
- org.hibernate.sql.model.ast.AbstractTableMutation<O>
-
- org.hibernate.sql.model.ast.AbstractRestrictedTableMutation<JdbcDeleteMutation>
-
- org.hibernate.sql.model.ast.AbstractTableDelete
-
- All Implemented Interfaces:
Statement
,RestrictedTableMutation<JdbcDeleteMutation>
,TableDelete
,TableMutation<JdbcDeleteMutation>
- Direct Known Subclasses:
TableDeleteCustomSql
,TableDeleteStandard
public abstract class AbstractTableDelete extends AbstractRestrictedTableMutation<JdbcDeleteMutation> implements TableDelete
-
-
Constructor Summary
Constructors Constructor Description AbstractTableDelete(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters)
AbstractTableDelete(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JdbcDeleteMutation
createMutationOperation(TableMapping tableDetails, String sql, List<JdbcParameterBinder> effectiveBinders)
Intended for use fromSqlAstTranslator
Expectation
getExpectation()
The validation expectation for the mutationprotected String
getLoggableName()
-
Methods inherited from class org.hibernate.sql.model.ast.AbstractRestrictedTableMutation
forEachKeyBinding, forEachOptimisticLockBinding, forEachValueBinding, getKeyBindings, getOptimisticLockBindings
-
Methods inherited from class org.hibernate.sql.model.ast.AbstractTableMutation
createMutationOperation, createMutationOperation, forEachParameter, forEachThing, getMutatingTable, getMutationComment, getMutationTarget, getParameters, isCustomSql, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.model.ast.RestrictedTableMutation
forEachKeyBinding, forEachOptimisticLockBinding, forEachValueBinding, getKeyBindings, getNumberOfKeyBindings, getNumberOfOptimisticLockBindings, getOptimisticLockBindings
-
Methods inherited from interface org.hibernate.sql.model.ast.TableMutation
createMutationOperation, createMutationOperation, forEachParameter, getMutatingTable, getMutationComment, getParameters, getTableName, isCallable
-
-
-
-
Constructor Detail
-
AbstractTableDelete
public AbstractTableDelete(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters)
-
AbstractTableDelete
public AbstractTableDelete(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters)
-
-
Method Detail
-
getLoggableName
protected String getLoggableName()
- Specified by:
getLoggableName
in classAbstractTableMutation<JdbcDeleteMutation>
-
getExpectation
public Expectation getExpectation()
Description copied from interface:TableMutation
The validation expectation for the mutation- Specified by:
getExpectation
in interfaceTableMutation<JdbcDeleteMutation>
-
createMutationOperation
protected JdbcDeleteMutation createMutationOperation(TableMapping tableDetails, String sql, List<JdbcParameterBinder> effectiveBinders)
Description copied from class:AbstractTableMutation
Intended for use fromSqlAstTranslator
- Specified by:
createMutationOperation
in classAbstractTableMutation<JdbcDeleteMutation>
effectiveBinders
- The parameter binders effective for this table mutation
-
-