org.etlunit.feature.database.DatabaseRuntimeSupport Maven / Gradle / Ivy
package org.etlunit.feature.database;
import org.etlunit.io.file.DataFileSchema;
import org.etlunit.parser.ETLTestValueObject;
import java.io.File;
import java.io.IOException;
public interface DatabaseRuntimeSupport
{
File getSourceDataDirectory(String package_);
File getSourceScriptsDirectory(String package_);
File getSourceDataSet(String package_, String dataSetName, DatabaseImplementation.data_format format);
File getSourceScript(String package_, String scriptName);
File getGeneratedSourceDirectory(DatabaseConnection conn, String mode);
File getGeneratedDataSet(DatabaseConnection conn, String mode, String dataSetName, DatabaseImplementation.data_format format);
DataFileSchema createRelationalMetaInfo(DatabaseConnection dbConn, String schema, String name);
DataFileSchema createRelationalMetaInfo(String connectionId, String schema, String name);
DataFileSchema getRelationalMetaInfo(DatabaseConnection dbConn, String schema, String name, String masterName, ETLTestValueObject etlObj);
DataFileSchema getRelationalMetaInfo(String connectionId, String schema, String name, String masterName, ETLTestValueObject etlObj);
void persistDataFileSchema(DataFileSchema schema) throws IOException;
}