<commit_before>package com.jayrave.falkon

import com.jayrave.falkon.engine.Engine
import com.jayrave.falkon.engine.Sink

interface TableConfiguration<E : Engine<S>, S : Sink> {

    /**
     * The engine that will be used by the table this configuration object is passed to
     */
    val engine: E

    /**
     * Implementations should return an appropriate converter or throw
     */
    fun <R> getConverter(clazz: Class<out R>): Converter<R>
}<commit_msg>* add NameFormatter to TableConfiguration * TableConfiguration's #getConverter is based on KType instead Class<*><commit_after>package com.jayrave.falkon

import com.jayrave.falkon.engine.Engine
import com.jayrave.falkon.engine.Sink
import kotlin.reflect.KType

interface TableConfiguration<E : Engine<S>, S : Sink> {

    /**
     * The engine that will be used by the table this configuration object is passed to
     */
    val engine: E

    /**
     * The formatter that will be used to convert property names to column names
     */
    val nameFormatter: NameFormatter

    /**
     * Implementations should return an appropriate converter or throw
     */
    fun <R> getConverter(type: KType): Converter<R>
}
{'fraction_non_alphanumeric': 0.08821034775233248, 'fraction_numerical': 0.0, 'mean_word_length': 3.386617100371747, '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': '6648115', 'n_tokens_mistral': 354, 'n_tokens_neox': 342, 'n_words': 115}