Modifier and Type | Method and Description |
---|---|
void |
Configuration.addTableConfiguration(String schema) |
DBOperator<?> |
BeanOperatorManager.getDbOperator()
获取数据操作器
|
DBOperator |
DbOperatorFactory.getDBOperator() |
DBOperator<?> |
BeanOperatorManager.getDbOperator(String schema)
获取数据操作器
|
DBOperator |
DbOperatorFactory.getDBOperator(String schema) |
DBOperator<?> |
BeanOperatorManager.getNewDbOperator()
新获取数据操作器
|
DBOperator |
DbOperatorFactory.getNewDBOperator() |
DBOperator<?> |
BeanOperatorManager.getNewDbOperator(String schema)
获取数据操作器
|
DBOperator |
DbOperatorFactory.getNewDBOperator(String schema) |
Modifier and Type | Method and Description |
---|---|
ColumnConfiguration |
TableConfiguration.getPrimaryKey() |
void |
TableConfiguration.setPrimaryKey(String columnName) |
Modifier and Type | Method and Description |
---|---|
void |
TableConfigLoad.loadTable(Configuration configuration)
表配置信息转换接口
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTableConfigLoad.loadTable(Configuration configuration) |
protected void |
DatabaseTableConfigLoad.realConvert(BeanOperatorManager manager) |
protected abstract void |
AbstractTableConfigLoad.realLoadTable() |
protected void |
MetadataTableConfigLoad.realLoadTable() |
protected void |
DatabaseTableConfigLoad.realLoadTable() |
Modifier and Type | Method and Description |
---|---|
DBOperator<?> |
BeanOperatorManagerImpl.getDbOperator() |
DBOperator<?> |
BeanOperatorManagerImpl.getDbOperator(String schema) |
DBOperator<?> |
BeanOperatorManagerImpl.getNewDbOperator() |
DBOperator<?> |
BeanOperatorManagerImpl.getNewDbOperator(String schema) |
Modifier and Type | Method and Description |
---|---|
int |
DbSqlOperator.account(Bean bean)
根据bean对象查询该bean对象的记录数
|
int |
DbSqlOperator.account(String sql,
List<Object> parameters) |
int |
DbSqlOperator.account(String sql,
Map<String,Object> parameters) |
int |
DbSqlOperator.account(String sql,
Object... parameters) |
int[] |
DbBatchOperator.batchDelete(Bean[] beans) |
void |
DbBatchOperator.batchDelete(Bean[] beans,
int batchSize) |
int[] |
DbBatchOperator.batchDelete(Collection<Bean> beans) |
void |
DbBatchOperator.batchDelete(Collection<Bean> beans,
int batchSize) |
Bean[] |
DbBatchOperator.batchInsert(Bean[] beans) |
Bean[] |
DbBatchOperator.batchInsert(Bean[] beans,
int batchSize)
可以分批次进行批处理操作
|
Bean[] |
DbBatchOperator.batchInsert(Collection<Bean> beans) |
Bean[] |
DbBatchOperator.batchInsert(Collection<Bean> beans,
int batchSize) |
int[] |
DbBatchOperator.batchUpdate(Bean[] beans) |
void |
DbBatchOperator.batchUpdate(Bean[] beans,
int batchSize) |
int[] |
DbBatchOperator.batchUpdate(Collection<Bean> beans) |
void |
DbBatchOperator.batchUpdate(Collection<Bean> beans,
int batchSize) |
Object |
TransactionCallBack.callBack(org.springframework.transaction.TransactionStatus status) |
int |
DbSingleOperator.delete(Bean bean) |
int[] |
DbBatchOperator.deleteBean(Bean[] beans) |
int[] |
DbBatchOperator.deleteById(Collection<K> beanIds,
String beanType) |
int[] |
DbBatchOperator.deleteById(K[] beanIds,
String beanType) |
int |
DbSingleOperator.deleteById(K beanId,
String beanType) |
int |
DbSqlOperator.execute(String sql,
List<Object> parameters) |
int |
DbSqlOperator.execute(String sql,
Map<String,Object> parameters)
执行带参数的sql语句
|
int |
DbSqlOperator.execute(String sql,
Object... parameters)
执行带参数的sql语句
|
int[] |
DbBatchOperator.executeBatch(List<String> sqls)
批量执行sql语句
|
int[] |
DbBatchOperator.executeBatchByList(String sql,
List<List<Object>> parameters) |
int[] |
DbBatchOperator.executeBatchByList(String sql,
List<List<Object>> parameters,
int[] columnTypes) |
int[] |
DbBatchOperator.executeBatchByMap(String sql,
List<Map<String,Object>> parameters) |
int |
DbBaseOperator.getAutoIncreaseKey()
如果是自增长类型的Key返回新增加的值
|
Bean |
DbSingleOperator.getBean(K beanId,
String beanType) |
Bean[] |
DbBatchOperator.getBeans(Bean bean) |
Bean[] |
DbSqlOperator.getBeans(Bean bean,
int start,
int limit)
分页查询bean
|
Bean[] |
DbSqlQueryOperator.getBeans(SelectBean[] selectBeans,
String beanType,
Conditions conditions,
OrderBean[] orderBeans) |
Bean[] |
DbSqlQueryOperator.getBeans(SelectBean[] selectBeans,
String beanType,
Conditions conditions,
OrderBean[] orderBeans,
int start,
int limit) |
Bean[] |
DbSqlOperator.getBeans(String sql) |
Bean[] |
DbSqlQueryOperator.getBeans(String beanType,
Conditions conditions,
OrderBean[] orderBeans) |
Bean[] |
DbSqlQueryOperator.getBeans(String beanType,
Conditions conditions,
OrderBean[] orderBeans,
int start,
int limit) |
Bean[] |
DbSqlOperator.getBeans(String sql,
List<Object> parameters) |
Bean[] |
DbSqlOperator.getBeans(String sql,
Map<String,Object> parameters) |
Bean[] |
DbSqlOperator.getBeans(String sql,
Object... parameters) |
Bean[] |
DbSqlQueryOperator.getBeans(String selectClause,
String beanType,
Conditions conditions,
OrderBean[] orderBeans) |
Bean[] |
DbSqlQueryOperator.getBeans(String selectClause,
String beanType,
Conditions conditions,
OrderBean[] orderBeans,
int start,
int limit) |
Bean[] |
DbBatchOperator.getBeansById(Collection<K> beanIds,
String beanType) |
Bean[] |
DbBatchOperator.getBeansById(K[] beanIds,
String beanTyoe) |
Bean[] |
DbSqlOperator.getCursorPageBeans(String sql,
int start,
int limit) |
Bean[] |
DbSqlOperator.getCursorPageBeans(String sql,
int start,
int limit,
List<Object> parameters) |
Bean[] |
DbSqlOperator.getCursorPageBeans(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Bean[] |
DbSqlOperator.getCursorPageBeans(String sql,
int start,
int limit,
Object... parameters) |
Bean[] |
DbSqlOperator.getDialectPageBeans(String sql,
int start,
int limit) |
Bean[] |
DbSqlOperator.getDialectPageBeans(String sql,
int start,
int limit,
List<Object> parameters) |
Bean[] |
DbSqlOperator.getDialectPageBeans(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Bean[] |
DbSqlOperator.getDialectPageBeans(String sql,
int start,
int limit,
Object... parameters) |
Bean[] |
DbSqlOperator.getPageBeans(String sql,
int start,
int limit) |
Bean[] |
DbSqlOperator.getPageBeans(String sql,
int start,
int limit,
List<Object> parameters) |
Bean[] |
DbSqlOperator.getPageBeans(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Bean[] |
DbSqlOperator.getPageBeans(String sql,
int start,
int limit,
Object... parameters) |
Pager |
DbSqlOperator.getPager(Bean bean,
int start,
int limit)
分页查询bean
|
Pager |
DbSqlOperator.getPager(String sql,
int start,
int limit) |
Pager |
DbSqlOperator.getPager(String sql,
int start,
int limit,
List<Object> parameters) |
Pager |
DbSqlOperator.getPager(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Pager |
DbSqlOperator.getPager(String sql,
int start,
int limit,
Object... parameters) |
Bean |
DbSqlQueryOperator.getSingleValue(SelectBean[] selectBeans,
String beanType,
Conditions conditions) |
Bean |
DbSqlOperator.getSingleValue(String sql) |
Bean |
DbSqlQueryOperator.getSingleValue(String beanType,
Conditions conditions) |
Bean |
DbSqlOperator.getSingleValue(String sql,
List<Object> parameters) |
Bean |
DbSqlOperator.getSingleValue(String sql,
Map<String,Object> parameters) |
Bean |
DbSqlOperator.getSingleValue(String sql,
Object... parameters) |
Bean |
DbSqlQueryOperator.getSingleValue(String selectClause,
String beanType,
Conditions conditions) |
org.springframework.jdbc.support.rowset.SqlRowSet |
SqlRowSetOperator.getSqlRowSet(String sql) |
org.springframework.jdbc.support.rowset.SqlRowSet |
SqlRowSetOperator.getSqlRowSet(String sql,
List<Object> parameters) |
org.springframework.jdbc.support.rowset.SqlRowSet |
SqlRowSetOperator.getSqlRowSet(String sql,
Map<String,Object> parameters) |
org.springframework.jdbc.support.rowset.SqlRowSet |
SqlRowSetOperator.getSqlRowSet(String sql,
Object... parameters) |
Bean |
DbSingleOperator.insert(Bean bean) |
Bean[] |
DbBatchOperator.insertBean(Bean[] beans)
处理的bean类型可以不一样,非批处理实现方式
|
int |
DbSingleOperator.update(Bean bean) |
int |
DbSingleOperator.update(Bean bean,
List<String> conditionColumns) |
int[] |
DbBatchOperator.updateBean(Bean[] beans) |
Modifier and Type | Method and Description |
---|---|
int |
BeanDBSqlOperator.account(Bean bean) |
int |
DBSpringBaseOperator.account(String sql) |
int |
BeanDBSqlOperator.account(String sql,
List<Object> parameters) |
int |
BeanDBSqlOperator.account(String sql,
Map<String,Object> parameters) |
int |
BeanDBSqlOperator.account(String sql,
Object... parameters) |
int[] |
BeanDBBatchOperator.batchDelete(Bean[] beans) |
void |
BeanDBBatchOperator.batchDelete(Bean[] beans,
int batchSize) |
int[] |
BeanDBBatchOperator.batchDelete(Collection<Bean> beans) |
void |
BeanDBBatchOperator.batchDelete(Collection<Bean> beans,
int batchSize) |
Bean[] |
BeanDBBatchOperator.batchInsert(Bean[] beans) |
Bean[] |
BeanDBBatchOperator.batchInsert(Bean[] beans,
int batchSize) |
Bean[] |
BeanDBBatchOperator.batchInsert(Collection<Bean> beans) |
Bean[] |
BeanDBBatchOperator.batchInsert(Collection<Bean> beans,
int batchSize) |
int[] |
BeanDBBatchOperator.batchUpdate(Bean[] beans) |
void |
BeanDBBatchOperator.batchUpdate(Bean[] beans,
int batchSize) |
int[] |
BeanDBBatchOperator.batchUpdate(Collection<Bean> beans) |
void |
BeanDBBatchOperator.batchUpdate(Collection<Bean> beans,
int batchSize) |
protected boolean |
BeanDBSingleOperator.beanNotExist(Bean bean)
bean对象描述的数据库记录是否存在
|
protected void |
BeanDBSingleOperator.checkMoreToOne(List<Relation> relations) |
protected Bean |
BeanDBSingleOperator.createRelationBean(Bean bean,
Relation relation) |
protected Bean[] |
BeanDBSingleOperator.createRelationBeans(Bean bean,
Relation relation) |
int |
BeanDBSingleOperator.delete(Bean bean) |
int[] |
BeanDBBatchOperator.deleteBean(Bean[] beans) |
int[] |
BeanDBBatchOperator.deleteById(Collection<K> beanIds,
String beanType) |
int[] |
BeanDBBatchOperator.deleteById(K[] beanIds,
String beanType) |
int |
BeanDBSingleOperator.deleteById(K beanId,
String beanType) |
protected int |
BeanDBSingleOperator.deleteTopBean(Bean bean) |
int |
BeanDBSqlOperator.execute(String sql,
List<Object> parameters) |
int |
BeanDBSqlOperator.execute(String sql,
Map<String,Object> parameters) |
int |
BeanDBSqlOperator.execute(String sql,
Object... parameters) |
int[] |
BeanDBBatchOperator.executeBatch(List<String> sqls) |
int[] |
BeanDBBatchOperator.executeBatchByList(String sql,
List<List<Object>> parameters) |
int[] |
BeanDBBatchOperator.executeBatchByList(String sql,
List<List<Object>> parameters,
int[] columnTypes) |
int[] |
BeanDBBatchOperator.executeBatchByMap(String sql,
List<Map<String,Object>> parameters) |
protected int[] |
DBSpringBaseOperator.executeBatchBySqlParamterValues(String sql,
List<org.springframework.jdbc.core.SqlParameterValue[]> parameters)
根据参数中sql语句进行批处理操作
|
protected int[] |
DBSpringBaseOperator.executeBatchOperator(String[] sqls) |
protected int[] |
DBSpringBaseOperator.executeBatchOperator(String sql,
List<List<Object>> parameters,
int[] columnTypes)
根据参数中sql语句进行批处理操作
|
int |
DBSpringBaseOperator.executeByArray(String sql,
Object... parameters) |
int |
DBSpringBaseOperator.executeByList(String sql,
List<Object> parameters,
List<Integer> dataTypes) |
int |
DBSpringBaseOperator.executeByMap(String sql,
Map<String,Object> parameters,
List<Integer> dataTypes) |
int |
DBSpringBaseOperator.executeBySqlParameterValue(String sql,
org.springframework.jdbc.core.SqlParameterValue value) |
int |
DBSpringBaseOperator.executeBySqlParameterValues(String sql,
org.springframework.jdbc.core.SqlParameterValue[] values) |
List<Bean> |
DBSpringBaseOperator.findBeans(String sql,
String beanType,
String schema) |
List<Bean> |
DBSpringBaseOperator.findBeans(String sql,
String beanType,
String schema,
Object... parameters) |
List<Bean> |
DBSpringBaseOperator.findBeansByList(String sql,
String beanType,
String schema,
List<Object> parameters) |
protected List<Bean> |
DBSpringBaseOperator.findBeansByListForCursorPage(String sql,
String beanType,
String schema,
int start,
int limit,
List<Object> parameters) |
protected List<Bean> |
DBSpringBaseOperator.findBeansByListForDialectPage(String sql,
String beanType,
String schema,
int start,
int limit,
List<Object> parameters) |
List<Bean> |
DBSpringBaseOperator.findBeansByListForPage(String sql,
String beanType,
String schema,
int start,
int limit,
List<Object> parameters) |
List<Bean> |
DBSpringBaseOperator.findBeansByMap(String sql,
String beanType,
String schema,
Map<String,Object> parameters,
List<Integer> dataTypes) |
protected List<Bean> |
DBSpringBaseOperator.findBeansByMapForCursorPage(String sql,
String beanType,
String schema,
int start,
int limit,
Map<String,Object> parameters,
List<Integer> dataTypes) |
protected List<Bean> |
DBSpringBaseOperator.findBeansByMapForDialectPage(String sql,
String beanType,
String schema,
int start,
int limit,
Map<String,Object> parameters,
List<Integer> dataTypes) |
List<Bean> |
DBSpringBaseOperator.findBeansByMapForPage(String sql,
String beanType,
String schema,
int start,
int limit,
Map<String,Object> parameters,
List<Integer> dataTypes) |
protected List<Bean> |
DBSpringBaseOperator.findBeansForCursorPage(String sql,
String beanType,
String schema,
int start,
int limit) |
protected List<Bean> |
DBSpringBaseOperator.findBeansForDialectPage(String sql,
String beanType,
String schema,
int start,
int limit) |
List<Bean> |
DBSpringBaseOperator.findBeansForPage(String sql,
String beanType,
String schema,
int start,
int limit) |
Bean |
BeanDBSingleOperator.getBean(K beanId,
String beanType) |
Bean[] |
BeanDBBatchOperator.getBeans(Bean bean) |
Bean[] |
BeanDBSqlOperator.getBeans(Bean bean,
int start,
int limit) |
Bean[] |
BeanDBSqlQueryOperator.getBeans(SelectBean[] selectBeans,
String beanType,
Conditions conditions,
OrderBean[] orderBeans) |
Bean[] |
BeanDBSqlQueryOperator.getBeans(SelectBean[] selectBeans,
String beanType,
Conditions conditions,
OrderBean[] orderBeans,
int start,
int limit) |
Bean[] |
BeanDBSqlOperator.getBeans(String sql) |
Bean[] |
BeanDBSqlQueryOperator.getBeans(String beanType,
Conditions conditions,
OrderBean[] orderBeans) |
Bean[] |
BeanDBSqlQueryOperator.getBeans(String beanType,
Conditions conditions,
OrderBean[] orderBeans,
int start,
int limit) |
Bean[] |
BeanDBSqlOperator.getBeans(String sql,
List<Object> parameters) |
Bean[] |
BeanDBSqlOperator.getBeans(String sql,
Map<String,Object> parameters) |
Bean[] |
BeanDBSqlOperator.getBeans(String sql,
Object... parameters) |
Bean[] |
BeanDBSqlQueryOperator.getBeans(String selectClause,
String beanType,
Conditions conditions,
OrderBean[] orderBeans) |
Bean[] |
BeanDBSqlQueryOperator.getBeans(String selectClause,
String beanType,
Conditions conditions,
OrderBean[] orderBeans,
int start,
int limit) |
Bean[] |
BeanDBBatchOperator.getBeansById(Collection<K> beanIds,
String beanType) |
Bean[] |
BeanDBBatchOperator.getBeansById(K[] beanIds,
String beanType) |
Bean[] |
BeanDBSqlOperator.getCursorPageBeans(String sql,
int start,
int limit) |
Bean[] |
BeanDBSqlOperator.getCursorPageBeans(String sql,
int start,
int limit,
List<Object> parameters) |
Bean[] |
BeanDBSqlOperator.getCursorPageBeans(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Bean[] |
BeanDBSqlOperator.getCursorPageBeans(String sql,
int start,
int limit,
Object... parameters) |
Bean[] |
BeanDBSqlOperator.getDialectPageBeans(String sql,
int start,
int limit) |
Bean[] |
BeanDBSqlOperator.getDialectPageBeans(String sql,
int start,
int limit,
List<Object> parameters) |
Bean[] |
BeanDBSqlOperator.getDialectPageBeans(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Bean[] |
BeanDBSqlOperator.getDialectPageBeans(String sql,
int start,
int limit,
Object... parameters) |
Bean[] |
BeanDBSqlOperator.getPageBeans(String sql,
int start,
int limit) |
Bean[] |
BeanDBSqlOperator.getPageBeans(String sql,
int start,
int limit,
List<Object> parameters) |
Bean[] |
BeanDBSqlOperator.getPageBeans(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Bean[] |
BeanDBSqlOperator.getPageBeans(String sql,
int start,
int limit,
Object... parameters) |
Pager |
BeanDBSqlOperator.getPager(Bean bean,
int start,
int limit) |
Pager |
BeanDBSqlOperator.getPager(String sql,
int start,
int limit) |
Pager |
BeanDBSqlOperator.getPager(String sql,
int start,
int limit,
List<Object> parameters) |
Pager |
BeanDBSqlOperator.getPager(String sql,
int start,
int limit,
Map<String,Object> parameters) |
Pager |
BeanDBSqlOperator.getPager(String sql,
int start,
int limit,
Object... parameters) |
Bean |
BeanDBSqlQueryOperator.getSingleValue(SelectBean[] selectBeans,
String beanType,
Conditions conditions) |
Bean |
BeanDBSqlOperator.getSingleValue(String sql) |
Bean |
BeanDBSqlQueryOperator.getSingleValue(String beanType,
Conditions conditions) |
Bean |
BeanDBSqlOperator.getSingleValue(String sql,
List<Object> parameters) |
Bean |
BeanDBSqlOperator.getSingleValue(String sql,
Map<String,Object> parameters) |
Bean |
BeanDBSqlOperator.getSingleValue(String sql,
Object... parameters) |
Bean |
BeanDBSqlQueryOperator.getSingleValue(String selectClause,
String beanType,
Conditions conditions) |
org.springframework.jdbc.support.rowset.SqlRowSet |
GenericDbOperator.getSqlRowSet(String sql) |
org.springframework.jdbc.support.rowset.SqlRowSet |
GenericDbOperator.getSqlRowSet(String sql,
List<Object> parameters) |
org.springframework.jdbc.support.rowset.SqlRowSet |
GenericDbOperator.getSqlRowSet(String sql,
Map<String,Object> parameters) |
org.springframework.jdbc.support.rowset.SqlRowSet |
GenericDbOperator.getSqlRowSet(String sql,
Object... parameters) |
Bean |
BeanDBSingleOperator.insert(Bean bean) |
Bean[] |
BeanDBBatchOperator.insertBean(Bean[] beans) |
protected void |
BeanDBSingleOperator.insertTopBean(Bean bean) |
protected Bean |
BeanDBSingleOperator.processRelation(Bean bean,
Relation relation,
org.tinygroup.tinydb.operator.impl.BeanDBSingleOperator.RelationCallBack callBack) |
int |
DBSpringBaseOperator.queryForInt(String sql,
Object... parameters) |
int |
DBSpringBaseOperator.queryForIntByList(String sql,
List<Object> parameters) |
int |
DBSpringBaseOperator.queryForIntByMap(String sql,
Map<String,Object> parameters) |
Object |
DBSpringBaseOperator.queryObject(String sql,
String beanType,
String schema,
Object... parameters) |
Object |
DBSpringBaseOperator.queryObjectByMap(String sql,
String beanType,
String schema,
Map<String,Object> parameters,
List<Integer> dataTypes) |
protected Bean[] |
BeanDBSingleOperator.relationProcess(String beanType,
List<Bean> beans) |
int |
BeanDBSingleOperator.update(Bean bean) |
int |
BeanDBSingleOperator.update(Bean bean,
List<String> conditionColumns) |
int[] |
BeanDBBatchOperator.updateBean(Bean[] beans) |
protected int |
BeanDBSingleOperator.updateTopBean(Bean bean)
更新最上层bean
|
Modifier and Type | Method and Description |
---|---|
String |
StatementTransform.toDelete(Bean bean) |
String |
StatementTransform.toInsert(Bean bean) |
SqlAndValues |
StatementTransform.toSelect(Bean bean) |
String |
StatementTransform.toUpdate(Bean bean) |
Modifier and Type | Method and Description |
---|---|
protected String |
StatementTransformAdapter.getDeleteSql(Bean bean,
List<String> conditionColumns)
获取删除对象的sql语句,以及所需的参数的property列表
|
protected String |
StatementTransformAdapter.getInsertSql(Bean bean)
创建新增sql
|
protected String |
StatementTransformAdapter.getUpdateSql(Bean bean,
List<String> conditionColumns) |
String |
DefaultStatementTransform.toDelete(Bean bean) |
String |
StatementTransformAdapter.toDelete(Bean bean) |
String |
StatementTransformComposite.toDelete(Bean bean) |
String |
DefaultStatementTransform.toInsert(Bean bean) |
String |
StatementTransformAdapter.toInsert(Bean bean) |
String |
StatementTransformComposite.toInsert(Bean bean) |
SqlAndValues |
DefaultStatementTransform.toSelect(Bean bean) |
SqlAndValues |
StatementTransformAdapter.toSelect(Bean bean) |
SqlAndValues |
StatementTransformComposite.toSelect(Bean bean) |
SqlAndValues |
BeanQueryConfigStatementTransform.toSelect(Bean bean) |
String |
DefaultStatementTransform.toUpdate(Bean bean) |
String |
StatementTransformAdapter.toUpdate(Bean bean) |
String |
StatementTransformComposite.toUpdate(Bean bean) |
Copyright © 2006–2018 TinyGroup. All rights reserved.