Java 类java.sql.ShardingKey 实例源码

项目:flexy-pool    文件:Java9ConnectionDecorator.java   
/**
 * {@inheritDoc}
 */
@Override
public boolean setShardingKeyIfValid(ShardingKey shardingKey, ShardingKey superShardingKey, int timeout)
        throws SQLException {
    return getTarget().setShardingKeyIfValid(shardingKey, superShardingKey, timeout);
}
项目:flexy-pool    文件:Java9ConnectionDecorator.java   
/**
 * {@inheritDoc}
 */
@Override
public boolean setShardingKeyIfValid(ShardingKey shardingKey, int timeout) throws SQLException {
    return getTarget().setShardingKeyIfValid(shardingKey, timeout);
}
项目:flexy-pool    文件:Java9ConnectionDecorator.java   
/**
 * {@inheritDoc}
 */
@Override
public void setShardingKey(ShardingKey shardingKey, ShardingKey superShardingKey) throws SQLException {
    getTarget().setShardingKey(shardingKey, superShardingKey);
}
项目:flexy-pool    文件:Java9ConnectionDecorator.java   
/**
 * {@inheritDoc}
 */
@Override
public void setShardingKey(ShardingKey shardingKey) throws SQLException {
    getTarget().setShardingKey(shardingKey);
}