<commit_before>package org.slc.sli.ingestion;

/**
 * Generic interface for writing resources.
 *
 * @author dduran
 *
 */
public interface ResourceWriter<T> {

    void writeResource(T t, String jobId);

}
<commit_msg>add insertResource functionality into resource writer<commit_after>package org.slc.sli.ingestion;

/**
 * Generic interface for writing resources.
 *
 * @author dduran
 *
 */
public interface ResourceWriter<T> {

    void writeResource(T t, String jobId);

    void insertResource(T t, String jobId);
}

{'fraction_non_alphanumeric': 0.10727969348659004, 'fraction_numerical': 0.0, 'mean_word_length': 4.178217821782178, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1377536', 'n_tokens_mistral': 166, 'n_tokens_neox': 156, 'n_words': 44}