public class SqlQueryWith extends java.lang.Object implements cn.featherfly.hammer.dsl.query.QueryWith, SqlQueryWithOn, SqlQueryWithEntity
SqlQueryWith
| 构造器和说明 |
|---|
SqlQueryWith(SqlQueryEntityProperties sqlQueryEntityProperties,
cn.featherfly.common.repository.builder.AliasManager aliasManager,
cn.featherfly.common.repository.mapping.MappingFactory factory,
java.lang.String selectTableAlis,
java.lang.String selectTableColumn,
java.lang.Class<?> joinType)
Instantiates a new sql query with.
|
SqlQueryWith(SqlQueryEntityProperties sqlQueryEntityProperties,
cn.featherfly.common.repository.builder.AliasManager aliasManager,
cn.featherfly.common.repository.mapping.MappingFactory factory,
java.lang.String selectTableAlis,
java.lang.String selectTableColumn,
java.lang.String joinTableName,
java.lang.String joinTableAlias)
Instantiates a new sql query with.
|
| 限定符和类型 | 方法和说明 |
|---|---|
cn.featherfly.hammer.dsl.query.QueryWith |
fetch() |
SqlQueryWithEntity |
fetch(java.util.Collection<java.lang.String> propertyNames) |
<T,R> SqlQueryWithEntity |
fetch(cn.featherfly.common.lang.function.SerializableFunction<T,R>... propertyNames) |
<T,R> SqlQueryWithEntity |
fetch(cn.featherfly.common.lang.function.SerializableFunction<T,R> propertyName) |
SqlQueryWithEntity |
fetch(java.lang.String... propertyNames) |
SqlQueryWithEntity |
fetch(java.lang.String propertyName) |
SqlQueryWithEntity |
fetchAlias(java.util.Map<java.lang.String,java.lang.String> columnNameMap)
添加select的列
|
<T,R> SqlQueryWithEntity |
fetchAlias(cn.featherfly.common.lang.function.SerializableFunction<T,R> propertyName,
java.lang.String aliasName)
添加select的列
|
SqlQueryWithEntity |
fetchAlias(java.lang.String columnName,
java.lang.String aliasName)
添加select的列
|
cn.featherfly.hammer.expression.query.QueryLimitExecutor |
limit(java.lang.Integer limit) |
cn.featherfly.hammer.expression.query.QueryLimitExecutor |
limit(java.lang.Integer offset,
java.lang.Integer limit) |
cn.featherfly.hammer.expression.query.QueryLimitExecutor |
limit(cn.featherfly.common.structure.page.Page page) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
list() |
<E> java.util.List<E> |
list(java.lang.Class<E> type) |
<E> java.util.List<E> |
list(cn.featherfly.common.repository.mapping.RowMapper<E> rowMapper) |
SqlQueryWithEntity |
on(java.lang.String propertyName) |
SqlQueryWithEntity |
on(java.lang.String propertyName,
java.lang.String findRepositoryPropertyName) |
SqlQueryWithEntity |
on(java.lang.String propertyName,
java.lang.String repositoryName,
java.lang.String repositoryPropertyName) |
cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression |
where() |
<T> SqlQueryWithOn |
with(java.lang.Class<T> repositoryType) |
SqlQueryWithOn |
with(java.lang.String repositoryName) |
public SqlQueryWith(SqlQueryEntityProperties sqlQueryEntityProperties, cn.featherfly.common.repository.builder.AliasManager aliasManager, cn.featherfly.common.repository.mapping.MappingFactory factory, java.lang.String selectTableAlis, java.lang.String selectTableColumn, java.lang.String joinTableName, java.lang.String joinTableAlias)
sqlQueryEntityProperties - the sql query entity propertiesaliasManager - the alias managerfactory - the factoryselectTableAlis - the select table alisselectTableColumn - the select table columnjoinTableName - the join table namejoinTableAlias - the join table aliaspublic SqlQueryWith(SqlQueryEntityProperties sqlQueryEntityProperties, cn.featherfly.common.repository.builder.AliasManager aliasManager, cn.featherfly.common.repository.mapping.MappingFactory factory, java.lang.String selectTableAlis, java.lang.String selectTableColumn, java.lang.Class<?> joinType)
sqlQueryEntityProperties - the sql query entity propertiesaliasManager - the alias managerfactory - the factoryselectTableAlis - the select table alisselectTableColumn - the select table columnjoinType - the join typepublic SqlQueryWithOn with(java.lang.String repositoryName)
with 在接口中 cn.featherfly.hammer.expression.query.QueryWithExpression<cn.featherfly.hammer.dsl.query.QueryWith,cn.featherfly.hammer.dsl.query.QueryWithOn,cn.featherfly.hammer.dsl.query.QueryWithEntity,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>public <T> SqlQueryWithOn with(java.lang.Class<T> repositoryType)
with 在接口中 cn.featherfly.hammer.expression.query.QueryWithExpression<cn.featherfly.hammer.dsl.query.QueryWith,cn.featherfly.hammer.dsl.query.QueryWithOn,cn.featherfly.hammer.dsl.query.QueryWithEntity,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>public SqlQueryWithEntity on(java.lang.String propertyName)
on 在接口中 cn.featherfly.hammer.expression.query.QueryWithOnExpression<cn.featherfly.hammer.dsl.query.QueryWith,cn.featherfly.hammer.dsl.query.QueryWithOn,cn.featherfly.hammer.dsl.query.QueryWithEntity,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>on 在接口中 SqlQueryWithOnpublic SqlQueryWithEntity on(java.lang.String propertyName, java.lang.String findRepositoryPropertyName)
on 在接口中 cn.featherfly.hammer.expression.query.QueryWithOnExpression<cn.featherfly.hammer.dsl.query.QueryWith,cn.featherfly.hammer.dsl.query.QueryWithOn,cn.featherfly.hammer.dsl.query.QueryWithEntity,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>on 在接口中 SqlQueryWithOnpublic SqlQueryWithEntity on(java.lang.String propertyName, java.lang.String repositoryName, java.lang.String repositoryPropertyName)
on 在接口中 cn.featherfly.hammer.expression.query.QueryWithOnExpression<cn.featherfly.hammer.dsl.query.QueryWith,cn.featherfly.hammer.dsl.query.QueryWithOn,cn.featherfly.hammer.dsl.query.QueryWithEntity,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>on 在接口中 SqlQueryWithOnpublic <T,R> SqlQueryWithEntity fetch(cn.featherfly.common.lang.function.SerializableFunction<T,R> propertyName)
fetch 在接口中 cn.featherfly.hammer.expression.query.QueryWithEntityExpression<cn.featherfly.hammer.dsl.query.QueryWith,cn.featherfly.hammer.dsl.query.QueryWithOn,cn.featherfly.hammer.dsl.query.QueryWithEntity,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>public SqlQueryWithEntity fetch(java.lang.String propertyName)
fetch 在接口中 cn.featherfly.hammer.expression.query.QueryWithEntityExpression<cn.featherfly.hammer.dsl.query.QueryWith,cn.featherfly.hammer.dsl.query.QueryWithOn,cn.featherfly.hammer.dsl.query.QueryWithEntity,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>public SqlQueryWithEntity fetch(java.lang.String... propertyNames)
fetch 在接口中 cn.featherfly.hammer.expression.query.QueryWithEntityExpression<cn.featherfly.hammer.dsl.query.QueryWith,cn.featherfly.hammer.dsl.query.QueryWithOn,cn.featherfly.hammer.dsl.query.QueryWithEntity,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>public <T,R> SqlQueryWithEntity fetch(cn.featherfly.common.lang.function.SerializableFunction<T,R>... propertyNames)
fetch 在接口中 cn.featherfly.hammer.expression.query.QueryWithEntityExpression<cn.featherfly.hammer.dsl.query.QueryWith,cn.featherfly.hammer.dsl.query.QueryWithOn,cn.featherfly.hammer.dsl.query.QueryWithEntity,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>public SqlQueryWithEntity fetch(java.util.Collection<java.lang.String> propertyNames)
fetch 在接口中 cn.featherfly.hammer.expression.query.QueryWithEntityExpression<cn.featherfly.hammer.dsl.query.QueryWith,cn.featherfly.hammer.dsl.query.QueryWithOn,cn.featherfly.hammer.dsl.query.QueryWithEntity,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>public <T,R> SqlQueryWithEntity fetchAlias(cn.featherfly.common.lang.function.SerializableFunction<T,R> propertyName, java.lang.String aliasName)
添加select的列
fetchAlias 在接口中 SqlQueryWithEntityT - the generic typeR - the generic typepropertyName - propertyNamealiasName - alias namepublic SqlQueryWithEntity fetchAlias(java.lang.String columnName, java.lang.String aliasName)
添加select的列
fetchAlias 在接口中 SqlQueryWithEntitycolumnName - propertyNamealiasName - alias namepublic SqlQueryWithEntity fetchAlias(java.util.Map<java.lang.String,java.lang.String> columnNameMap)
添加select的列
fetchAlias 在接口中 SqlQueryWithEntitycolumnNameMap - columnNameMappublic cn.featherfly.hammer.dsl.query.QueryWith fetch()
fetch 在接口中 cn.featherfly.hammer.expression.query.QueryWithEntityExpression<cn.featherfly.hammer.dsl.query.QueryWith,cn.featherfly.hammer.dsl.query.QueryWithOn,cn.featherfly.hammer.dsl.query.QueryWithEntity,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>public cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression where()
where 在接口中 cn.featherfly.hammer.expression.RepositoryWhereExpression<cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupExpression,cn.featherfly.hammer.dsl.query.RepositoryQueryConditionGroupLogicExpression>public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> list()
list 在接口中 cn.featherfly.hammer.expression.query.QueryListExecutorpublic <E> java.util.List<E> list(java.lang.Class<E> type)
list 在接口中 cn.featherfly.hammer.expression.query.QueryListExecutorpublic <E> java.util.List<E> list(cn.featherfly.common.repository.mapping.RowMapper<E> rowMapper)
list 在接口中 cn.featherfly.hammer.expression.query.QueryListExecutorpublic cn.featherfly.hammer.expression.query.QueryLimitExecutor limit(java.lang.Integer limit)
limit 在接口中 cn.featherfly.hammer.expression.query.QueryConditionLimitpublic cn.featherfly.hammer.expression.query.QueryLimitExecutor limit(java.lang.Integer offset,
java.lang.Integer limit)
limit 在接口中 cn.featherfly.hammer.expression.query.QueryConditionLimitpublic cn.featherfly.hammer.expression.query.QueryLimitExecutor limit(cn.featherfly.common.structure.page.Page page)
limit 在接口中 cn.featherfly.hammer.expression.query.QueryConditionLimit