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

org.sagacity.sqltoy.callback.UpdateRowHandler Maven / Gradle / Ivy

There is a newer version: 5.6.31.jre8
Show newest version
/**
 * 
 */
package org.sagacity.sqltoy.callback;

import java.sql.ResultSet;
import java.util.function.BiConsumer;

/**
 * @project sagacity-sqltoy
 * @description 提供对lock记录的结果集合进行修改的的反调方式,用于updateFetch
 * @author zhongxuchen
 * @version v1.0,Date:2015年4月4日
 */
public interface UpdateRowHandler {
	/**
	 * @todo 行处理抽象方法接口定义,用于updateFetch
	 * @param rs
	 * @param index
	 * @throws Exception
	 */
	default void updateRow(ResultSet rs, int index) throws Exception {

	}

	default void updateRow(ResultSet rs, int index, BiConsumer setValConsumer) throws Exception {

	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy