Package org.hibernate.sql.model.internal
Class TableUpdateNoSet
java.lang.Object
org.hibernate.sql.model.ast.AbstractTableMutation<O>
org.hibernate.sql.model.ast.AbstractRestrictedTableMutation<MutationOperation>
org.hibernate.sql.model.internal.TableUpdateNoSet
- All Implemented Interfaces:
Statement
,RestrictedTableMutation<MutationOperation>
,TableMutation<MutationOperation>
,TableUpdate<MutationOperation>
public class TableUpdateNoSet
extends AbstractRestrictedTableMutation<MutationOperation>
implements TableUpdate<MutationOperation>
A skipped update
-
Constructor Summary
ConstructorsConstructorDescriptionTableUpdateNoSet
(MutatingTableReference mutatingTable, MutationTarget<?> mutationTarget) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SqlAstWalker walker) Visitationprotected JdbcMutationOperation
createMutationOperation
(TableMapping tableDetails, String sql, List<JdbcParameterBinder> effectiveBinders) Intended for use fromSqlAstTranslator
void
forEachParameter
(Consumer<ColumnValueParameter> consumer) Visit the JDBC parameters associated with this mutation.void
forEachReturningColumn
(BiConsumer<Integer, ColumnReference> consumer) Visit each return-columnThe validation expectation for the mutationprotected String
The columns to return from the insert.The value bindings for each column.boolean
Is the mutation a procedure/function?boolean
Methods inherited from class org.hibernate.sql.model.ast.AbstractRestrictedTableMutation
forEachKeyBinding, forEachOptimisticLockBinding, forEachValueBinding, 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
forEachValueBinding, getNumberOfReturningColumns, getNumberOfValueBindings
-
Constructor Details
-
TableUpdateNoSet
-
-
Method Details
-
getLoggableName
- Specified by:
getLoggableName
in classAbstractTableMutation<MutationOperation>
-
isCustomSql
public boolean isCustomSql()- Overrides:
isCustomSql
in classAbstractTableMutation<MutationOperation>
-
accept
Description copied from interface:Statement
Visitation -
createMutationOperation
protected JdbcMutationOperation createMutationOperation(TableMapping tableDetails, String sql, List<JdbcParameterBinder> effectiveBinders) Description copied from class:AbstractTableMutation
Intended for use fromSqlAstTranslator
- Specified by:
createMutationOperation
in classAbstractTableMutation<MutationOperation>
effectiveBinders
- The parameter binders effective for this table mutation
-
getExpectation
Description copied from interface:TableMutation
The validation expectation for the mutation- Specified by:
getExpectation
in interfaceTableMutation<MutationOperation>
-
isCallable
public boolean isCallable()Description copied from interface:TableMutation
Is the mutation a procedure/function?- Specified by:
isCallable
in interfaceTableMutation<MutationOperation>
-
getValueBindings
Description copied from interface:TableUpdate
The value bindings for each column.- Specified by:
getValueBindings
in interfaceTableUpdate<MutationOperation>
-
forEachParameter
Description copied from interface:TableMutation
Visit the JDBC parameters associated with this mutation. The order here is the expected binding order for thePreparedStatement
.- Specified by:
forEachParameter
in interfaceTableMutation<MutationOperation>
- Overrides:
forEachParameter
in classAbstractTableMutation<MutationOperation>
- See Also:
-
getReturningColumns
Description copied from interface:TableUpdate
The columns to return from the insert.- Specified by:
getReturningColumns
in interfaceTableUpdate<MutationOperation>
-
forEachReturningColumn
Description copied from interface:TableUpdate
Visit each return-column- Specified by:
forEachReturningColumn
in interfaceTableUpdate<MutationOperation>
- See Also:
-