JavaScript is disabled on your browser.
概述
软件包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
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.