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 void
addKeyRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
Add restriction based on the column in the table's keyvoid
addLiteralRestriction(String columnName, String sqlLiteralText, JdbcMapping jdbcMapping)
void
addNullOptimisticLockRestriction(SelectableMapping column)
void
addOptimisticLockRestriction(String columnName, String columnWriteFragment, JdbcMapping jdbcMapping)
Add restriction based on non-version optimistically-locked columnvoid
addWhereFragment(String fragment)
TableDelete
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.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:RestrictedTableMutationBuilder
Add restriction based on the column in the table's key- Specified by:
addKeyRestriction
in interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
addNullOptimisticLockRestriction
public void addNullOptimisticLockRestriction(SelectableMapping column)
- Specified by:
addNullOptimisticLockRestriction
in interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
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<JdbcDeleteMutation,TableDelete>
-
addLiteralRestriction
public void addLiteralRestriction(String columnName, String sqlLiteralText, JdbcMapping jdbcMapping)
- Specified by:
addLiteralRestriction
in interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
getKeyRestrictionBindings
public ColumnValueBindingList getKeyRestrictionBindings()
- Specified by:
getKeyRestrictionBindings
in interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
getOptimisticLockBindings
public ColumnValueBindingList getOptimisticLockBindings()
- Specified by:
getOptimisticLockBindings
in interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
setWhere
public void setWhere(String fragment)
- Specified by:
setWhere
in interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
addWhereFragment
public void addWhereFragment(String fragment)
- Specified by:
addWhereFragment
in interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation,TableDelete>
-
getMutatingTable
public MutatingTableReference getMutatingTable()
Description copied from interface:TableMutationBuilder
Reference (in the SQL AST sense) to the mutating table- Specified by:
getMutatingTable
in interfaceTableMutationBuilder<TableDelete>
-
buildMutation
public TableDelete buildMutation()
Description copied from interface:TableMutationBuilder
Build the mutation descriptor- Specified by:
buildMutation
in interfaceTableMutationBuilder<TableDelete>
-
-