Class Weekend<T>

java.lang.Object
tk.mybatis.mapper.entity.Example
tk.mybatis.mapper.weekend.Weekend<T>
All Implemented Interfaces:
IDynamicTableName

public class Weekend<T> extends Example
Author:
Frank
  • 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 Example.Criteria createCriteriaInternal()
      Overrides:
      createCriteriaInternal in class Example
    • weekendCriteria

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

      public Weekend<T> excludeProperties(Fn<T,?>... fns)
      排除查询字段,优先级低于 selectProperties
      Parameters:
      fns - 属性名的可变参数
      Returns:
    • selectProperties

      public Weekend<T> selectProperties(Fn<T,?>... fns)
      指定要查询的属性列 - 这里会自动映射到表字段
      Parameters:
      fns -
      Returns:
    • orderBy

      public Example.OrderBy orderBy(Fn<T,?> fn)
    • withDistinct

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

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

      public Weekend<T> withCountProperty(Fn<T,?> fn)
    • withTableName

      public Weekend<T> withTableName(String tableName)