com.rgi.common.util.jdbc.ResultSetFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagd Show documentation
Show all versions of swagd Show documentation
SWAGD: Software to Aggregate Geospatial Data
The newest version!
package com.rgi.common.util.jdbc;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* @author Luke Lambert
*
* @param the type of the input to the operation
*/
@FunctionalInterface
public interface ResultSetFunction
{
/**
* The function that performs an operation on the given {@link ResultSet}
* and returns the type of the input to the operation after operation is applied
*
* @param resultSet
* the {@link ResultSet} to perform the operations on
* @return
* the type of the input to the operation after applying the operation
* @throws SQLException
* throws if an SQLException occurs
*/
public T apply(final ResultSet resultSet) throws SQLException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy