A B C D E F G H I J K L M N O P R S T U V
A
- AbstractRouterKeyGenerator<T extends Number> - org.tinygroup.dbrouter.impl.keygenerator 中的 类
- 功能说明:集群主键生成器的抽象类
开发人员: renhui
开发时间: 2014-1-6
- AbstractRouterKeyGenerator() -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 的构造方法
-
- addBatch() -
类 org.tinygroup.dbrouter.context.RealStatementExecutor 中的方法
-
- addDateParamterObject(int, Date, Calendar) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- addInputStreamParamterObject(int, InputStream, int, boolean) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- addNullParamterObject(int, int) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- addNullParamterObject(int, int, String) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- addParamterObject(int, Object) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- addParamterObject(int, Object, int) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- addParamterObject(int, Object, int, int) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- addReaderParamterObject(int, Reader, int) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- addRouter(Router) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- addRouter(Router) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 添加集群
- addRouters(String) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- addRouters(InputStream) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- addRouters(Routers) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- addRouters(Routers) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 添加一组集群
- addRouters(String) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 根据资源路径加载配置
- addRouters(InputStream) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 根据
- addShardInfo(T) -
类 org.tinygroup.dbrouter.util.ConsistentHash 中的方法
- 增加虚拟接点与真实机器节点映射
- addStatementProcessor(StatementProcessor) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- addStatementProcessor(StatementProcessor) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 添加语句处理器
- addTimeParamterObject(int, Time, Calendar) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- addTimestampParamterObject(int, Timestamp, Calendar) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- afterLast() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- ARRAY -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for ARRAY values.
B
- beforeFirst() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- BLOB -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for BLOB values.
- BOOLEAN -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for BOOLEAN values.
- BYTE -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for BYTE values.
- BYTES -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for BYTES values.
C
- CacheKey - org.tinygroup.dbrouter.cache 中的 类
-
- CacheKey() -
类 org.tinygroup.dbrouter.cache.CacheKey 的构造方法
-
- CacheKey(Object[]) -
类 org.tinygroup.dbrouter.cache.CacheKey 的构造方法
-
- caches -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的变量
-
- checkColumnIndex(String, List<Column>) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
- 检查参数指定的字段名称在列集合元素的位置,返回-1说明columnName不存在columns中
- checkItem(List<SelectItem>, Column) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
-
- checkOrderByAndGroupbyItem(PlainSelect) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
- 检测查询语句选择项是否包含order by\group by字段,不存在则创建order by\group by字段
- checkParamIndex(int, List<Expression>) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
- 检查insert语句中列号为columnIndex的jdbcParamter的位置,例如 insert into aaa(id,name,age)
values(11,?
- clear() -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- clearValueCache() -
类 org.tinygroup.dbrouter.util.OrderByProcessor 中的方法
-
- clearValueCache() -
类 org.tinygroup.dbrouter.util.OrderByProcessor.OrderByValues 中的方法
-
- CLOB -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for CLOB values.
- clone() -
类 org.tinygroup.dbrouter.cache.CacheKey 中的方法
-
- combineResult(String, StatementExecuteContext) -
接口 org.tinygroup.dbrouter.StatementProcessor 中的方法
- 对结果进行合并
- compare(OrderByProcessor.OrderByValues, OrderByProcessor.OrderByValues) -
类 org.tinygroup.dbrouter.util.SortOrder 中的方法
- null值在升序时排在最后
- ConsistentHash<T> - org.tinygroup.dbrouter.util 中的 类
-
- ConsistentHash(Collection<T>) -
类 org.tinygroup.dbrouter.util.ConsistentHash 的构造方法
-
- ConsistentHash(int, Collection<T>) -
类 org.tinygroup.dbrouter.util.ConsistentHash 的构造方法
-
- convertSQLTypeToValueType(int) -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Convert a SQL type to a value type.
- createConnection(DataSourceConfig) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
-
- createKeyTable(KeyTables) -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- createKeyTable(KeyTables) -
类 org.tinygroup.dbrouter.impl.keygenerator.RouterKeyGeneratorUUID 中的方法
-
- createKeyTable(KeyTables) -
接口 org.tinygroup.dbrouter.RouterKeyGenerator 中的方法
- 创建动态数据库存储表
D
- DataSourceConfig - org.tinygroup.dbrouter.config 中的 类
- 数据源定义
- DataSourceConfig() -
类 org.tinygroup.dbrouter.config.DataSourceConfig 的构造方法
-
- DataSourceConfig(String, String, String, String, String) -
类 org.tinygroup.dbrouter.config.DataSourceConfig 的构造方法
-
- DataSourceConfigBean - org.tinygroup.dbrouter.config 中的 类
-
- DataSourceConfigBean() -
类 org.tinygroup.dbrouter.config.DataSourceConfigBean 的构造方法
-
- DataType - org.tinygroup.dbrouter.value 中的 类
- This class contains meta data information about data types,
and can convert between Java objects and Values.
- DataType() -
类 org.tinygroup.dbrouter.value.DataType 的构造方法
-
- DATE -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for DATE values.
- DbrouterRuntimeException - org.tinygroup.dbrouter.exception 中的 异常
- dbrouter封装的运行期异常
- DbrouterRuntimeException() -
异常 org.tinygroup.dbrouter.exception.DbrouterRuntimeException 的构造方法
-
- DbrouterRuntimeException(String, Throwable) -
异常 org.tinygroup.dbrouter.exception.DbrouterRuntimeException 的构造方法
-
- DbrouterRuntimeException(String) -
异常 org.tinygroup.dbrouter.exception.DbrouterRuntimeException 的构造方法
-
- DbrouterRuntimeException(Throwable) -
异常 org.tinygroup.dbrouter.exception.DbrouterRuntimeException 的构造方法
-
- DbRouterUtil - org.tinygroup.dbrouter.util 中的 类
- 功能说明: 工具类
开发人员: renhui
开发时间: 2013-12-17
- DECIMAL -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for DECIMAL values.
- deepCopy(Statement) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
-
- DEFAULT_KEY_TABLE_NAME -
类 org.tinygroup.dbrouter.config.KeyGeneratorConfig 中的静态变量
-
- DEFAULT_KEY_TABLE_NAME -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的静态变量
-
- deleteMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithId 中的方法
-
- deleteMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithSectionAndHash 中的方法
-
- deleteMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithSections 中的方法
-
- DOUBLE -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for DOUBLE values.
E
- END_NUMBER -
类 org.tinygroup.dbrouter.config.KeyGeneratorConfig 中的静态变量
-
- END_NUMBER -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的静态变量
-
- equals(Object) -
类 org.tinygroup.dbrouter.cache.CacheKey 中的方法
-
- equals(Object) -
类 org.tinygroup.dbrouter.config.DataSourceConfigBean 中的方法
-
- equals(Object) -
类 org.tinygroup.dbrouter.impl.shardrule.Section 中的方法
-
- executeQuery() -
类 org.tinygroup.dbrouter.context.RealStatementExecutor 中的方法
-
- executeUpdate() -
类 org.tinygroup.dbrouter.context.RealStatementExecutor 中的方法
-
- expandParam() -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
F
- FieldWithValues - org.tinygroup.dbrouter.impl.shardrule 中的 类
- Created by luoguo on 14-1-22.
- FieldWithValues() -
类 org.tinygroup.dbrouter.impl.shardrule.FieldWithValues 的构造方法
-
- first() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- FLOAT -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for FLOAT values.
G
- generatorNextKey(Long) -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
- 获取下一个key值
- generatorNextKey(Long) -
类 org.tinygroup.dbrouter.impl.keygenerator.RouterKeyGeneratorInteger 中的方法
-
- generatorNextKey(Long) -
类 org.tinygroup.dbrouter.impl.keygenerator.RouterKeyGeneratorLong 中的方法
-
- getAddProofType(int) -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Get the data type that will not overflow when calling 'add' 2 billion times.
- getBuilder() -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- getCache() -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getCache() -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 获取缓存
- getCatalog() -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- getClassName() -
类 org.tinygroup.dbrouter.config.KeyTable 中的方法
-
- getColumn() -
类 org.tinygroup.dbrouter.impl.InsertSqlTransform.ColumnInfo 中的方法
-
- getColumnName() -
类 org.tinygroup.dbrouter.impl.InsertSqlTransform.ColumnInfo 中的方法
-
- getColumnName() -
类 org.tinygroup.dbrouter.util.OrderByProcessor.OrderByColumn 中的方法
-
- getConnection(Connection) -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- getDataSourceConfig(String) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- getDataSourceConfig() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getDataSourceConfig() -
类 org.tinygroup.dbrouter.impl.keygenerator.KeyTableInstallProcessor 中的方法
-
- getDataSourceConfigBean() -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- getDataSourceId() -
类 org.tinygroup.dbrouter.config.KeyGeneratorConfig 中的方法
-
- getDataSourceId() -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- getDataSourceId() -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- getDataSources() -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- getDataType() -
类 org.tinygroup.dbrouter.impl.InsertSqlTransform.ColumnInfo 中的方法
-
- getDataType(int) -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Get the data type object for the given value type.
- getDealSqls(String, Connection) -
类 org.tinygroup.dbrouter.impl.keygenerator.KeyTableInstallProcessor 中的方法
-
- getDefaultDisplaySize() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getDefaultForPrimitiveType(Class<?>) -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Get the default value in the form of a Java object for the given Java class.
- getDefaultPrecision() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getDefaultScale() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getDriver() -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- getDriver() -
类 org.tinygroup.dbrouter.config.DataSourceConfigBean 中的方法
-
- getEnd() -
类 org.tinygroup.dbrouter.impl.shardrule.Section 中的方法
-
- getExecuteSql() -
类 org.tinygroup.dbrouter.context.RealStatementExecutor 中的方法
-
- getExecuteSql() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getFieldWithValues() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByFieldValue 中的方法
-
- getGroupByColumns(PlainSelect) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
-
- getId() -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- getId() -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
- getId() -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- getId() -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- getIncrement() -
类 org.tinygroup.dbrouter.config.KeyGeneratorConfig 中的方法
-
- getIncrement() -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- getJdbc() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getKey(String) -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- getKey(String) -
类 org.tinygroup.dbrouter.impl.keygenerator.RouterKeyGeneratorUUID 中的方法
-
- getKey(String) -
接口 org.tinygroup.dbrouter.RouterKeyGenerator 中的方法
- 返回指定表的新主键
- getKeyGenerator() -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- getKeyTable(String, String) -
类 org.tinygroup.dbrouter.config.KeyTables 中的方法
-
- getKeyTable() -
类 org.tinygroup.dbrouter.impl.keygenerator.KeyTableInstallProcessor 中的方法
-
- getKeyTableList() -
类 org.tinygroup.dbrouter.config.KeyTables 中的方法
-
- getKeyTableName() -
类 org.tinygroup.dbrouter.config.KeyGeneratorConfig 中的方法
-
- getKeyTableName() -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- getLanguage() -
类 org.tinygroup.dbrouter.config.KeyTable 中的方法
-
- getLanguageByUrl(String) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
- 根据jdbc的Url解析数据库的语言
- getManager() -
类 org.tinygroup.dbrouter.factory.RouterManagerBeanFactory 中的静态方法
-
- getManager(String) -
类 org.tinygroup.dbrouter.factory.RouterManagerBeanFactory 中的静态方法
-
- getManager(String, Cache) -
类 org.tinygroup.dbrouter.factory.RouterManagerBeanFactory 中的静态方法
-
- getMaxPrecision() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getMaxScale() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getMinScale() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getMode() -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
- getName() -
类 org.tinygroup.dbrouter.impl.shardrule.FieldWithValues 中的方法
-
- getName() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getNonPrimitiveClass(Class<?>) -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Convert primitive class names to java.lang.* class names.
- getOrder() -
类 org.tinygroup.dbrouter.impl.keygenerator.KeyTableInstallProcessor 中的方法
-
- getOrderByColumns(PlainSelect) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
-
- getOrderByIndexs() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getOrderByIndexs(PlainSelect, ResultSet) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
- 获取查询语句orderby字段的位置
- getOrderByIndexs() -
类 org.tinygroup.dbrouter.util.OrderByProcessor 中的方法
-
- getOrderByValuesFromResultSet() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getOrderTypes() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getOrderTypes() -
类 org.tinygroup.dbrouter.util.OrderByProcessor 中的方法
-
- getOrderTypes() -
类 org.tinygroup.dbrouter.util.SortOrder 中的方法
-
- getOriginalSql() -
类 org.tinygroup.dbrouter.context.RealStatementExecutor 中的方法
-
- getOriginalSql() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getOrignalSql() -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- getParameterCount() -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- getParams() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getParamValue(int) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
- 获取字段对应的参数值
- getPartition() -
类 org.tinygroup.dbrouter.context.RealStatementExecutor 中的方法
-
- getPartition() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getPartition() -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- getPartition(String, String) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getPartition(Router, String) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getPartition(String, String) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 获取匹配的首个分区
- getPartition(Router, String) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 获取匹配的首个分区
- getPartitionRules() -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
- getPartitions() -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- getPartitions(String, String) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getPartitions(Router, String) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getPartitions(String, String) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 获取匹配的分区
- getPartitions(Router, String) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 获取匹配的分区
- getPassword() -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- getPassword() -
类 org.tinygroup.dbrouter.config.DataSourceConfigBean 中的方法
-
- getPassword() -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- getPhysicsCatalog() -
类 org.tinygroup.dbrouter.config.TableMapping 中的方法
-
- getPhysicsSchema() -
类 org.tinygroup.dbrouter.config.TableMapping 中的方法
-
- getPrefix() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getPreparedParams() -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- getPrimaryColumn() -
类 org.tinygroup.dbrouter.impl.InsertSqlTransform 中的方法
-
- getPrimaryKey(Router, String) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getPrimaryKey(Router, String) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 给某个集群的数据表产生主键
- getPrimaryKeyFieldName() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdAbstract 中的方法
-
- getRandomString(int) -
类 org.tinygroup.dbrouter.util.ConsistentHash 中的静态方法
-
- getReadableShard(Partition) -
接口 org.tinygroup.dbrouter.balance.ShardBalance 中的方法
- 获取读取分区
- getReadableShard(Partition) -
类 org.tinygroup.dbrouter.balance.ShardBalanceDefault 中的方法
-
- getReadShardList() -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
- getReadShardWithTransaction(Partition) -
接口 org.tinygroup.dbrouter.balance.ShardBalance 中的方法
- 获取读取分区,在开启事务的情况下
- getReadShardWithTransaction(Partition) -
类 org.tinygroup.dbrouter.balance.ShardBalanceDefault 中的方法
-
- getReadWeight() -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- getRealSql(String) -
类 org.tinygroup.dbrouter.config.KeyTable 中的方法
-
- getRealStatement() -
类 org.tinygroup.dbrouter.context.RealStatementExecutor 中的方法
-
- getRealStatements() -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- getRemainder() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdAbstract 中的方法
-
- getReplacedSql(Partition, Shard, String) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByFieldValue 中的方法
-
- getReplacedSql(Partition, Shard, String) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdDifferentSchema 中的方法
-
- getReplacedSql(Partition, Shard, String) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdSameSchema 中的方法
-
- getReplacedSql(Partition, Shard, String) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleBySectionAndHashDifferentSchema 中的方法
-
- getReplacedSql(Partition, Shard, String) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleBySectionDifferentSchema 中的方法
-
- getReplacedSql(Partition, Shard, String) -
接口 org.tinygroup.dbrouter.ShardRule 中的方法
- 返回替换好的SQL语句,对于在同一个schema中的用多个表进行分表的话,就需要替换SQL脚本
- getResultSet() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getResultSet() -
类 org.tinygroup.dbrouter.util.OrderByProcessor.OrderByValues 中的方法
-
- getResultSetExecutors() -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- getRouter() -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
- getRouter() -
类 org.tinygroup.dbrouter.context.RealStatementExecutor 中的方法
-
- getRouter() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getRouter() -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- getRouter(String) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getRouter(String) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 获取集群
- getRouterList() -
类 org.tinygroup.dbrouter.config.Routers 中的方法
-
- getRouterMap() -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getRouterMap() -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 获取集群配置Map
- getSchema() -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- getSelectTable(String) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
-
- getSelectTableName(String) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
-
- getShard() -
类 org.tinygroup.dbrouter.context.RealStatementExecutor 中的方法
-
- getShard() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getShard(T) -
类 org.tinygroup.dbrouter.util.ConsistentHash 中的方法
-
- getShardBalance() -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getShardBalance() -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 返回分片均衡器
- getShardInfo(String) -
类 org.tinygroup.dbrouter.util.ConsistentHash 中的方法
- 取得真实机器节点
- getShardRules() -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- getShards() -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
- getShards(Partition, String, Object...) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getShards(Partition, String, Object...) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 获取匹配的分片
- getShardTableName(String) -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- getShardTableName() -
类 org.tinygroup.dbrouter.config.TableMapping 中的方法
-
- getSortOrder() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getSortOrder() -
类 org.tinygroup.dbrouter.util.OrderByProcessor 中的方法
-
- getSql() -
类 org.tinygroup.dbrouter.config.KeyTable 中的方法
-
- getSql(Partition, Shard, String, Object...) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getSql(Partition, Shard, String, Object...) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 返回分片执行语句
- getSql(String, StatementExecuteContext) -
接口 org.tinygroup.dbrouter.StatementProcessor 中的方法
- 返回处理器转换过之后的SQL
- getSqlParamSize(String) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
-
- getSqlStatement(String) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getSqlStatement(String) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 返回SQL对应的Statement
- getSqlType() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getSqlTypePos() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getStart() -
类 org.tinygroup.dbrouter.impl.shardrule.Section 中的方法
-
- getStatementProcessor() -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- getStatementProcessorList() -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- getStatementProcessorList() -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 返回所有语句处理器列表
- getStep() -
类 org.tinygroup.dbrouter.config.KeyGeneratorConfig 中的方法
-
- getStep() -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- getSuffix() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getTableMappingMap() -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- getTableMappingMap() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleBySectionDifferentSchema 中的方法
-
- getTableMappings() -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- getTableMappings() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleBySectionDifferentSchema 中的方法
-
- getTableName() -
类 org.tinygroup.dbrouter.config.TableMapping 中的方法
-
- getTableName() -
类 org.tinygroup.dbrouter.impl.keygenerator.KeyTableInstallProcessor 中的方法
-
- getTableName() -
类 org.tinygroup.dbrouter.impl.partionrule.PartionRuleByTableName 中的方法
-
- getTableName() -
类 org.tinygroup.dbrouter.impl.shardrule.FieldWithValues 中的方法
-
- getTableName() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdAbstract 中的方法
-
- getTableName() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleBySectionDifferentSchema 中的方法
-
- getTestSql() -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- getThreadSize() -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- getTimeOut() -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- getTinyConnection() -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- getTinyStatement() -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- getType() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- getTypeByName(String) -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Get a data type object from a type name.
- getTypeClassName(int) -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Get the name of the Java class for the given value type.
- getTypeFromClass(Class<?>) -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Get the value type for the given Java class.
- getTypes() -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Get the list of data types.
- getUpdateCount() -
类 org.tinygroup.dbrouter.cache.CacheKey 中的方法
-
- getUrl() -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- getUrl() -
类 org.tinygroup.dbrouter.config.DataSourceConfigBean 中的方法
-
- getUserName() -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- getUserName() -
类 org.tinygroup.dbrouter.config.DataSourceConfigBean 中的方法
-
- getUserName() -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- getValueCache() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- getValueCache() -
类 org.tinygroup.dbrouter.util.OrderByProcessor 中的方法
-
- getValues() -
类 org.tinygroup.dbrouter.context.RealStatementExecutor 中的方法
-
- getValues() -
类 org.tinygroup.dbrouter.impl.shardrule.FieldWithValues 中的方法
-
- getValues() -
类 org.tinygroup.dbrouter.util.OrderByProcessor.OrderByValues 中的方法
-
- getWritableShard(Partition) -
接口 org.tinygroup.dbrouter.balance.ShardBalance 中的方法
- 获取写入分区,在所有的写入分区都执行写入相关的指令
- getWritableShard(Partition) -
类 org.tinygroup.dbrouter.balance.ShardBalanceDefault 中的方法
-
- getWritableShardList() -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
H
- hash(String) -
类 org.tinygroup.dbrouter.util.ConsistentHash 中的方法
- MurMurHash算法,是非加密HASH算法,性能很高,碰撞率低
- hashCode() -
类 org.tinygroup.dbrouter.cache.CacheKey 中的方法
-
- hashCode() -
类 org.tinygroup.dbrouter.config.DataSourceConfigBean 中的方法
-
- hashCode() -
类 org.tinygroup.dbrouter.impl.shardrule.Section 中的方法
-
I
- init() -
类 org.tinygroup.dbrouter.config.KeyTables 中的方法
-
- insertMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithId 中的方法
-
- insertMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithSectionAndHash 中的方法
-
- insertMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithSections 中的方法
-
- InsertSqlTransform - org.tinygroup.dbrouter.impl 中的 类
-
- InsertSqlTransform(Insert, Shard, DatabaseMetaData) -
类 org.tinygroup.dbrouter.impl.InsertSqlTransform 的构造方法
-
- InsertSqlTransform.ColumnInfo - org.tinygroup.dbrouter.impl 中的 类
-
- InsertSqlTransform.ColumnInfo() -
类 org.tinygroup.dbrouter.impl.InsertSqlTransform.ColumnInfo 的构造方法
-
- INT -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for INT values.
- isAfterLast() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- isAsc() -
类 org.tinygroup.dbrouter.util.OrderByProcessor.OrderByColumn 中的方法
-
- isAutoCreate() -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- isAutoCreate() -
类 org.tinygroup.dbrouter.impl.keygenerator.RouterKeyGeneratorUUID 中的方法
-
- isAutoCreate() -
接口 org.tinygroup.dbrouter.RouterKeyGenerator 中的方法
- 是否能动态创建数据库存储表
- isAutoIncrement() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- isBeforeFirst() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- isCaseSensitive() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- isCurrentResult(ResultSet) -
类 org.tinygroup.dbrouter.util.OrderByProcessor.OrderByValues 中的方法
-
- isDecimal() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- isHasOrderBy() -
类 org.tinygroup.dbrouter.util.OrderByProcessor 中的方法
- 是否存在排序字段
- isHidden() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- isJtaEnabled() -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- isLargeObject(int) -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Check if the given value type is a large object (BLOB or CLOB).
- isMatch(String) -
类 org.tinygroup.dbrouter.impl.partionrule.PartionRuleByTableName 中的方法
- 查看是否匹配
- isMatch(Partition, String) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- isMatch(Partition, Shard, String, Object...) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- isMatch(Partition, Shard, String, Object...) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByFieldValue 中的方法
-
- isMatch(Partition, Shard, String, Object...) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdAbstract 中的方法
-
- isMatch(Partition, Shard, String, Object...) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleBySectionAndHashDifferentSchema 中的方法
-
- isMatch(Partition, Shard, String, Object...) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleBySectionDifferentSchema 中的方法
-
- isMatch(String) -
接口 org.tinygroup.dbrouter.PartitionRule 中的方法
- 返回是否命中
如果有多个命中,则只用第一个进行处理,有多个命中是不合理的配置应该杜绝
- isMatch(Partition, String) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 返回某个分区与sql是否匹配
- isMatch(Partition, Shard, String, Object...) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 返回某个分片是否匹配
- isMatch(Partition, Shard, String, Object...) -
接口 org.tinygroup.dbrouter.ShardRule 中的方法
- 返回是否属于当前分片处理
- isMatch(String, Object[]) -
接口 org.tinygroup.dbrouter.StatementProcessor 中的方法
- 返回是否由此SQL处理器进行处理
- isQuerySql(String) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
-
- isRead() -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
- 是查询操作
- isSelect(Statement) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
-
- isShardSql(Partition, String, Object...) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- isShardSql(Partition, String, Object...) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 返回是否是分片语句
- isStringType(int) -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Check if the given value type is a String (VARCHAR,...).
- isSupportsPrecision() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- isSupportsScale() -
类 org.tinygroup.dbrouter.value.DataType 中的方法
-
- isWriteAble() -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
J
- JAVA_OBJECT -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for JAVA_OBJECT values.
K
- KeyGeneratorConfig - org.tinygroup.dbrouter.config 中的 类
- 功能说明: 集群key生成器配置信息
开发人员: renhui
开发时间: 2014-1-7
- KeyGeneratorConfig() -
类 org.tinygroup.dbrouter.config.KeyGeneratorConfig 的构造方法
-
- KeyTable - org.tinygroup.dbrouter.config 中的 类
- 主键生成表配置信息
- KeyTable() -
类 org.tinygroup.dbrouter.config.KeyTable 的构造方法
-
- KeyTableInstallProcessor - org.tinygroup.dbrouter.impl.keygenerator 中的 类
-
- KeyTableInstallProcessor() -
类 org.tinygroup.dbrouter.impl.keygenerator.KeyTableInstallProcessor 的构造方法
-
- KeyTables - org.tinygroup.dbrouter.config 中的 类
-
- KeyTables() -
类 org.tinygroup.dbrouter.config.KeyTables 的构造方法
-
L
- last() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- LONG -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for LONG values.
M
- MODE_PRIMARY_SLAVE -
类 org.tinygroup.dbrouter.config.Partition 中的静态变量
- 主从模式,主从模式中的数据全部一样,通过读写分离来进行分流
- MODE_SHARD -
类 org.tinygroup.dbrouter.config.Partition 中的静态变量
- 分片模式,每个分片中的数据都不一样,通过分片可以减少单个库表中的记录系数
N
- next() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- NULL -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for NULL.
O
- OrderByProcessor - org.tinygroup.dbrouter.util 中的 类
- 排序处理类
开发人员: renhui
开发时间: 2013-12-23
- OrderByProcessor(PlainSelect, ResultSet) -
类 org.tinygroup.dbrouter.util.OrderByProcessor 的构造方法
-
- OrderByProcessor.OrderByColumn - org.tinygroup.dbrouter.util 中的 类
- 排序列
- OrderByProcessor.OrderByColumn(Column, boolean) -
类 org.tinygroup.dbrouter.util.OrderByProcessor.OrderByColumn 的构造方法
-
- OrderByProcessor.OrderByValues - org.tinygroup.dbrouter.util 中的 类
-
- OrderByProcessor.OrderByValues(Object[]) -
类 org.tinygroup.dbrouter.util.OrderByProcessor.OrderByValues 的构造方法
-
- OrderByProcessor.OrderByValues(ResultSet) -
类 org.tinygroup.dbrouter.util.OrderByProcessor.OrderByValues 的构造方法
-
- org.tinygroup.dbrouter - 软件包 org.tinygroup.dbrouter
-
- org.tinygroup.dbrouter.balance - 软件包 org.tinygroup.dbrouter.balance
-
- org.tinygroup.dbrouter.cache - 软件包 org.tinygroup.dbrouter.cache
-
- org.tinygroup.dbrouter.config - 软件包 org.tinygroup.dbrouter.config
-
- org.tinygroup.dbrouter.context - 软件包 org.tinygroup.dbrouter.context
-
- org.tinygroup.dbrouter.exception - 软件包 org.tinygroup.dbrouter.exception
-
- org.tinygroup.dbrouter.factory - 软件包 org.tinygroup.dbrouter.factory
-
- org.tinygroup.dbrouter.impl - 软件包 org.tinygroup.dbrouter.impl
-
- org.tinygroup.dbrouter.impl.keygenerator - 软件包 org.tinygroup.dbrouter.impl.keygenerator
-
- org.tinygroup.dbrouter.impl.partionrule - 软件包 org.tinygroup.dbrouter.impl.partionrule
-
- org.tinygroup.dbrouter.impl.shardrule - 软件包 org.tinygroup.dbrouter.impl.shardrule
-
- org.tinygroup.dbrouter.util - 软件包 org.tinygroup.dbrouter.util
-
- org.tinygroup.dbrouter.value - 软件包 org.tinygroup.dbrouter.value
-
P
- ParamObjectBuilder - org.tinygroup.dbrouter.util 中的 类
- 功能说明:用于prepare以及resultset curd操作参数赋值
系统版本: v1.0
开发人员: renhui
开发时间: 2014-1-9
- ParamObjectBuilder(int) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 的构造方法
-
- PartionRuleByTableName - org.tinygroup.dbrouter.impl.partionrule 中的 类
- 分区规则实现类
Created by luoguo on 13-12-16.
- PartionRuleByTableName() -
类 org.tinygroup.dbrouter.impl.partionrule.PartionRuleByTableName 的构造方法
-
- PartionRuleByTableName(String) -
类 org.tinygroup.dbrouter.impl.partionrule.PartionRuleByTableName 的构造方法
- 构造函数
- Partition - org.tinygroup.dbrouter.config 中的 类
- 分区
- Partition() -
类 org.tinygroup.dbrouter.config.Partition 的构造方法
-
- Partition(String, int) -
类 org.tinygroup.dbrouter.config.Partition 的构造方法
- 构造方法
- PartitionRule - org.tinygroup.dbrouter 中的 接口
- 分区规则接口
规则参数在实现类中定义 - previous() -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- process(String) -
类 org.tinygroup.dbrouter.impl.keygenerator.KeyTableInstallProcessor 中的方法
-
R
- RealStatementExecutor - org.tinygroup.dbrouter.context 中的 类
-
- RealStatementExecutor(Statement, String, String, Shard, Partition, Router, Object[]) -
类 org.tinygroup.dbrouter.context.RealStatementExecutor 的构造方法
-
- removeConnection(Connection) -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- removeParameterObject(int, Object) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- removeShardInfo(T) -
类 org.tinygroup.dbrouter.util.ConsistentHash 中的方法
- 删除真实机器节点
- RESULT_SET -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for RESULT_SET values.
- ResultSetExecutor - org.tinygroup.dbrouter.context 中的 类
- ResultSet的执行上下文
- ResultSetExecutor(ResultSet, String, String, Shard, Partition, Router) -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 的构造方法
-
- Router - org.tinygroup.dbrouter.config 中的 类
- 集群
一个集群可包含多个分区 - Router() -
类 org.tinygroup.dbrouter.config.Router 的构造方法
-
- Router(String, String, String) -
类 org.tinygroup.dbrouter.config.Router 的构造方法
-
- router -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的变量
-
- ROUTER_MANAGER -
类 org.tinygroup.dbrouter.factory.RouterManagerBeanFactory 中的静态变量
-
- RouterKeyGenerator<T> - org.tinygroup.dbrouter 中的 接口
- 分布式Key获取器
- RouterKeyGeneratorInteger - org.tinygroup.dbrouter.impl.keygenerator 中的 类
- Created by luoguo on 13-12-13.
- RouterKeyGeneratorInteger() -
类 org.tinygroup.dbrouter.impl.keygenerator.RouterKeyGeneratorInteger 的构造方法
-
- RouterKeyGeneratorLong - org.tinygroup.dbrouter.impl.keygenerator 中的 类
- Created by luoguo on 13-12-13.
- RouterKeyGeneratorLong() -
类 org.tinygroup.dbrouter.impl.keygenerator.RouterKeyGeneratorLong 的构造方法
-
- RouterKeyGeneratorUUID - org.tinygroup.dbrouter.impl.keygenerator 中的 类
- Created by luoguo on 13-12-13.
- RouterKeyGeneratorUUID() -
类 org.tinygroup.dbrouter.impl.keygenerator.RouterKeyGeneratorUUID 的构造方法
-
- routerManager -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的变量
-
- RouterManager - org.tinygroup.dbrouter 中的 接口
- 集群管理器,用于对当前JVM中的数据库集群进行管理,并提供相关处理的接口
- RouterManagerBeanFactory - org.tinygroup.dbrouter.factory 中的 类
- 功能说明:创建集群管理对象的类
开发人员: renhui
开发时间: 2013-12-25
- RouterManagerImpl - org.tinygroup.dbrouter.impl 中的 类
- 分区管理器实现类
- RouterManagerImpl() -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 的构造方法
-
- Routers - org.tinygroup.dbrouter.config 中的 类
- Created by luoguo on 14-1-21.
- Routers() -
类 org.tinygroup.dbrouter.config.Routers 的构造方法
-
S
- Section - org.tinygroup.dbrouter.impl.shardrule 中的 类
-
- Section() -
类 org.tinygroup.dbrouter.impl.shardrule.Section 的构造方法
-
- selectMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithId 中的方法
-
- selectMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithSectionAndHash 中的方法
-
- selectMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithSections 中的方法
-
- setAfterLast(boolean) -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- setAutoCreate(boolean) -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- setBeforeFirst(boolean) -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- setBuilder(ParamObjectBuilder) -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- setCache(Cache) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- setCache(Cache) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 设置缓存
- setCatalog(String) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setClassName(String) -
类 org.tinygroup.dbrouter.config.KeyTable 中的方法
-
- setColumn(Column) -
类 org.tinygroup.dbrouter.impl.InsertSqlTransform.ColumnInfo 中的方法
-
- setConnection(Connection, Connection) -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- setDataSource(List<DataSourceConfig>) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setDataSourceConfig(DataSourceConfig) -
类 org.tinygroup.dbrouter.impl.keygenerator.KeyTableInstallProcessor 中的方法
-
- setDataSourceId(String) -
类 org.tinygroup.dbrouter.config.KeyGeneratorConfig 中的方法
-
- setDataSourceId(String) -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- setDataSourceId(String) -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- setDataSources(List<DataSourceConfig>) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setDataType(int) -
类 org.tinygroup.dbrouter.impl.InsertSqlTransform.ColumnInfo 中的方法
-
- setDriver(String) -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- setDriver(String) -
类 org.tinygroup.dbrouter.config.DataSourceConfigBean 中的方法
-
- setEnd(long) -
类 org.tinygroup.dbrouter.impl.shardrule.Section 中的方法
-
- setFieldWithValues(List<FieldWithValues>) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByFieldValue 中的方法
-
- setId(String) -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- setId(String) -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
- setId(String) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setId(String) -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- setIncrement(int) -
类 org.tinygroup.dbrouter.config.KeyGeneratorConfig 中的方法
-
- setIncrement(int) -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- setJtaEnabled(boolean) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setKeyGenerator(RouterKeyGenerator) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setKeyTable(KeyTable) -
类 org.tinygroup.dbrouter.impl.keygenerator.KeyTableInstallProcessor 中的方法
-
- setKeyTableList(List<KeyTable>) -
类 org.tinygroup.dbrouter.config.KeyTables 中的方法
-
- setKeyTableName(String) -
类 org.tinygroup.dbrouter.config.KeyGeneratorConfig 中的方法
-
- setKeyTableName(String) -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- setLanguage(String) -
类 org.tinygroup.dbrouter.config.KeyTable 中的方法
-
- setMode(int) -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
- setName(String) -
类 org.tinygroup.dbrouter.impl.shardrule.FieldWithValues 中的方法
-
- setOrderTypes(boolean[]) -
类 org.tinygroup.dbrouter.util.SortOrder 中的方法
-
- setOrignalSql(String) -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- setParamters(PreparedStatement) -
类 org.tinygroup.dbrouter.util.ParamObjectBuilder 中的方法
-
- setPartition(Partition) -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- setPartitionRules(List<PartitionRule>) -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
- setPartitions(List<Partition>) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setPassword(String) -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- setPassword(String) -
类 org.tinygroup.dbrouter.config.DataSourceConfigBean 中的方法
-
- setPassword(String) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setPhysicsCatalog(String) -
类 org.tinygroup.dbrouter.config.TableMapping 中的方法
-
- setPhysicsSchema(String) -
类 org.tinygroup.dbrouter.config.TableMapping 中的方法
-
- setPrimaryKeyFieldName(String) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdAbstract 中的方法
-
- setReadWeight(int) -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- setRemainder(int) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdAbstract 中的方法
-
- setResultSetExecutors(List<ResultSetExecutor>) -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- setRouter(Router) -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
- setRouter(Router) -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- setRouter(Router) -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- setRouter(Router) -
类 org.tinygroup.dbrouter.impl.keygenerator.RouterKeyGeneratorUUID 中的方法
-
- setRouter(Router) -
接口 org.tinygroup.dbrouter.RouterKeyGenerator 中的方法
- 注入Router对象给主键获取器
有的时候,主键发生器需要获取集群相关的信息
- setRouterList(List<Router>) -
类 org.tinygroup.dbrouter.config.Routers 中的方法
-
- setSchema(String) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setShardBalance(ShardBalance) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- setShardBalance(ShardBalance) -
接口 org.tinygroup.dbrouter.RouterManager 中的方法
- 设置分片均衡器
- setShardRules(List<ShardRule>) -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- setShards(List<Shard>) -
类 org.tinygroup.dbrouter.config.Partition 中的方法
-
- setShardTableName(String) -
类 org.tinygroup.dbrouter.config.TableMapping 中的方法
-
- setSql(String) -
类 org.tinygroup.dbrouter.config.KeyTable 中的方法
-
- setStart(long) -
类 org.tinygroup.dbrouter.impl.shardrule.Section 中的方法
-
- setStatementProcessor(StatementProcessor) -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- setStatementProcessorList(List<StatementProcessor>) -
类 org.tinygroup.dbrouter.impl.RouterManagerImpl 中的方法
-
- setStatements(List<RealStatementExecutor>) -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- setStep(int) -
类 org.tinygroup.dbrouter.config.KeyGeneratorConfig 中的方法
-
- setStep(int) -
类 org.tinygroup.dbrouter.impl.keygenerator.AbstractRouterKeyGenerator 中的方法
-
- setTableMappings(List<TableMapping>) -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- setTableName(String) -
类 org.tinygroup.dbrouter.config.TableMapping 中的方法
-
- setTableName(String) -
类 org.tinygroup.dbrouter.impl.keygenerator.KeyTableInstallProcessor 中的方法
-
- setTableName(String) -
类 org.tinygroup.dbrouter.impl.partionrule.PartionRuleByTableName 中的方法
-
- setTableName(String) -
类 org.tinygroup.dbrouter.impl.shardrule.FieldWithValues 中的方法
-
- setTableName(String) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdAbstract 中的方法
-
- setTestSql(String) -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- setThreadSize(int) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setTimeOut(int) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setTinyConnection(Connection) -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- setTinyStatement(Statement) -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 中的方法
-
- setUrl(String) -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- setUrl(String) -
类 org.tinygroup.dbrouter.config.DataSourceConfigBean 中的方法
-
- setUserName(String) -
类 org.tinygroup.dbrouter.config.DataSourceConfig 中的方法
-
- setUserName(String) -
类 org.tinygroup.dbrouter.config.DataSourceConfigBean 中的方法
-
- setUserName(String) -
类 org.tinygroup.dbrouter.config.Router 中的方法
-
- setValueCache(OrderByProcessor.OrderByValues) -
类 org.tinygroup.dbrouter.context.ResultSetExecutor 中的方法
-
- setValueCache(OrderByProcessor.OrderByValues) -
类 org.tinygroup.dbrouter.util.OrderByProcessor 中的方法
-
- setValues(String) -
类 org.tinygroup.dbrouter.impl.shardrule.FieldWithValues 中的方法
-
- setValues(Object[]) -
类 org.tinygroup.dbrouter.util.OrderByProcessor.OrderByValues 中的方法
-
- setValues(Object[]) -
类 org.tinygroup.dbrouter.util.OrderByProcessor 中的方法
-
- setValues(ResultSet) -
类 org.tinygroup.dbrouter.util.OrderByProcessor 中的方法
-
- setWriteAble(boolean) -
类 org.tinygroup.dbrouter.config.Shard 中的方法
-
- Shard - org.tinygroup.dbrouter.config 中的 类
- 分片
- Shard() -
类 org.tinygroup.dbrouter.config.Shard 的构造方法
-
- Shard(String, String) -
类 org.tinygroup.dbrouter.config.Shard 的构造方法
-
- Shard(String, String, int) -
类 org.tinygroup.dbrouter.config.Shard 的构造方法
-
- Shard(String, String, boolean, int) -
类 org.tinygroup.dbrouter.config.Shard 的构造方法
-
- ShardBalance - org.tinygroup.dbrouter.balance 中的 接口
- 集群分片负载均衡接口
- ShardBalanceDefault - org.tinygroup.dbrouter.balance 中的 类
- 默认分区负载均衡实现类
- ShardBalanceDefault() -
类 org.tinygroup.dbrouter.balance.ShardBalanceDefault 的构造方法
-
- ShardRule - org.tinygroup.dbrouter 中的 接口
- 分片规则
- ShardRuleByFieldValue - org.tinygroup.dbrouter.impl.shardrule 中的 类
- Created by luoguo on 14-1-22.
- ShardRuleByFieldValue() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByFieldValue 的构造方法
-
- ShardRuleByIdAbstract - org.tinygroup.dbrouter.impl.shardrule 中的 类
- Created by luoguo on 13-12-17.
- ShardRuleByIdAbstract() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdAbstract 的构造方法
-
- ShardRuleByIdAbstract(String, String, int) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdAbstract 的构造方法
-
- ShardRuleByIdDifferentSchema - org.tinygroup.dbrouter.impl.shardrule 中的 类
- 通过ID进行分片 Created by luoguo on 13-12-15.
- ShardRuleByIdDifferentSchema() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdDifferentSchema 的构造方法
-
- ShardRuleByIdDifferentSchema(String, String, int) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdDifferentSchema 的构造方法
-
- ShardRuleByIdSameSchema - org.tinygroup.dbrouter.impl.shardrule 中的 类
- Created by luoguo on 13-12-15.
- ShardRuleByIdSameSchema() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdSameSchema 的构造方法
-
- ShardRuleByIdSameSchema(String, String, int) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleByIdSameSchema 的构造方法
-
- ShardRuleBySectionAndHashDifferentSchema - org.tinygroup.dbrouter.impl.shardrule 中的 类
- 区间 shard+ hash
- ShardRuleBySectionAndHashDifferentSchema() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleBySectionAndHashDifferentSchema 的构造方法
-
- ShardRuleBySectionDifferentSchema - org.tinygroup.dbrouter.impl.shardrule 中的 类
- 区间 shard
- ShardRuleBySectionDifferentSchema() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleBySectionDifferentSchema 的构造方法
-
- ShardRuleMatchWithId - org.tinygroup.dbrouter.impl.shardrule 中的 类
-
- ShardRuleMatchWithId(long, String, String, Partition, Object[]) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithId 的构造方法
-
- ShardRuleMatchWithSectionAndHash - org.tinygroup.dbrouter.impl.shardrule 中的 类
-
- ShardRuleMatchWithSectionAndHash(List<Section>, String, String, ConsistentHash<String>, String, String, Partition, Object[]) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithSectionAndHash 的构造方法
-
- ShardRuleMatchWithSections - org.tinygroup.dbrouter.impl.shardrule 中的 类
-
- ShardRuleMatchWithSections(List<Section>, String, String, Partition, Object[]) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithSections 的构造方法
-
- SHORT -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for SHORT values.
- SortOrder - org.tinygroup.dbrouter.util 中的 类
- 功能说明: 对象排序比较器
开发人员: renhui
开发时间: 2013-12-19
- SortOrder(boolean[], int[]) -
类 org.tinygroup.dbrouter.util.SortOrder 的构造方法
-
- StatementExecuteContext - org.tinygroup.dbrouter.context 中的 类
- statement执行的上下文
- StatementExecuteContext() -
类 org.tinygroup.dbrouter.context.StatementExecuteContext 的构造方法
-
- StatementProcessor - org.tinygroup.dbrouter 中的 接口
- 用于对SQL进行特殊处理并进行结果合并等
比如sql语句是select count(*) from abc
则会到所有的shard执行,并对结果相加后返回 - STRING -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for STRING values.
- STRING_FIXED -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for string values with a fixed size.
- STRING_IGNORECASE -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for case insensitive STRING values.
- supportsAdd(int) -
类 org.tinygroup.dbrouter.value.DataType 中的静态方法
- Check if the given value type supports the add operation.
T
- TableMapping - org.tinygroup.dbrouter.config 中的 类
- 用于描述标准表名与shard表名之间的关系
Created by luoguo on 13-12-15.
- TableMapping() -
类 org.tinygroup.dbrouter.config.TableMapping 的构造方法
-
- TableMapping(String, String) -
类 org.tinygroup.dbrouter.config.TableMapping 的构造方法
-
- TIME -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for TIME values.
- TIMESTAMP -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for TIMESTAMP values.
- toString() -
类 org.tinygroup.dbrouter.cache.CacheKey 中的方法
-
- toString() -
类 org.tinygroup.dbrouter.impl.shardrule.Section 中的方法
-
- toString() -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleBySectionAndHashDifferentSchema 中的方法
-
- transformSqlWithTableName(String, Map<String, String>) -
类 org.tinygroup.dbrouter.util.DbRouterUtil 中的静态方法
- 替换sql语句中的表名信息,条件语句带表名,暂时不进行替换。
- TYPE_COUNT -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The number of value types.
- TYPE_RESULT_SET -
类 org.tinygroup.dbrouter.value.DataType 中的静态变量
- This constant is used to represent the type of a ResultSet.
U
- UNKNOWN -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The data type is unknown at this time.
- update(Object) -
类 org.tinygroup.dbrouter.cache.CacheKey 中的方法
-
- updateAll(Object[]) -
类 org.tinygroup.dbrouter.cache.CacheKey 中的方法
-
- updateMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithId 中的方法
-
- updateMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithSectionAndHash 中的方法
-
- updateMatch(Statement) -
类 org.tinygroup.dbrouter.impl.shardrule.ShardRuleMatchWithSections 中的方法
-
- UUID -
类 org.tinygroup.dbrouter.value.Value 中的静态变量
- The value type for UUID values.
V
- Value - org.tinygroup.dbrouter.value 中的 类
- This is the base class for all value classes.
- Value() -
类 org.tinygroup.dbrouter.value.Value 的构造方法
-
- Value.ValueBlob - org.tinygroup.dbrouter.value 中的 接口
- A "character large object".
- Value.ValueClob - org.tinygroup.dbrouter.value 中的 接口
- A "binary large object".
A B C D E F G H I J K L M N O P R S T U V
Copyright © 2006–2015 TinyGroup. All rights reserved.