All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.icymint.libra.jdbc.result.AbstractResult Maven / Gradle / Ivy

package me.icymint.libra.jdbc.result;

import java.sql.ResultSet;

import me.icymint.libra.jdbc.JdbcAccessException;

/**
 * 抽象结果处理接口,其需要一个子结果处理对象来进行实际的结果处理。
 * 
 * @author Daniel Yu
 * @since 2013-3-14
 * 
 * @param 
 *            汇总后的查询结果。
 * @param 

* 一条查询结果。 */ public abstract class AbstractResult implements Result, ResultMap

{ private final ResultMap

rm; protected AbstractResult(ResultMap

rm) { this.rm = rm; } @Override public P handle(ResultSet rs, int index) throws JdbcAccessException { return rm.handle(rs, index); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy