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 void
addKeyColumn(String columnName, String valueExpression, JdbcMapping jdbcMapping)
Add a key columnvoid
addKeyRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
Add restriction based on the column in the table's keyvoid
addNullOptimisticLockRestriction(SelectableMapping column)
void
addOptimisticLockRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
Add restriction based on non-version optimistically-locked columnvoid
addValueColumn(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping, boolean isLob)
Add a column as part of the values listvoid
addWhereFragment(String fragment)
RestrictedTableMutation<JdbcMutationOperation>
buildMutation()
Build the mutation descriptorColumnValueBindingList
getKeyRestrictionBindings()
MutatingTableReference
getMutatingTable()
Reference (in the SQL AST sense) to the mutating tableColumnValueBindingList
getOptimisticLockBindings()
void
setWhere(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:TableMutationBuilder
Reference (in the SQL AST sense) to the mutating table- Specified by:
getMutatingTable
in interfaceTableMutationBuilder
-
buildMutation
public RestrictedTableMutation<JdbcMutationOperation> buildMutation()
Description copied from interface:TableMutationBuilder
Build the mutation descriptor- Specified by:
buildMutation
in interfaceTableMutationBuilder
-
addKeyRestriction
public void addKeyRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
Description copied from interface:RestrictedTableMutationBuilder
Add restriction based on the column in the table's key- Specified by:
addKeyRestriction
in interfaceRestrictedTableMutationBuilder
-
addNullOptimisticLockRestriction
public void addNullOptimisticLockRestriction(SelectableMapping column)
- Specified by:
addNullOptimisticLockRestriction
in interfaceRestrictedTableMutationBuilder
-
addOptimisticLockRestriction
public void addOptimisticLockRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
Description copied from interface:RestrictedTableMutationBuilder
Add restriction based on non-version optimistically-locked column- Specified by:
addOptimisticLockRestriction
in interfaceRestrictedTableMutationBuilder
-
getKeyRestrictionBindings
public ColumnValueBindingList getKeyRestrictionBindings()
- Specified by:
getKeyRestrictionBindings
in interfaceRestrictedTableMutationBuilder
-
getOptimisticLockBindings
public ColumnValueBindingList getOptimisticLockBindings()
- Specified by:
getOptimisticLockBindings
in interfaceRestrictedTableMutationBuilder
-
addWhereFragment
public void addWhereFragment(String fragment)
- Specified by:
addWhereFragment
in interfaceRestrictedTableMutationBuilder
-
addValueColumn
public void addValueColumn(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping, boolean isLob)
Description copied from interface:ColumnValuesTableMutationBuilder
Add a column as part of the values list- Specified by:
addValueColumn
in interfaceColumnValuesTableMutationBuilder
-
addKeyColumn
public void addKeyColumn(String columnName, String valueExpression, JdbcMapping jdbcMapping)
Description copied from interface:ColumnValuesTableMutationBuilder
Add a key column- Specified by:
addKeyColumn
in interfaceColumnValuesTableMutationBuilder
-
setWhere
public void setWhere(String fragment)
- Specified by:
setWhere
in interfaceRestrictedTableMutationBuilder
- Specified by:
setWhere
in interfaceTableUpdateBuilder
-
-