Class UpdateStatement
- 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.update.UpdateStatement
-
- All Implemented Interfaces:
CteContainer
,MutationStatement
,Statement
public class UpdateStatement extends AbstractUpdateOrDeleteStatement
-
-
Constructor Summary
Constructors Constructor Description UpdateStatement(CteContainer cteContainer, NamedTableReference targetTable, FromClause fromClause, List<Assignment> assignments, Predicate restriction, List<ColumnReference> returningColumns)
UpdateStatement(NamedTableReference targetTable, List<Assignment> assignments, Predicate restriction)
UpdateStatement(NamedTableReference targetTable, List<Assignment> assignments, Predicate restriction, List<ColumnReference> returningColumns)
UpdateStatement(NamedTableReference targetTable, FromClause fromClause, List<Assignment> assignments, Predicate restriction)
UpdateStatement(NamedTableReference targetTable, FromClause fromClause, List<Assignment> assignments, Predicate restriction, List<ColumnReference> returningColumns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker walker)
VisitationList<Assignment>
getAssignments()
-
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
-
-
-
-
Constructor Detail
-
UpdateStatement
public UpdateStatement(NamedTableReference targetTable, List<Assignment> assignments, Predicate restriction)
-
UpdateStatement
public UpdateStatement(NamedTableReference targetTable, List<Assignment> assignments, Predicate restriction, List<ColumnReference> returningColumns)
-
UpdateStatement
public UpdateStatement(NamedTableReference targetTable, FromClause fromClause, List<Assignment> assignments, Predicate restriction)
-
UpdateStatement
public UpdateStatement(NamedTableReference targetTable, FromClause fromClause, List<Assignment> assignments, Predicate restriction, List<ColumnReference> returningColumns)
-
UpdateStatement
public UpdateStatement(CteContainer cteContainer, NamedTableReference targetTable, FromClause fromClause, List<Assignment> assignments, Predicate restriction, List<ColumnReference> returningColumns)
-
-
Method Detail
-
getAssignments
public List<Assignment> getAssignments()
-
accept
public void accept(SqlAstWalker walker)
Description copied from interface:Statement
Visitation
-
-