// Path: src/main/java/com/elong/pb/newdda/client/router/result/merge/ResultSetMergeContext.java
// public class ResultSetMergeContext {
// 
//     private ShardingResultSets shardingResultSets;
// 
//     private MergeContext mergeContext;
// 
//     public ResultSetMergeContext(ShardingResultSets shardingResultSets, MergeContext mergeContext) {
//         this.shardingResultSets = shardingResultSets;
//         this.mergeContext = mergeContext;
//     }
// 
//     //=========================================================================set get method start =========================================================================
// 
//     public ShardingResultSets getShardingResultSets() {
//         return shardingResultSets;
//     }
// 
//     //=========================================================================set get method end =========================================================================
// 
// 
// }


import com.elong.pb.newdda.client.router.result.merge.ResultSetMergeContext;
import java.sql.ResultSet;
import java.sql.SQLException;
package com.elong.pb.newdda.client.router.result.merge.resultset;



public final class IteratorReducerResultSet extends AbstractDelegateResultSet {
    
    private int resultSetIndex = 1;
    
// Path: src/main/java/com/elong/pb/newdda/client/router/result/merge/ResultSetMergeContext.java
// public class ResultSetMergeContext {
// 
//     private ShardingResultSets shardingResultSets;
// 
//     private MergeContext mergeContext;
// 
//     public ResultSetMergeContext(ShardingResultSets shardingResultSets, MergeContext mergeContext) {
//         this.shardingResultSets = shardingResultSets;
//         this.mergeContext = mergeContext;
//     }
// 
//     //=========================================================================set get method start =========================================================================
// 
//     public ShardingResultSets getShardingResultSets() {
//         return shardingResultSets;
//     }
// 
//     //=========================================================================set get method end =========================================================================
// 
// 
// }


// Path: src/main/java/com/elong/pb/newdda/client/router/result/merge/resultset/IteratorReducerResultSet.java
import com.elong.pb.newdda.client.router.result.merge.ResultSetMergeContext;
import java.sql.ResultSet;
import java.sql.SQLException;

package com.elong.pb.newdda.client.router.result.merge.resultset;



public final class IteratorReducerResultSet extends AbstractDelegateResultSet {
    
    private int resultSetIndex = 1;
    
    public IteratorReducerResultSet(final ResultSetMergeContext resultSetMergeContext) throws SQLException {