Class TableDeleteBuilderSkipped
- java.lang.Object
-
- org.hibernate.sql.model.ast.builder.TableDeleteBuilderSkipped
-
- All Implemented Interfaces:
RestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>,TableDeleteBuilder,TableMutationBuilder<TableDelete>
public class TableDeleteBuilderSkipped extends Object implements TableDeleteBuilder
-
-
Field Summary
-
Fields inherited from interface org.hibernate.sql.model.ast.builder.TableMutationBuilder
NULL
-
-
Constructor Summary
Constructors Constructor Description TableDeleteBuilderSkipped(TableMapping tableMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddKeyRestriction(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 columnvoidaddWhereFragment(String fragment)TableDeletebuildMutation()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.RestrictedTableMutationBuilder
addKeyRestriction, addKeyRestrictionLeniently, addKeyRestrictions, addKeyRestrictionsLeniently, addOptimisticLockRestriction, addOptimisticLockRestrictions
-
-
-
-
Constructor Detail
-
TableDeleteBuilderSkipped
public TableDeleteBuilderSkipped(TableMapping tableMapping)
-
-
Method Detail
-
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<JdbcDeleteMutation,TableDelete>
-
addNullOptimisticLockRestriction
public void addNullOptimisticLockRestriction(SelectableMapping column)
- Specified by:
addNullOptimisticLockRestrictionin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
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<JdbcDeleteMutation,TableDelete>
-
addLiteralRestriction
public void addLiteralRestriction(String columnName, String sqlLiteralText, JdbcMapping jdbcMapping)
- Specified by:
addLiteralRestrictionin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
getKeyRestrictionBindings
public ColumnValueBindingList getKeyRestrictionBindings()
- Specified by:
getKeyRestrictionBindingsin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
getOptimisticLockBindings
public ColumnValueBindingList getOptimisticLockBindings()
- Specified by:
getOptimisticLockBindingsin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
setWhere
public void setWhere(String fragment)
- Specified by:
setWherein interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
addWhereFragment
public void addWhereFragment(String fragment)
- Specified by:
addWhereFragmentin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
getMutatingTable
public MutatingTableReference getMutatingTable()
Description copied from interface:TableMutationBuilderReference (in the SQL AST sense) to the mutating table- Specified by:
getMutatingTablein interfaceTableMutationBuilder<TableDelete>
-
buildMutation
public TableDelete buildMutation()
Description copied from interface:TableMutationBuilderBuild the mutation descriptor- Specified by:
buildMutationin interfaceTableMutationBuilder<TableDelete>
-
-