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

com.rgi.common.util.jdbc.ResultSetPredicate Maven / Gradle / Ivy

The newest version!
package com.rgi.common.util.jdbc;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @author Luke Lambert
 *
 */
public interface ResultSetPredicate
{
    /**
     * Returns true if the given {@link ResultSet} satisfies the predicate, false otherwise
     *
     * @param resultSet
     *      The result set containing the elements
     * @return
     *      Returns true if the given {@link ResultSet} satisfies the predicate, false otherwise
     *
     * @throws SQLException
     *      Throws if an SQLException occurs
     */
    public boolean apply(final ResultSet resultSet) throws SQLException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy