Package org.hibernate.sql
Class Delete
- java.lang.Object
-
- org.hibernate.sql.Delete
-
- All Implemented Interfaces:
RestrictionRenderingContext
@Internal public class Delete extends Object implements RestrictionRenderingContext
A SQLDELETE
statement.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
comment
protected List<Restriction>
restrictions
protected String
tableName
-
Constructor Summary
Constructors Constructor Description Delete(SessionFactoryImplementor factory)
Delete(ParameterMarkerStrategy parameterMarkerStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Delete
addColumnIsNotNullRestriction(String columnName)
Delete
addColumnIsNullRestriction(String columnName)
Delete
addColumnRestriction(String columnName)
Delete
addColumnRestriction(String... columnNames)
String
makeParameterMarker()
Delete
setComment(String comment)
Delete
setTableName(String tableName)
Delete
setVersionColumnName(String versionColumnName)
String
toStatementString()
-
-
-
Field Detail
-
tableName
protected String tableName
-
comment
protected String comment
-
restrictions
protected final List<Restriction> restrictions
-
-
Constructor Detail
-
Delete
public Delete(SessionFactoryImplementor factory)
-
Delete
public Delete(ParameterMarkerStrategy parameterMarkerStrategy)
-
-
Method Detail
-
toStatementString
public String toStatementString()
-
makeParameterMarker
public String makeParameterMarker()
- Specified by:
makeParameterMarker
in interfaceRestrictionRenderingContext
-
-