Class TableDeleteBuilderSkipped
java.lang.Object
org.hibernate.sql.model.ast.builder.TableDeleteBuilderSkipped
- All Implemented Interfaces:
RestrictedTableMutationBuilder<JdbcDeleteMutation, TableDelete>, TableDeleteBuilder, TableMutationBuilder<TableDelete>
-
Field Summary
Fields inherited from interface TableMutationBuilder
NOT_NULL, NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKeyRestrictionBinding(SelectableMapping selectableMapping) Add a restriction as long as the selectable is not a formula and is not nullablevoidaddNonKeyRestriction(SelectableMapping restrictableMapping, String restrictionExpression) Adds a restriction, which is assumed to be based on a selectable that is NOT a table key, e.g.voidaddNonKeyRestriction(ColumnValueBinding valueBinding) Adds a restriction, which is assumed to be based on a selectable that is NOT a table key, e.g.voidvoidaddOptimisticLockRestriction(SelectableMapping selectableMapping) Add restriction based on non-version optimistically-locked columnvoidaddWhereFragment(String fragment) Build the mutation descriptorReference (in the SQL AST sense) to the mutating tablebooleanvoid
-
Constructor Details
-
TableDeleteBuilderSkipped
-
-
Method Details
-
addNonKeyRestriction
Description copied from interface:RestrictedTableMutationBuilderAdds a restriction, which is assumed to be based on a selectable that is NOT a table key, e.g. optimistic locking.- Specified by:
addNonKeyRestrictionin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation, TableDelete>
-
addNonKeyRestriction
public void addNonKeyRestriction(SelectableMapping restrictableMapping, String restrictionExpression) Description copied from interface:RestrictedTableMutationBuilderAdds a restriction, which is assumed to be based on a selectable that is NOT a table key, e.g. optimistic locking.- Specified by:
addNonKeyRestrictionin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation, TableDelete>
-
addKeyRestrictionBinding
Description copied from interface:RestrictedTableMutationBuilderAdd a restriction as long as the selectable is not a formula and is not nullable- Specified by:
addKeyRestrictionBindingin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation, TableDelete>
-
addNullOptimisticLockRestriction
- Specified by:
addNullOptimisticLockRestrictionin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation, TableDelete>
-
addOptimisticLockRestriction
Description copied from interface:RestrictedTableMutationBuilderAdd restriction based on non-version optimistically-locked column- Specified by:
addOptimisticLockRestrictionin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation, TableDelete>
-
getKeyRestrictionBindings
- Specified by:
getKeyRestrictionBindingsin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation, TableDelete>
-
getOptimisticLockBindings
- Specified by:
getOptimisticLockBindingsin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation, TableDelete>
-
setWhere
- Specified by:
setWherein interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation, TableDelete>
-
addWhereFragment
- Specified by:
addWhereFragmentin interfaceRestrictedTableMutationBuilder<JdbcDeleteMutation, TableDelete>
-
getMutatingTable
Description copied from interface:TableMutationBuilderReference (in the SQL AST sense) to the mutating table- Specified by:
getMutatingTablein interfaceTableMutationBuilder<TableDelete>
-
buildMutation
Description copied from interface:TableMutationBuilderBuild the mutation descriptor- Specified by:
buildMutationin interfaceTableMutationBuilder<TableDelete>
-
hasValueBindings
public boolean hasValueBindings()- Specified by:
hasValueBindingsin interfaceTableMutationBuilder<TableDelete>
-