org.tinygroup.dbrouter.impl.partionrule
类 PartionRuleByTableName

java.lang.Object
  继承者 org.tinygroup.dbrouter.impl.partionrule.PartionRuleByTableName
所有已实现的接口:
PartitionRule

public class PartionRuleByTableName
extends Object
implements PartitionRule

分区规则实现类 Created by luoguo on 13-12-16.


构造方法摘要
PartionRuleByTableName()
           
PartionRuleByTableName(String tableName)
          构造函数
 
方法摘要
 String getTableName()
           
 boolean isMatch(String sql)
          查看是否匹配
 void setTableName(String tableName)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

PartionRuleByTableName

public PartionRuleByTableName()

PartionRuleByTableName

public PartionRuleByTableName(String tableName)
构造函数

参数:
tableName -
方法详细信息

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

isMatch

public boolean isMatch(String sql)
查看是否匹配

指定者:
接口 PartitionRule 中的 isMatch
参数:
sql -
返回:


Copyright © 2006–2015 TinyGroup. All rights reserved.