<commit_before>﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace Gigobyte.Daterpillar
{
    /// <summary>
    /// Represents a database index.
    /// </summary>
    public class Index
    {
        public Index()
        {
            Columns = new List<IndexColumn>();
        }

        public Table TableRef;

        /// <summary>
        /// Gets or sets a value indicating whether this <see cref="Index" /> is unique.
        /// </summary>
        /// <value><c>true</c> if unique; otherwise, <c>false</c>.</value>
        [XmlAttribute("unique")]
        public bool Unique { get; set; }

        /// <summary>
        /// Gets or sets the type of the index.
        /// </summary>
        /// <value>The type of the index.</value>
        [XmlAttribute("type")]
        public IndexType Type { get; set; }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        [XmlAttribute("name")]
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the name table of the associated table.
        /// </summary>
        /// <value>The table.</value>
        [XmlAttribute("table")]
        public string Table { get; set; }

        /// <summary>
        /// Gets or sets the associated columns.
        /// </summary>
        /// <value>The columns.</value>
        [XmlElement("columnName")]
        public List<IndexColumn> Columns { get; set; }



        #region Private Members

        private readonly string _primaryKey = "primaryKey", _index = "index";

        #endregion Private Members
    }
}<commit_msg>Remove unused fields<commit_after>﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace Gigobyte.Daterpillar
{
    /// <summary>
    /// Represents a database index.
    /// </summary>
    public class Index
    {
        public Index()
        {
            Columns = new List<IndexColumn>();
        }

        public Table TableRef;

        /// <summary>
        /// Gets or sets a value indicating whether this <see cref="Index" /> is unique.
        /// </summary>
        /// <value><c>true</c> if unique; otherwise, <c>false</c>.</value>
        [XmlAttribute("unique")]
        public bool Unique { get; set; }

        /// <summary>
        /// Gets or sets the type of the index.
        /// </summary>
        /// <value>The type of the index.</value>
        [XmlAttribute("type")]
        public IndexType Type { get; set; }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        [XmlAttribute("name")]
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the name table of the associated table.
        /// </summary>
        /// <value>The table.</value>
        [XmlAttribute("table")]
        public string Table { get; set; }

        /// <summary>
        /// Gets or sets the associated columns.
        /// </summary>
        /// <value>The columns.</value>
        [XmlElement("columnName")]
        public List<IndexColumn> Columns { get; set; }
    }
}
{'fraction_non_alphanumeric': 0.14941437163659385, 'fraction_numerical': 0.0, 'mean_word_length': 1.6443514644351465, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '3841324', 'n_tokens_mistral': 861, 'n_tokens_neox': 837, 'n_words': 255}