ComponentResultSet.java 912 字节
Newer Older
T
terrymanu 已提交
1 2 3 4 5 6
/**
 * Copyright 1999-2015 dangdang.com.
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
G
gaohongtao 已提交
7
 *
T
terrymanu 已提交
8
 *      http://www.apache.org/licenses/LICENSE-2.0
G
gaohongtao 已提交
9
 *
T
terrymanu 已提交
10 11 12 13 14 15 16 17
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * </p>
 */

G
gaohongtao 已提交
18
package com.dangdang.ddframe.rdb.sharding.merger.component;
T
terrymanu 已提交
19

G
gaohongtao 已提交
20
import java.sql.ResultSet;
T
terrymanu 已提交
21 22 23
import java.sql.SQLException;

/**
G
gaohongtao 已提交
24
 * 组件接口.
T
terrymanu 已提交
25
 * 
G
gaohongtao 已提交
26
 * @author gaohongtao
T
terrymanu 已提交
27
 */
G
gaohongtao 已提交
28
public interface ComponentResultSet<T> extends ResultSet {
T
terrymanu 已提交
29
    
G
gaohongtao 已提交
30
    void inject(final T preResultSet) throws SQLException;
T
terrymanu 已提交
31
}