接口 SelectSql<C extends SelectSql<C,S,H>,S extends SelectSql.SelectConditionBuilder<S,H,C>,H extends SelectCondition.HavingConditionBuilder<H,S>>

类型参数:
C - 子类具体类型
H - Having条件构建器类型
S - 选择条件构建器类型
所有超级接口:
Selectable<C>, SqlFragment
所有已知实现类:
AbstractSelectSql, GenericSelectSql, QueryListSqlExecutor, QueryOneSqlExecutor, QueryPageSqlExecutor, StandardSelectSql, StandardSelectSqlBuilder

public interface SelectSql<C extends SelectSql<C,S,H>,S extends SelectSql.SelectConditionBuilder<S,H,C>,H extends SelectCondition.HavingConditionBuilder<H,S>> extends Selectable<C>, SqlFragment
查询SQL
从以下版本开始:
0.0.4
作者:
zeng
  • 方法详细资料

    • from

      C from(Class<?> entityClass)
      设置查询表
      参数:
      entityClass - 实体类
      返回:
      具体实现
    • from

      C from(String table)
      设置查询表
      参数:
      table - 表名
      返回:
      具体实现
    • from

      C from(Class<?> entityClass, String tableAlias)
      设置查询表
      参数:
      entityClass - 实体类
      tableAlias - 表别名
      返回:
      具体实现
    • from

      C from(String table, String tableAlias)
      设置查询表
      参数:
      table - 表名
      tableAlias - 表别名
      返回:
      具体实现
    • from

      C from(Consumer<StandardSelectSql> sqlBuilderConsumer, String tableAlias)
      设置子查询表
      参数:
      sqlBuilderConsumer - SQL构建器消费器
      tableAlias - 表别名
      返回:
      具体实现
    • where

      设置Where条件
      返回:
      条件构建器