<commit_before>package com.gooddata.connector.model;

import java.util.ArrayList;
import java.util.List;

/**
 * GoodData PDM column
 *
 * @author zd <<EMAIL>>
 * @version 1.0
 */
public class PdmColumn {


    // data types
    public static final String PDM_COLUMN_TYPE_TEXT = "VARCHAR(255)";
    public static final String PDM_COLUMN_TYPE_LONG_TEXT = "VARCHAR(255)";
    public static final String PDM_COLUMN_TYPE_DATE = "INT";
    public static final String PDM_COLUMN_TYPE_INT = "INT";
    public static final String PDM_COLUMN_TYPE_LONG = "BIGINT";
    public static final String PDM_COLUMN_TYPE_FLOAT = "DECIMAL(15,4)";    

    // constraints
    public static final String PDM_CONSTRAINT_INDEX_UNIQUE = "UNIQUE";
    public static final String PDM_CONSTRAINT_INDEX_MULTIPLE = "MULTIPLE";
    public static final String PDM_CONSTRAINT_AUTOINCREMENT = "AUTOINCREMENT";
    public static final String PDM_CONSTRAINT_PK = "PRIMARY KEY";

    //name
    private String name;

    // type
    private String type;

    // source column that the column sourceColumn
    private String sourceColumn;

    // column constraints
    private List<String> constraints = new ArrayList<String>();

    // LDM type reference
    private String ldmTypeReference;

    //data format
    private String format;<commit_msg>reduced default text column width for consistency with default column with at the server<commit_after>package com.gooddata.connector.model;

import java.util.ArrayList;
import java.util.List;

/**
 * GoodData PDM column
 *
 * @author zd <<EMAIL>>
 * @version 1.0
 */
public class PdmColumn {


    // data types
    public static final String PDM_COLUMN_TYPE_TEXT = "VARCHAR(128)";
    public static final String PDM_COLUMN_TYPE_LONG_TEXT = "VARCHAR(128)";
    public static final String PDM_COLUMN_TYPE_DATE = "INT";
    public static final String PDM_COLUMN_TYPE_INT = "INT";
    public static final String PDM_COLUMN_TYPE_LONG = "BIGINT";
    public static final String PDM_COLUMN_TYPE_FLOAT = "DECIMAL(15,4)";    

    // constraints
    public static final String PDM_CONSTRAINT_INDEX_UNIQUE = "UNIQUE";
    public static final String PDM_CONSTRAINT_INDEX_MULTIPLE = "MULTIPLE";
    public static final String PDM_CONSTRAINT_AUTOINCREMENT = "AUTOINCREMENT";
    public static final String PDM_CONSTRAINT_PK = "PRIMARY KEY";

    //name
    private String name;

    // type
    private String type;

    // source column that the column sourceColumn
    private String sourceColumn;

    // column constraints
    private List<String> constraints = new ArrayList<String>();

    // LDM type reference
    private String ldmTypeReference;

    //data format
    private String format;
{'fraction_non_alphanumeric': 0.07848944835246205, 'fraction_numerical': 0.008145131432802665, 'mean_word_length': 3.6909722222222223, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4150905', 'n_tokens_mistral': 839, 'n_tokens_neox': 810, 'n_words': 244}