Class DeleteStatement
- java.lang.Object
-
- org.hibernate.sql.ast.tree.AbstractStatement
-
- org.hibernate.sql.ast.tree.AbstractMutationStatement
-
- org.hibernate.sql.ast.tree.AbstractUpdateOrDeleteStatement
-
- org.hibernate.sql.ast.tree.delete.DeleteStatement
-
- All Implemented Interfaces:
CteContainer
,MutationStatement
,Statement
public class DeleteStatement extends AbstractUpdateOrDeleteStatement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteStatement.DeleteStatementBuilder
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_ALIAS
-
Constructor Summary
Constructors Constructor Description DeleteStatement(CteContainer cteContainer, NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns)
DeleteStatement(NamedTableReference targetTable, FromClause fromClause, Predicate restriction)
DeleteStatement(NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns)
DeleteStatement(NamedTableReference targetTable, Predicate restriction)
DeleteStatement(NamedTableReference targetTable, Predicate restriction, List<ColumnReference> returningColumns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker walker)
Visitation-
Methods inherited from class org.hibernate.sql.ast.tree.AbstractUpdateOrDeleteStatement
getFromClause, getRestriction
-
Methods inherited from class org.hibernate.sql.ast.tree.AbstractMutationStatement
getReturningColumns, getTargetTable
-
Methods inherited from class org.hibernate.sql.ast.tree.AbstractStatement
addCteObject, addCteStatement, getCteObject, getCteObjects, getCteStatement, getCteStatements
-
-
-
-
Field Detail
-
DEFAULT_ALIAS
public static final String DEFAULT_ALIAS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeleteStatement
public DeleteStatement(NamedTableReference targetTable, Predicate restriction)
-
DeleteStatement
public DeleteStatement(NamedTableReference targetTable, Predicate restriction, List<ColumnReference> returningColumns)
-
DeleteStatement
public DeleteStatement(NamedTableReference targetTable, FromClause fromClause, Predicate restriction)
-
DeleteStatement
public DeleteStatement(NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns)
-
DeleteStatement
public DeleteStatement(CteContainer cteContainer, NamedTableReference targetTable, FromClause fromClause, Predicate restriction, List<ColumnReference> returningColumns)
-
-
Method Detail
-
accept
public void accept(SqlAstWalker walker)
Description copied from interface:Statement
Visitation
-
-