org.etlunit.feature.database.SQLAggregator Maven / Gradle / Ivy
package org.etlunit.feature.database;
import org.etlunit.TestExecutionError;
import java.io.IOException;
public interface SQLAggregator
{
interface FileRef
{
String getCurrentRefName();
int getCurrentLineNumber();
String getLine();
}
interface Aggregator
{
boolean hasNext();
FileRef next();
}
interface SQLLocator
{
String locate(String ref, DatabaseConnection connection) throws IOException, TestExecutionError;
}
String getText();
Aggregator getLineAggregator();
Aggregator getStatementAggregator();
}