Class TableUpdateBuilderSkipped
- java.lang.Object
-
- org.hibernate.sql.model.ast.builder.TableUpdateBuilderSkipped
-
- All Implemented Interfaces:
SelectableConsumer,ColumnValuesTableMutationBuilder,RestrictedTableMutationBuilder,TableMutationBuilder,TableUpdateBuilder
public class TableUpdateBuilderSkipped extends Object implements TableUpdateBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.SelectableConsumer
SelectableConsumer.MutableSelectableMapping
-
-
Field Summary
-
Fields inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
NULL
-
-
Constructor Summary
Constructors Constructor Description TableUpdateBuilderSkipped(MutatingTableReference tableReference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddKeyColumn(String columnName, String valueExpression, JdbcMapping jdbcMapping)Add a key columnvoidaddKeyRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)Add restriction based on the column in the table's keyvoidaddLiteralRestriction(String columnName, String sqlLiteralText, JdbcMapping jdbcMapping)voidaddNullOptimisticLockRestriction(SelectableMapping column)voidaddOptimisticLockRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)Add restriction based on non-version optimistically-locked columnvoidaddValueColumn(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping, boolean isLob)Add a column as part of the values listvoidaddWhereFragment(String fragment)RestrictedTableMutation<JdbcMutationOperation>buildMutation()Build the mutation descriptorColumnValueBindingListgetKeyRestrictionBindings()MutatingTableReferencegetMutatingTable()Reference (in the SQL AST sense) to the mutating tableColumnValueBindingListgetOptimisticLockBindings()voidsetWhere(String fragment)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.model.ast.builder.ColumnValuesTableMutationBuilder
addKeyColumn, addValueColumn, addValueColumn
-
Methods inherited from interface org.hibernate.sql.model.ast.builder.RestrictedTableMutationBuilder
addKeyRestriction, addKeyRestrictionLeniently, addKeyRestrictions, addKeyRestrictionsLeniently, addOptimisticLockRestriction, addOptimisticLockRestrictions
-
Methods inherited from interface org.hibernate.metamodel.mapping.SelectableConsumer
accept, accept
-
Methods inherited from interface org.hibernate.sql.model.ast.builder.TableUpdateBuilder
accept
-
-
-
-
Constructor Detail
-
TableUpdateBuilderSkipped
public TableUpdateBuilderSkipped(MutatingTableReference tableReference)
-
-
Method Detail
-
getMutatingTable
public MutatingTableReference getMutatingTable()
Description copied from interface:TableMutationBuilderReference (in the SQL AST sense) to the mutating table- Specified by:
getMutatingTablein interfaceTableMutationBuilder
-
buildMutation
public RestrictedTableMutation<JdbcMutationOperation> buildMutation()
Description copied from interface:TableMutationBuilderBuild the mutation descriptor- Specified by:
buildMutationin interfaceTableMutationBuilder
-
addKeyRestriction
public void addKeyRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
Description copied from interface:RestrictedTableMutationBuilderAdd restriction based on the column in the table's key- Specified by:
addKeyRestrictionin interfaceRestrictedTableMutationBuilder
-
addNullOptimisticLockRestriction
public void addNullOptimisticLockRestriction(SelectableMapping column)
- Specified by:
addNullOptimisticLockRestrictionin interfaceRestrictedTableMutationBuilder
-
addOptimisticLockRestriction
public void addOptimisticLockRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
Description copied from interface:RestrictedTableMutationBuilderAdd restriction based on non-version optimistically-locked column- Specified by:
addOptimisticLockRestrictionin interfaceRestrictedTableMutationBuilder
-
addLiteralRestriction
public void addLiteralRestriction(String columnName, String sqlLiteralText, JdbcMapping jdbcMapping)
- Specified by:
addLiteralRestrictionin interfaceRestrictedTableMutationBuilder
-
getKeyRestrictionBindings
public ColumnValueBindingList getKeyRestrictionBindings()
- Specified by:
getKeyRestrictionBindingsin interfaceRestrictedTableMutationBuilder
-
getOptimisticLockBindings
public ColumnValueBindingList getOptimisticLockBindings()
- Specified by:
getOptimisticLockBindingsin interfaceRestrictedTableMutationBuilder
-
addWhereFragment
public void addWhereFragment(String fragment)
- Specified by:
addWhereFragmentin interfaceRestrictedTableMutationBuilder
-
addValueColumn
public void addValueColumn(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping, boolean isLob)
Description copied from interface:ColumnValuesTableMutationBuilderAdd a column as part of the values list- Specified by:
addValueColumnin interfaceColumnValuesTableMutationBuilder
-
addKeyColumn
public void addKeyColumn(String columnName, String valueExpression, JdbcMapping jdbcMapping)
Description copied from interface:ColumnValuesTableMutationBuilderAdd a key column- Specified by:
addKeyColumnin interfaceColumnValuesTableMutationBuilder
-
setWhere
public void setWhere(String fragment)
- Specified by:
setWherein interfaceRestrictedTableMutationBuilder- Specified by:
setWherein interfaceTableUpdateBuilder
-
-