public class SqlQueryEntityProperties extends java.lang.Object implements SqlQueryEntity, cn.featherfly.juorm.dsl.query.QueryEntityProperties
SqlQueryProperties
| 构造器和说明 |
|---|
SqlQueryEntityProperties(ClassMapping<?> classMapping,
Jdbc jdbc) |
SqlQueryEntityProperties(java.lang.String tableName,
Jdbc jdbc) |
SqlQueryEntityProperties(java.lang.String tableName,
Jdbc jdbc,
java.lang.String tableAlias) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.math.BigDecimal |
decimal() |
java.lang.Integer |
integer() |
cn.featherfly.juorm.expression.query.QueryExecutor |
limit(java.lang.Integer limit) |
cn.featherfly.juorm.expression.query.QueryExecutor |
limit(java.lang.Integer offset,
java.lang.Integer limit) |
cn.featherfly.juorm.expression.query.QueryExecutor |
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.juorm.mapping.RowMapper<E> rowMapper) |
java.lang.Long |
longInt() |
<N extends java.lang.Number> |
number(java.lang.Class<N> type) |
cn.featherfly.juorm.dsl.query.QueryEntityProperties |
property(java.util.Collection<java.lang.String> propertyNames) |
cn.featherfly.juorm.dsl.query.QueryEntityProperties |
property(java.lang.String... propertyNames) |
cn.featherfly.juorm.dsl.query.QueryEntityProperties |
property(java.lang.String propertyName) |
cn.featherfly.juorm.dsl.query.QueryEntityProperties |
propertyAlias(java.util.Map<java.lang.String,java.lang.String> columnNameMap)
批量添加select的列
|
cn.featherfly.juorm.dsl.query.QueryEntityProperties |
propertyAlias(java.lang.String columnName,
java.lang.String alias)
添加select的列
|
java.lang.String |
string() |
cn.featherfly.juorm.dsl.query.QueryConditionGroupExpression |
where() |
public SqlQueryEntityProperties(java.lang.String tableName,
Jdbc jdbc)
tableName - tableNamejdbc - jdbcpublic SqlQueryEntityProperties(ClassMapping<?> classMapping, Jdbc jdbc)
classMapping - classMappingjdbc - jdbcpublic SqlQueryEntityProperties(java.lang.String tableName,
Jdbc jdbc,
java.lang.String tableAlias)
tableName - tableNamejdbc - jdbctableAlias - tableAliaspublic cn.featherfly.juorm.dsl.query.QueryEntityProperties property(java.lang.String propertyName)
property 在接口中 cn.featherfly.juorm.expression.query.QueryEntityExpression<cn.featherfly.juorm.dsl.query.QueryEntityProperties,cn.featherfly.juorm.dsl.query.QueryConditionGroupExpression,cn.featherfly.juorm.dsl.query.QueryConditionGroupLogicExpression>public cn.featherfly.juorm.dsl.query.QueryEntityProperties property(java.lang.String... propertyNames)
property 在接口中 cn.featherfly.juorm.expression.query.QueryEntityExpression<cn.featherfly.juorm.dsl.query.QueryEntityProperties,cn.featherfly.juorm.dsl.query.QueryConditionGroupExpression,cn.featherfly.juorm.dsl.query.QueryConditionGroupLogicExpression>public cn.featherfly.juorm.dsl.query.QueryEntityProperties property(java.util.Collection<java.lang.String> propertyNames)
property 在接口中 cn.featherfly.juorm.expression.query.QueryEntityExpression<cn.featherfly.juorm.dsl.query.QueryEntityProperties,cn.featherfly.juorm.dsl.query.QueryConditionGroupExpression,cn.featherfly.juorm.dsl.query.QueryConditionGroupLogicExpression>public cn.featherfly.juorm.dsl.query.QueryEntityProperties propertyAlias(java.lang.String columnName,
java.lang.String alias)
添加select的列
propertyAlias 在接口中 SqlQueryEntitycolumnName - propertyNamealias - alias namepublic cn.featherfly.juorm.dsl.query.QueryEntityProperties propertyAlias(java.util.Map<java.lang.String,java.lang.String> columnNameMap)
批量添加select的列
propertyAlias 在接口中 SqlQueryEntitycolumnNameMap - key is columnName, value is asNamepublic cn.featherfly.juorm.dsl.query.QueryConditionGroupExpression where()
where 在接口中 cn.featherfly.juorm.expression.query.QueryEntityExpression<cn.featherfly.juorm.dsl.query.QueryEntityProperties,cn.featherfly.juorm.dsl.query.QueryConditionGroupExpression,cn.featherfly.juorm.dsl.query.QueryConditionGroupLogicExpression>public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> list()
list 在接口中 cn.featherfly.juorm.expression.query.QueryListExecutorpublic <E> java.util.List<E> list(java.lang.Class<E> type)
list 在接口中 cn.featherfly.juorm.expression.query.QueryListExecutorpublic <E> java.util.List<E> list(cn.featherfly.juorm.mapping.RowMapper<E> rowMapper)
list 在接口中 cn.featherfly.juorm.expression.query.QueryListExecutorpublic cn.featherfly.juorm.expression.query.QueryExecutor limit(java.lang.Integer limit)
limit 在接口中 cn.featherfly.juorm.expression.query.QueryConditionLimitpublic cn.featherfly.juorm.expression.query.QueryExecutor limit(java.lang.Integer offset,
java.lang.Integer limit)
limit 在接口中 cn.featherfly.juorm.expression.query.QueryConditionLimitpublic cn.featherfly.juorm.expression.query.QueryExecutor limit(cn.featherfly.common.structure.page.Page page)
limit 在接口中 cn.featherfly.juorm.expression.query.QueryConditionLimitpublic java.lang.String string()
string 在接口中 cn.featherfly.juorm.expression.query.QueryValueExecutorpublic java.lang.Integer integer()
integer 在接口中 cn.featherfly.juorm.expression.query.QueryValueExecutorpublic java.lang.Long longInt()
longInt 在接口中 cn.featherfly.juorm.expression.query.QueryValueExecutorpublic java.math.BigDecimal decimal()
decimal 在接口中 cn.featherfly.juorm.expression.query.QueryValueExecutorpublic <N extends java.lang.Number> N number(java.lang.Class<N> type)
number 在接口中 cn.featherfly.juorm.expression.query.QueryValueExecutor