net.sf.aguacate.context.spi.sql.SentenceSql Maven / Gradle / Ivy
package net.sf.aguacate.context.spi.sql;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Map;
import net.sf.aguacate.util.config.database.DatabaseInterface;
public interface SentenceSql {
String getName();
SentenceSqlType getType();
SentenceExecutionResult execute(DatabaseInterface databaseInterface, Connection connection, Map context) throws SQLException;
boolean validFor(String method);
String outputName();
}