public interface DbSqlOperator<K>
Modifier and Type | Method and Description |
---|---|
int |
account(Bean bean)
根据bean对象查询该bean对象的记录数
|
int |
account(String sql,
List<Object> parameters) |
int |
account(String sql,
Map<String,Object> parameters) |
int |
account(String sql,
Object... parameters) |
int |
execute(String sql,
List<Object> parameters) |
int |
execute(String sql,
Map<String,Object> parameters)
执行带参数的sql语句
|
int |
execute(String sql,
Object... parameters)
执行带参数的sql语句
|
Bean[] |
getBeans(Bean bean,
int start,
int limit)
分页查询bean
|
Bean[] |
getBeans(String sql) |
Bean[] |
getBeans(String sql,
List<Object> parameters) |
Bean[] |
getBeans(String sql,
Map<String,Object> parameters) |
Bean[] |
getBeans(String sql,
Object... parameters) |
Bean[] |
getCursorPageBeans(String sql,
int start,
int limit) |
Bean[] |
getCursorPageBeans(String sql,
int start,
int limit,
List<Object> parameters) |
Bean[] |
getCursorPageBeans(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Bean[] |
getCursorPageBeans(String sql,
int start,
int limit,
Object... parameters) |
Bean[] |
getDialectPageBeans(String sql,
int start,
int limit) |
Bean[] |
getDialectPageBeans(String sql,
int start,
int limit,
List<Object> parameters) |
Bean[] |
getDialectPageBeans(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Bean[] |
getDialectPageBeans(String sql,
int start,
int limit,
Object... parameters) |
Bean[] |
getPageBeans(String sql,
int start,
int limit) |
Bean[] |
getPageBeans(String sql,
int start,
int limit,
List<Object> parameters) |
Bean[] |
getPageBeans(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Bean[] |
getPageBeans(String sql,
int start,
int limit,
Object... parameters) |
Pager |
getPager(Bean bean,
int start,
int limit)
分页查询bean
|
Pager |
getPager(String sql,
int start,
int limit) |
Pager |
getPager(String sql,
int start,
int limit,
List<Object> parameters) |
Pager |
getPager(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Pager |
getPager(String sql,
int start,
int limit,
Object... parameters) |
Bean |
getSingleValue(String sql) |
Bean |
getSingleValue(String sql,
List<Object> parameters) |
Bean |
getSingleValue(String sql,
Map<String,Object> parameters) |
Bean |
getSingleValue(String sql,
Object... parameters) |
Bean[] getBeans(String sql) throws TinyDbException
TinyDbException
Bean[] getBeans(String sql, Object... parameters) throws TinyDbException
TinyDbException
Bean[] getBeans(String sql, List<Object> parameters) throws TinyDbException
TinyDbException
Bean[] getBeans(String sql, Map<String,Object> parameters) throws TinyDbException
TinyDbException
Bean[] getPageBeans(String sql, int start, int limit) throws TinyDbException
TinyDbException
Bean[] getCursorPageBeans(String sql, int start, int limit) throws TinyDbException
TinyDbException
Bean[] getDialectPageBeans(String sql, int start, int limit) throws TinyDbException
TinyDbException
Bean[] getPageBeans(String sql, int start, int limit, Object... parameters) throws TinyDbException
TinyDbException
Bean[] getCursorPageBeans(String sql, int start, int limit, Object... parameters) throws TinyDbException
TinyDbException
Bean[] getDialectPageBeans(String sql, int start, int limit, Object... parameters) throws TinyDbException
TinyDbException
Bean[] getPageBeans(String sql, int start, int limit, List<Object> parameters) throws TinyDbException
TinyDbException
Bean[] getCursorPageBeans(String sql, int start, int limit, List<Object> parameters) throws TinyDbException
TinyDbException
Bean[] getDialectPageBeans(String sql, int start, int limit, List<Object> parameters) throws TinyDbException
TinyDbException
Bean[] getPageBeans(String sql, int start, int limit, Map<String,Object> parameters) throws TinyDbException
TinyDbException
Bean[] getCursorPageBeans(String sql, int start, int limit, Map<String,Object> parameters) throws TinyDbException
TinyDbException
Bean[] getDialectPageBeans(String sql, int start, int limit, Map<String,Object> parameters) throws TinyDbException
TinyDbException
Bean getSingleValue(String sql) throws TinyDbException
TinyDbException
Bean getSingleValue(String sql, Map<String,Object> parameters) throws TinyDbException
TinyDbException
Bean getSingleValue(String sql, Object... parameters) throws TinyDbException
TinyDbException
Bean getSingleValue(String sql, List<Object> parameters) throws TinyDbException
TinyDbException
int execute(String sql, Map<String,Object> parameters) throws TinyDbException
sql
- parameters
- TinyDbException
int execute(String sql, Object... parameters) throws TinyDbException
sql
- parameters
- TinyDbException
int execute(String sql, List<Object> parameters) throws TinyDbException
TinyDbException
int account(String sql, Object... parameters) throws TinyDbException
TinyDbException
int account(String sql, List<Object> parameters) throws TinyDbException
TinyDbException
int account(String sql, Map<String,Object> parameters) throws TinyDbException
TinyDbException
int account(Bean bean) throws TinyDbException
bean
- TinyDbException
Pager getPager(String sql, int start, int limit) throws TinyDbException
TinyDbException
Pager getPager(String sql, int start, int limit, Object... parameters) throws TinyDbException
TinyDbException
Pager getPager(String sql, int start, int limit, List<Object> parameters) throws TinyDbException
TinyDbException
Pager getPager(String sql, int start, int limit, Map<String,Object> parameters) throws TinyDbException
TinyDbException
Bean[] getBeans(Bean bean, int start, int limit) throws TinyDbException
bean
- start
- limit
- TinyDbException
Pager getPager(Bean bean, int start, int limit) throws TinyDbException
bean
- start
- limit
- TinyDbException
Copyright © 2006–2018 TinyGroup. All rights reserved.