Interface ExistsQuery
- All Superinterfaces:
Executable
- All Known Implementing Classes:
Dao
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanexists(Class<?> entityClass, Collection<? extends Condition> conditions) 存在查询default boolean存在查询default boolean存在查询default booleanexists(Class<?> entityClass, Searchable search, Collection<? extends Condition> conditions) 存在查询default booleanexists(Class<?> entityClass, Searchable search, Condition... conditions) 存在查询default booleanexistsById(Class<?> entityClass, Serializable id, Collection<? extends Condition> conditions) 存在查询通过IDdefault booleanexistsById(Class<?> entityClass, Serializable id, Condition... conditions) 存在查询通过IDMethods inherited from interface Executable
executor, interceptor
-
Method Details
-
exists
-
exists
存在查询- Parameters:
entityClass- 实体类conditions- 条件- Returns:
- 是否存在
-
exists
-
exists
default boolean exists(Class<?> entityClass, Searchable search, Collection<? extends Condition> conditions) 存在查询- Parameters:
entityClass- 实体类search- 筛选对象conditions- 条件- Returns:
- 是否存在
-
exists
存在查询- Parameters:
entityClass- 实体类search- 筛选对象conditions- 条件- Returns:
- 是否存在
-
existsById
default boolean existsById(Class<?> entityClass, Serializable id, Collection<? extends Condition> conditions) 存在查询通过ID- Parameters:
entityClass- 实体类id- IDconditions- 条件- Returns:
- 是否存在
-
existsById
存在查询通过ID- Parameters:
entityClass- 实体类id- IDconditions- 条件- Returns:
- 是否存在
-