<commit_before>package it.unibz.inf.ontop.model.term.functionsymbol.impl;

import com.google.common.collect.ImmutableList;
import it.unibz.inf.ontop.model.type.DBTermType;

public abstract class StandardNotationDBBooleanFunctionSymbolImpl extends DBBooleanFunctionSymbolImpl {

    private final String nameInDialect;
    private static final String FUNCTIONAL_TEMPLATE = "%s(%s)";

    protected StandardNotationDBBooleanFunctionSymbolImpl(String nameInDialect, int arity, DBTermType dbBooleanTermType) {
        super(nameInDialect, arity, dbBooleanTermType);
        this.nameInDialect = nameInDialect;
    }

    @Override
    public String getNativeDBString(ImmutableList<String> termStrings) {
        return String.format(FUNCTIONAL_TEMPLATE, nameInDialect,
                String.join( ",", termStrings));
    }
}<commit_msg>Minor update of StandardNotationDBBooleanFunctionSymbolImpl.<commit_after>package it.unibz.inf.ontop.model.term.functionsymbol.impl;

import com.google.common.collect.ImmutableList;
import it.unibz.inf.ontop.model.type.DBTermType;
import it.unibz.inf.ontop.model.type.TermType;

public abstract class StandardNotationDBBooleanFunctionSymbolImpl extends DBBooleanFunctionSymbolImpl {

    private final String nameInDialect;
    private static final String FUNCTIONAL_TEMPLATE = "%s(%s)";

    protected StandardNotationDBBooleanFunctionSymbolImpl(String nameInDialect, ImmutableList<TermType> expectedBaseTypes,
                                                          DBTermType dbBooleanTermType) {
        super(nameInDialect + expectedBaseTypes.size(), expectedBaseTypes, dbBooleanTermType);
        this.nameInDialect = nameInDialect;
    }

    @Override
    public String getNativeDBString(ImmutableList<String> termStrings) {
        return String.format(FUNCTIONAL_TEMPLATE, nameInDialect,
                String.join( ",", termStrings));
    }
}
{'fraction_non_alphanumeric': 0.07940709370037057, 'fraction_numerical': 0.0, 'mean_word_length': 4.1923076923076925, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2022346', 'n_tokens_mistral': 543, 'n_tokens_neox': 539, 'n_words': 94}