Package org.hibernate.sql
Class Delete
- java.lang.Object
-
- org.hibernate.sql.Delete
-
- All Implemented Interfaces:
RestrictionRenderingContext
public class Delete extends Object implements RestrictionRenderingContext
A SQLDELETEstatement.
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcommentprotected List<Restriction>restrictionsprotected StringtableName
-
Constructor Summary
Constructors Constructor Description Delete(SessionFactoryImplementor factory)Delete(ParameterMarkerStrategy parameterMarkerStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteaddColumnIsNotNullRestriction(String columnName)DeleteaddColumnIsNullRestriction(String columnName)DeleteaddColumnRestriction(String columnName)DeleteaddColumnRestriction(String... columnNames)StringmakeParameterMarker()DeletesetComment(String comment)DeletesetTableName(String tableName)DeletesetVersionColumnName(String versionColumnName)StringtoStatementString()
-
-
-
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:
makeParameterMarkerin interfaceRestrictionRenderingContext
-
-