接口 MutableDelete

所有超级接口:
Executable<Integer>, Filterable
所有已知实现类:
MutableDeleteImpl

public interface MutableDelete extends Filterable, Executable<Integer>
  • 方法详细资料

    • where

      @OldChain MutableDelete where(Predicate... predicates)
      从接口复制的说明: Filterable
      Add some predicates(logical and)
      指定者:
      where 在接口中 Filterable
      参数:
      predicates - Predicates, everything one can be null
      返回:
      Return the current object to support chain programming style
    • whereIf

      @OldChain default MutableDelete whereIf(boolean condition, Predicate predicate)
      从接口复制的说明: Filterable
      If the condition is true, add a predicate

      Please look at this example about predicate is not `eq`, `ne`, `like` or `ilike`

      
           whereIf(minPrice != null, table.price().ge(minPrice))
       
      The predicate `ge` which is not `eq`, `ne`, `like` or `ilike` cannot be created by null because `NullPointerException` will be thrown. At this time, you can use Filterable.whereIf(boolean, Supplier)
      指定者:
      whereIf 在接口中 Filterable
      参数:
      condition - The condition
      predicate - The predicate to be added, can be null
      返回:
      Return the current object to support chain programming style
    • whereIf

      @OldChain default MutableDelete whereIf(boolean condition, Supplier<Predicate> block)
      从接口复制的说明: Filterable
      If the condition is true, add a predicate
      指定者:
      whereIf 在接口中 Filterable
      参数:
      condition - The condition
      block - A lambda to create predicate when condition is true
      返回:
      Return the current object to support chain programming style
    • disableDissociation

      MutableDelete disableDissociation()