<commit_before>package com.datapublica.diachron.service.data;

import java.util.List;
import java.util.Map;

/**
 * Created by loic on 10/12/2015.
 */
public class ChangeSetResponse {
    private List<Difference> results;
    private Facets facets;

    public List<Difference> getResults() {
        return results;
    }

    public void setResults(List<Difference> results) {
        this.results = results;
    }

    public Facets getFacets() {
        return facets;
    }

    public void setFacets(Facets facets) {
        this.facets = facets;
    }

    public static class Facets {
        private Map<Difference.Type, Long> types;
        private Map<String, Map<String, Long>> parameters;
        private Map<Difference.Type, Long> joinTypes;

        public Map<Difference.Type, Long> getJoinTypes() {
            return joinTypes;
        }

        public void setJoinTypes(Map<Difference.Type, Long> joinTypes) {
            this.joinTypes = joinTypes;
        }
<commit_msg>Total in changesetresponse<commit_after>package com.datapublica.diachron.service.data;

import java.util.List;
import java.util.Map;

/**
 * Created by loic on 10/12/2015.
 */
public class ChangeSetResponse {
    private List<Difference> results;
    private int total;
    private Facets facets;

    public List<Difference> getResults() {
        return results;
    }

    public void setResults(List<Difference> results) {
        this.results = results;
    }

    public Facets getFacets() {
        return facets;
    }

    public void setFacets(Facets facets) {
        this.facets = facets;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public static class Facets {
        private Map<Difference.Type, Long> types;
        private Map<String, Map<String, Long>> parameters;
        private Map<Difference.Type, Long> joinTypes;

        public Map<Difference.Type, Long> getJoinTypes() {
            return joinTypes;
        }

        public void setJoinTypes(Map<Difference.Type, Long> joinTypes) {
            this.joinTypes = joinTypes;
        }

{'fraction_non_alphanumeric': 0.09348837209302326, 'fraction_numerical': 0.0074418604651162795, 'mean_word_length': 2.4749596122778676, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '5565513', 'n_tokens_mistral': 655, 'n_tokens_neox': 618, 'n_words': 160}