<commit_before>
package nl.pdok.datamanagement.repository;

import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Set;

import nl.pdok.datamanagement.model.DataObject;

/**
 *
 * @author <NAME> <<EMAIL>>
 */
public interface IBaseCatalog {
	
    static final String RESOURCE_EXTENSION = ".resources";
    static final String PARAMETERS_EXTENSION = ".parameters";
    
    static final String DDL_RESOURCE_EXTENSION = ".sql";
    static final String DDL_RESOURCE_FOLDER = "ddl";
    static final String XLS_RESOURCE_FOLDER = "xls";
    static final String CSV_RESOURCE_FOLDER = "csv";
    
    static final String SQL_RESOURCE_FOLDER = "sql";
    static final String SHAPES_TO_DB_FOLDER = "shapesToDB";
    
    static final String DATASETSFOLDER = "datasets";
    static final String TESTFOLDER = "testset";
    static final String TESTDATAFOLDER = "data";
    static final String TESTEXPECTEDFOLDER = "expected";
    static final String TESTPREPAREFOLDER = "prepare";
    static final String DICTIONARY_SEPARATION_CHAR = "=";
    
    static final String SHAREDFOLDER = "shared";

    static final String FILENAME_JOB_CONFIGURATION = "configuration.json";    
    static final String FILENAME_TILING_CONFIGURATION = "tiling.json";    
    
    public String getRootLocation();

    public Path getDatasetLocationTest(String datasetName);
    public Path getDatasetLocationTestData(String datasetName);
    public Path getDatasetLocationTestExpected(String datasetName);
    public Path getDatasetLocationShapesToDB(String datasetName);
    public List<DataObject> getDatasetTestData(String datasetName);
    
    InputStream getResourcePrepareTestset(String datasetName, String resourceName) throws IOException;
    
    InputStream getDdlResource(String datasetName) throws IOException;
    InputStream getSqlResource(String datasetName, String fileName) throws IOException;
	InputStream getCsvResource(String datasetName, String fileName) throws IOException;
    
    boolean datasetExists(String datasetName);
    
    Collection<String> getDatasetNames();
}<commit_msg>Ontbrekende methode toegevoegd aan interface<commit_after>
package nl.pdok.datamanagement.repository;

import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Set;

import nl.pdok.datamanagement.model.DataObject;

/**
 *
 * @author <NAME> <<EMAIL>>
 */
public interface IBaseCatalog {
	
    static final String RESOURCE_EXTENSION = ".resources";
    static final String PARAMETERS_EXTENSION = ".parameters";
    
    static final String DDL_RESOURCE_EXTENSION = ".sql";
    static final String DDL_RESOURCE_FOLDER = "ddl";
    static final String XLS_RESOURCE_FOLDER = "xls";
    static final String CSV_RESOURCE_FOLDER = "csv";
    
    static final String SQL_RESOURCE_FOLDER = "sql";
    static final String SHAPES_TO_DB_FOLDER = "shapesToDB";
    
    static final String DATASETSFOLDER = "datasets";
    static final String TESTFOLDER = "testset";
    static final String TESTDATAFOLDER = "data";
    static final String TESTEXPECTEDFOLDER = "expected";
    static final String TESTPREPAREFOLDER = "prepare";
    static final String DICTIONARY_SEPARATION_CHAR = "=";
    
    static final String SHAREDFOLDER = "shared";

    static final String FILENAME_JOB_CONFIGURATION = "configuration.json";    
    static final String FILENAME_TILING_CONFIGURATION = "tiling.json";    
    
    public String getRootLocation();

    public Path getDatasetLocationTest(String datasetName);
    public Path getDatasetLocationTestData(String datasetName);
    public Path getDatasetLocationTestExpected(String datasetName);
    public Path getDatasetLocationShapesToDB(String datasetName);
    public path getDatasetLocationTestData(String datasetName);
    public List<DataObject> getDatasetTestData(String datasetName);
    
    InputStream getResourcePrepareTestset(String datasetName, String resourceName) throws IOException;
    
    InputStream getDdlResource(String datasetName) throws IOException;
    InputStream getSqlResource(String datasetName, String fileName) throws IOException;
	InputStream getCsvResource(String datasetName, String fileName) throws IOException;
    
    boolean datasetExists(String datasetName);
    
    Collection<String> getDatasetNames();
}
{'fraction_non_alphanumeric': 0.074972191323693, 'fraction_numerical': 0.0, 'mean_word_length': 4.655345911949685, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6816159', 'n_tokens_mistral': 1272, 'n_tokens_neox': 1275, 'n_words': 334}