Interface RestrictedTableMutationBuilder<O extends MutationOperation, M extends RestrictedTableMutation<O>>
- All Superinterfaces:
TableMutationBuilder<M>
- All Known Subinterfaces:
TableDeleteBuilder, TableUpdateBuilder<O>
- All Known Implementing Classes:
AbstractRestrictedTableMutationBuilder, AbstractTableUpdateBuilder, CollectionRowDeleteBuilder, CollectionRowDeleteByUpdateSetNullBuilder, TableDeleteBuilderSkipped, TableDeleteBuilderStandard, TableMergeBuilder, TableUpdateBuilderSkipped, TableUpdateBuilderStandard
public interface RestrictedTableMutationBuilder<O extends MutationOperation, M extends RestrictedTableMutation<O>>
extends TableMutationBuilder<M>
Specialized
TableMutationBuilder implementation for building mutations
which have a where clause.
Common operations of TableUpdateBuilder and TableDeleteBuilder.-
Field Summary
Fields inherited from interface TableMutationBuilder
NULL -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddKeyRestriction(SelectableMapping selectableMapping) Add a restriction as long as the selectable is not a formula and is not nullablevoidaddKeyRestrictionBinding(SelectableMapping selectableMapping) Add a restriction as long as the selectable is not a formula and is not nullabledefault voidaddKeyRestrictionLeniently(SelectableMapping selectableMapping) Add a restriction as long as the selectable is not a formuladefault voidaddKeyRestrictions(SelectableMappings selectableMappings) Add a restriction as long as the selectable is not a formula and is not nullabledefault voidaddKeyRestrictionsLeniently(SelectableMappings selectableMappings) Add a restriction as long as the selectable is not a formula and is not nullablevoidaddNonKeyRestriction(ColumnValueBinding valueBinding) Adds a restriction, which is assumed to be based on a selectable that is NOT a table key, e.g.voiddefault voidaddNullRestriction(SelectableMapping column) voidaddOptimisticLockRestriction(SelectableMapping selectableMapping) Add restriction based on non-version optimistically-locked columndefault voidaddOptimisticLockRestrictions(SelectableMappings selectableMappings) Add restriction based on non-version optimistically-locked columnvoidaddWhereFragment(String fragment) voidMethods inherited from interface TableMutationBuilder
buildMutation, getMutatingTable
-
Method Details
-
addNonKeyRestriction
Adds a restriction, which is assumed to be based on a selectable that is NOT a table key, e.g. optimistic locking.- API Note:
- Be sure you know what you are doing before using this method. Generally prefer any of the other methods here for adding non-key restrictions.
-
addKeyRestrictions
Add a restriction as long as the selectable is not a formula and is not nullable -
addKeyRestrictionsLeniently
Add a restriction as long as the selectable is not a formula and is not nullable -
addOptimisticLockRestrictions
Add restriction based on non-version optimistically-locked column -
addKeyRestriction
Add a restriction as long as the selectable is not a formula and is not nullable -
addKeyRestrictionLeniently
Add a restriction as long as the selectable is not a formula -
addKeyRestrictionBinding
Add a restriction as long as the selectable is not a formula and is not nullable -
addNullOptimisticLockRestriction
-
addNullRestriction
-
addOptimisticLockRestriction
Add restriction based on non-version optimistically-locked column -
getKeyRestrictionBindings
ColumnValueBindingList getKeyRestrictionBindings() -
getOptimisticLockBindings
ColumnValueBindingList getOptimisticLockBindings() -
setWhere
-
addWhereFragment
-