| SelectFunction.java |
/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.ejb.plugins.cmp.ejbql;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
*
* @author <a href="mailto:alex@jboss.org">Alex Loubyansky</a>
*/
public interface SelectFunction
{
/**
* Reads results.
* @param rs the result set to read from.
* @return the result of the function
* @throws SQLException
*/
Object readResult(ResultSet rs) throws SQLException;
}
| SelectFunction.java |