Class Weekend<T>

java.lang.Object
org.miaixz.bus.mapper.entity.Condition
org.miaixz.bus.mapper.criteria.Weekend<T>
Type Parameters:
T - 泛型
All Implemented Interfaces:
TableNames

public class Weekend<T> extends Condition
条件
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • Weekend

      public Weekend(Class<T> entityClass)
    • Weekend

      public Weekend(Class<T> entityClass, boolean exists)
    • Weekend

      public Weekend(Class<T> entityClass, boolean exists, boolean notNull)
  • Method Details

    • of

      public static <A> Weekend<A> of(Class<A> clazz, Boolean exists, boolean notNull)
    • of

      public static <A> Weekend<A> of(Class<A> clazz, Boolean exists)
    • of

      public static <A> Weekend<A> of(Class<A> clazz)
    • createCriteriaAddOn

      public WeekendCriteria<T,Object> createCriteriaAddOn()
    • createCriteriaInternal

      protected Condition.Criteria createCriteriaInternal()
      Overrides:
      createCriteriaInternal in class Condition
    • weekendCriteria

      public WeekendCriteria<T,Object> weekendCriteria()
    • excludeProperties

      public Weekend<T> excludeProperties(org.miaixz.bus.core.center.function.FunctionX<T,?>... fns)
      排除查询字段,优先级低于 selectProperties
      Parameters:
      fns - 属性名的可变参数
      Returns:
      the object
    • selectProperties

      public Weekend<T> selectProperties(org.miaixz.bus.core.center.function.FunctionX<T,?>... fns)
      指定要查询的属性列 - 这里会自动映射到表字段
      Parameters:
      fns - 函数
      Returns:
      the object
    • orderBy

      public Condition.OrderBy orderBy(org.miaixz.bus.core.center.function.FunctionX<T,?> fn)
    • withDistinct

      public Weekend<T> withDistinct(boolean distinct)
    • withForUpdate

      public Weekend<T> withForUpdate(boolean forUpdate)
    • withCountProperty

      public Weekend<T> withCountProperty(org.miaixz.bus.core.center.function.FunctionX<T,?> fn)
    • withTableName

      public Weekend<T> withTableName(String tableName)