Top Description Fields Constructors Methods
org.hibernate.sql

public Class Delete

extends Object
implements RestrictionRenderingContext
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.RestrictionRenderingContext
Annotations
@Internal
Imports
java.util.ArrayList, .List, org.hibernate.Internal, org.hibernate.dialect.Dialect, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.sql.ast.spi.ParameterMarkerStrategy

A SQL DELETE statement.
Author
Gavin King

Field Summary

Modifier and TypeField and Description
protected String
private int
private final ParameterMarkerStrategy
protected final List<Restriction>
protected String

Constructor Summary

AccessConstructor and Description
public
Delete(SessionFactoryImplementor factory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public
Delete(ParameterMarkerStrategy parameterMarkerStrategy)

Method Summary

Modifier and TypeMethod and Description
public Delete
public Delete
public Delete
public Delete
addColumnRestriction(String... columnNames)

private void
private void
public String
public Delete
setComment(String comment)

public Delete
setTableName(String tableName)

public Delete
setVersionColumnName(String versionColumnName)

public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

commentback to summary
protected String comment
parameterCountback to summary
private int parameterCount
parameterMarkerStrategyback to summary
private final ParameterMarkerStrategy parameterMarkerStrategy
restrictionsback to summary
protected final List<Restriction> restrictions
tableNameback to summary
protected String tableName

Constructor Detail

Deleteback to summary
public Delete(SessionFactoryImplementor factory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Deleteback to summary
public Delete(ParameterMarkerStrategy parameterMarkerStrategy)

Method Detail

addColumnIsNotNullRestrictionback to summary
public Delete addColumnIsNotNullRestriction(String columnName)
Annotations
@SuppressWarnings:UnusedReturnValue
addColumnIsNullRestrictionback to summary
public Delete addColumnIsNullRestriction(String columnName)
Annotations
@SuppressWarnings:UnusedReturnValue
addColumnRestrictionback to summary
public Delete addColumnRestriction(String columnName)
Annotations
@SuppressWarnings:UnusedReturnValue
addColumnRestrictionback to summary
public Delete addColumnRestriction(String... columnNames)
Annotations
@SuppressWarnings:UnusedReturnValue
applyCommentback to summary
private void applyComment(StringBuilder buf)
applyRestrictionsback to summary
private void applyRestrictions(StringBuilder buf)
makeParameterMarkerback to summary
public String makeParameterMarker()

Implements org.hibernate.sql.RestrictionRenderingContext.makeParameterMarker.

Annotations
@Override
setCommentback to summary
public Delete setComment(String comment)
setTableNameback to summary
public Delete setTableName(String tableName)
setVersionColumnNameback to summary
public Delete setVersionColumnName(String versionColumnName)
toStatementStringback to summary
public String toStatementString()