Package org.hibernate.sql.model.internal
Class TableUpdateStandard
- java.lang.Object
-
- org.hibernate.sql.model.ast.AbstractTableMutation<O>
-
- org.hibernate.sql.model.ast.AbstractRestrictedTableMutation<O>
-
- org.hibernate.sql.model.ast.AbstractTableUpdate<JdbcMutationOperation>
-
- org.hibernate.sql.model.internal.TableUpdateStandard
-
- All Implemented Interfaces:
Statement
,RestrictedTableMutation<JdbcMutationOperation>
,TableMutation<JdbcMutationOperation>
,TableUpdate<JdbcMutationOperation>
public class TableUpdateStandard extends AbstractTableUpdate<JdbcMutationOperation>
-
-
Constructor Summary
Constructors Constructor Description TableUpdateStandard(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings)
TableUpdateStandard(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, String whereFragment, Expectation expectation)
TableUpdateStandard(MutatingTableReference tableReference, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters)
TableUpdateStandard(MutatingTableReference tableReference, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters, String whereFragment, Expectation expectation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker walker)
VisitationExpectation
getExpectation()
The validation expectation for the mutationString
getWhereFragment()
boolean
isCallable()
Is the mutation a procedure/function?boolean
isCustomSql()
-
Methods inherited from class org.hibernate.sql.model.ast.AbstractTableUpdate
collectParameters, createMutationOperation, forEachParameter, forEachValueBinding, getLoggableName, getValueBindings
-
Methods inherited from class org.hibernate.sql.model.ast.AbstractRestrictedTableMutation
forEachKeyBinding, forEachOptimisticLockBinding, getKeyBindings, getOptimisticLockBindings
-
Methods inherited from class org.hibernate.sql.model.ast.AbstractTableMutation
createMutationOperation, createMutationOperation, forEachThing, getMutatingTable, getMutationComment, getMutationTarget, getParameters, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.model.ast.RestrictedTableMutation
forEachKeyBinding, forEachOptimisticLockBinding, getKeyBindings, getNumberOfKeyBindings, getNumberOfOptimisticLockBindings, getOptimisticLockBindings
-
Methods inherited from interface org.hibernate.sql.model.ast.TableMutation
createMutationOperation, createMutationOperation, getMutatingTable, getMutationComment, getParameters, getTableName
-
Methods inherited from interface org.hibernate.sql.model.ast.TableUpdate
getNumberOfValueBindings
-
-
-
-
Constructor Detail
-
TableUpdateStandard
public TableUpdateStandard(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings)
-
TableUpdateStandard
public TableUpdateStandard(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, String whereFragment, Expectation expectation)
-
TableUpdateStandard
public TableUpdateStandard(MutatingTableReference tableReference, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters)
-
TableUpdateStandard
public TableUpdateStandard(MutatingTableReference tableReference, MutationTarget<?> mutationTarget, String sqlComment, List<ColumnValueBinding> valueBindings, List<ColumnValueBinding> keyRestrictionBindings, List<ColumnValueBinding> optLockRestrictionBindings, List<ColumnValueParameter> parameters, String whereFragment, Expectation expectation)
-
-
Method Detail
-
isCustomSql
public boolean isCustomSql()
- Overrides:
isCustomSql
in classAbstractTableMutation<JdbcMutationOperation>
-
isCallable
public boolean isCallable()
Description copied from interface:TableMutation
Is the mutation a procedure/function?
-
getWhereFragment
public String getWhereFragment()
-
accept
public void accept(SqlAstWalker walker)
Description copied from interface:Statement
Visitation
-
getExpectation
public Expectation getExpectation()
Description copied from interface:TableMutation
The validation expectation for the mutation- Specified by:
getExpectation
in interfaceTableMutation<JdbcMutationOperation>
- Overrides:
getExpectation
in classAbstractTableUpdate<JdbcMutationOperation>
-
-