public class BeanOperatorManagerImpl extends Object implements BeanOperatorManager, org.springframework.beans.factory.InitializingBean
COLUMN_NAME, COLUMN_SIZE, DATA_TYPE, DECIMAL_DIGITS, NULLABLE, OPERATOR_MANAGER_BEAN, PK_NAME, TABLE_NAME, TYPE_NAME, XSTEAM_PACKAGE_NAME
Constructor and Description |
---|
BeanOperatorManagerImpl() |
BeanOperatorManagerImpl(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
boolean |
existsTableByType(String beanType,
String schema)
是否存在参数描述的数据库表
|
BeanDbNameConverter |
getBeanDbNameConverter() |
DBOperator<?> |
getDbOperator()
获取数据操作器
|
DBOperator<?> |
getDbOperator(String schema)
获取数据操作器
|
String |
getMainSchema() |
DBOperator<?> |
getNewDbOperator()
新获取数据操作器
|
DBOperator<?> |
getNewDbOperator(String schema)
获取数据操作器
|
String |
getRealSchema(String schema) |
Relation |
getRelationByBeanType(String beanType)
获取关联描述信息
|
Relation |
getRelationById(String id)
获取关联描述信息
|
TableConfiguration |
getTableConfiguration(String beanType)
根据表名获取表配置信息
|
TableConfiguration |
getTableConfiguration(String beanType,
String schema)
根据表名获取表配置信息
|
TableConfigurationContainer |
getTableConfigurationContainer()
获取表配置信息容器对象
|
public BeanOperatorManagerImpl()
public BeanOperatorManagerImpl(Configuration configuration)
public DBOperator<?> getDbOperator(String schema) throws TinyDbException
BeanOperatorManager
getDbOperator
in interface BeanOperatorManager
TinyDbException
public DBOperator<?> getDbOperator() throws TinyDbException
BeanOperatorManager
getDbOperator
in interface BeanOperatorManager
TinyDbException
public DBOperator<?> getNewDbOperator() throws TinyDbException
BeanOperatorManager
getNewDbOperator
in interface BeanOperatorManager
TinyDbException
public DBOperator<?> getNewDbOperator(String schema) throws TinyDbException
BeanOperatorManager
getNewDbOperator
in interface BeanOperatorManager
TinyDbException
public TableConfiguration getTableConfiguration(String beanType, String schema)
BeanOperatorManager
getTableConfiguration
in interface BeanOperatorManager
public TableConfiguration getTableConfiguration(String beanType)
BeanOperatorManager
getTableConfiguration
in interface BeanOperatorManager
public TableConfigurationContainer getTableConfigurationContainer()
BeanOperatorManager
getTableConfigurationContainer
in interface BeanOperatorManager
public Relation getRelationById(String id)
BeanOperatorManager
getRelationById
in interface BeanOperatorManager
id
- 描述信息的唯一标识符public Relation getRelationByBeanType(String beanType)
BeanOperatorManager
getRelationByBeanType
in interface BeanOperatorManager
public boolean existsTableByType(String beanType, String schema)
BeanOperatorManager
existsTableByType
in interface BeanOperatorManager
public BeanDbNameConverter getBeanDbNameConverter()
getBeanDbNameConverter
in interface BeanOperatorManager
public String getMainSchema()
getMainSchema
in interface BeanOperatorManager
Copyright © 2006–2018 TinyGroup. All rights reserved.