Top Inners Fields Constructors Methods
org.hibernate.sql.ast.tree.delete

public Class DeleteStatement

extends AbstractUpdateOrDeleteStatement
Class Inheritance
Imports
java.util.Collections, .List, org.hibernate.sql.ast.SqlAstWalker, org.hibernate.sql.ast.spi.SqlAstHelper, org.hibernate.sql.ast.tree.AbstractUpdateOrDeleteStatement, org.hibernate.sql.ast.tree.cte.CteContainer, org.hibernate.sql.ast.tree.expression.ColumnReference, org.hibernate.sql.ast.tree.from.FromClause, .NamedTableReference, org.hibernate.sql.ast.tree.predicate.Junction, .Predicate

Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final String

Constructor Summary

AccessConstructor and Description
public
DeleteStatement(NamedTableReference targetTable, Predicate restriction)

public
DeleteStatement(NamedTableReference targetTable, Predicate restriction, List<ColumnReference> returningColumns)

public
DeleteStatement(NamedTableReference targetTable, FromClause fromClause, Predicate restriction)

public
DeleteStatement(NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns)

public
DeleteStatement(CteContainer cteContainer, NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns)

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from org.hibernate.sql.ast.tree.AbstractUpdateOrDeleteStatement:
getFromClausegetRestriction

Field Detail

DEFAULT_ALIASback to summary
public static final String DEFAULT_ALIAS

Constructor Detail

DeleteStatementback to summary
public DeleteStatement(NamedTableReference targetTable, Predicate restriction)
DeleteStatementback to summary
public DeleteStatement(NamedTableReference targetTable, Predicate restriction, List<ColumnReference> returningColumns)
DeleteStatementback to summary
public DeleteStatement(NamedTableReference targetTable, FromClause fromClause, Predicate restriction)
DeleteStatementback to summary
public DeleteStatement(NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns)
DeleteStatementback to summary
public DeleteStatement(CteContainer cteContainer, NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns)

Method Detail

acceptback to summary
public void accept(SqlAstWalker walker)

Implements org.hibernate.sql.ast.tree.Statement.accept.

Doc from org.hibernate.sql.ast.tree.Statement.accept.

Visitation

Annotations
@Override
org.hibernate.sql.ast.tree.delete back to summary

public Class DeleteStatement.DeleteStatementBuilder

extends Object
Class Inheritance
  • java.lang.Object
  • org.hibernate.sql.ast.tree.delete.DeleteStatement.DeleteStatementBuilder

Field Summary

Modifier and TypeField and Description
private Predicate
private final NamedTableReference

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public DeleteStatement.DeleteStatementBuilder
public DeleteStatement
public DeleteStatement.DeleteStatementBuilder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

restrictionback to summary
private Predicate restriction
targetTableback to summary
private final NamedTableReference targetTable

Constructor Detail

DeleteStatementBuilderback to summary
public DeleteStatementBuilder(NamedTableReference targetTable)

Method Detail

addRestrictionback to summary
public DeleteStatement.DeleteStatementBuilder addRestriction(Predicate restriction)
createDeleteStatementback to summary
public DeleteStatement createDeleteStatement()
setRestrictionback to summary
public DeleteStatement.DeleteStatementBuilder setRestriction(Predicate restriction)