T - public abstract class AbstractQuery<T> extends Object implements Query<T>
| 限定符和类型 | 字段和说明 |
|---|---|
protected DomainModelDescriptor<T> |
domainModelDescriptor |
protected String |
filter |
protected String |
groupBy |
protected String |
having |
protected int |
limit |
protected int |
offset |
protected String |
orderBy |
protected Object[] |
params |
protected String |
projection |
| 构造器和说明 |
|---|
AbstractQuery(Class<T> domainModelClass) |
AbstractQuery(DomainModelDescriptor<T> domainModelDescriptor) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected <C> List<C> |
executeInternally(Connection connection,
String sql) |
protected String |
getTableName(Class tableClass) |
Query |
groupBy(String groupBy) |
Query |
having(String having) |
Query |
limit(int limit) |
Query |
offset(int offset) |
Query |
orderBy(String orderBy) |
Query |
select(String... columns) |
Query |
where(String filter,
Object... params) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, queryFirstprotected final DomainModelDescriptor<T> domainModelDescriptor
protected int limit
protected int offset
protected String projection
protected String filter
protected Object[] params
protected String orderBy
protected String groupBy
protected String having
public AbstractQuery(DomainModelDescriptor<T> domainModelDescriptor)
protected <C> List<C> executeInternally(Connection connection, String sql) throws SQLException
SQLExceptionCopyright © 2020 com.github.braisdom. All rights reserved.