Package org.hibernate.sql.model.internal
Class TableDeleteCustomSql
- java.lang.Object
-
- org.hibernate.sql.model.ast.AbstractTableMutation<O>
-
- org.hibernate.sql.model.ast.AbstractRestrictedTableMutation<JdbcDeleteMutation>
-
- org.hibernate.sql.model.ast.AbstractTableDelete
-
- org.hibernate.sql.model.internal.TableDeleteCustomSql
-
- All Implemented Interfaces:
Statement
,CustomSqlMutation<JdbcDeleteMutation>
,RestrictedTableMutation<JdbcDeleteMutation>
,TableDelete
,TableMutation<JdbcDeleteMutation>
public class TableDeleteCustomSql extends AbstractTableDelete implements CustomSqlMutation<JdbcDeleteMutation>
Deletion defined using custom sql-delete- See Also:
SQLDelete
-
-
Constructor Summary
Constructors Constructor Description TableDeleteCustomSql(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker walker)
VisitationString
getCustomSql()
The custom SQL provided by the mappingboolean
isCallable()
WhetherCustomSqlMutation.getCustomSql()
represents a callable (function/procedure)boolean
isCustomSql()
-
Methods inherited from class org.hibernate.sql.model.ast.AbstractTableDelete
createMutationOperation, getExpectation, 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, 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, getExpectation, getMutatingTable, getMutationComment, getParameters, getTableName
-
-
-
-
Constructor Detail
-
TableDeleteCustomSql
public TableDeleteCustomSql(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters)
-
-
Method Detail
-
isCustomSql
public boolean isCustomSql()
- Overrides:
isCustomSql
in classAbstractTableMutation<JdbcDeleteMutation>
-
getCustomSql
public String getCustomSql()
Description copied from interface:CustomSqlMutation
The custom SQL provided by the mapping- Specified by:
getCustomSql
in interfaceCustomSqlMutation<JdbcDeleteMutation>
-
isCallable
public boolean isCallable()
Description copied from interface:CustomSqlMutation
WhetherCustomSqlMutation.getCustomSql()
represents a callable (function/procedure)- Specified by:
isCallable
in interfaceCustomSqlMutation<JdbcDeleteMutation>
- Specified by:
isCallable
in interfaceTableMutation<JdbcDeleteMutation>
-
accept
public void accept(SqlAstWalker walker)
Description copied from interface:Statement
Visitation
-
-