Interface EntityExistsQuery<T>

Type Parameters:
T - 实体类类型
All Superinterfaces:
DaoSupplier, EntitySupplier<T>
All Known Implementing Classes:
EntityDao

public interface EntityExistsQuery<T> extends DaoSupplier, EntitySupplier<T>
实体类存在查询
Author:
Maning
  • Method Details

    • exists

      default boolean exists(Consumer<Select> customizer)
      存在查询
      Parameters:
      customizer - 查询自定义
      Returns:
      是否存在
    • exists

      default boolean exists(Collection<? extends Condition> conditions)
      存在查询
      Parameters:
      conditions - 条件
      Returns:
      是否存在
    • exists

      default boolean exists(Condition... conditions)
      存在查询
      Parameters:
      conditions - 条件
      Returns:
      是否存在
    • exists

      default boolean exists(Searchable search, Collection<? extends Condition> conditions)
      存在查询
      Parameters:
      search - 筛选对象
      conditions - 条件
      Returns:
      是否存在
    • exists

      default boolean exists(Searchable search, Condition... conditions)
      存在查询
      Parameters:
      search - 筛选对象
      conditions - 条件
      Returns:
      是否存在
    • existsById

      default boolean existsById(Serializable id, Collection<? extends Condition> conditions)
      存在查询通过ID
      Parameters:
      id - ID
      conditions - 条件
      Returns:
      是否存在
    • existsById

      default boolean existsById(Serializable id, Condition... conditions)
      存在查询通过ID
      Parameters:
      id - ID
      conditions - 条件
      Returns:
      是否存在