<commit_before>package org.skyve.impl.generate;

public enum DialectOptions {
	H2(true, false, 0, 1024),
	MYSQL(true, false, 0, 1024),
	MSSQL_2014(true, true, 0, 900), // SQL Server 2014 and below limits indexes to 900
	MSSQL_2016(true, true, 0, 1024);

	private final boolean dataStoreIndexForeignKeys;
	private final boolean dataStoreIndexNamesInGlobalNamespace;
	private final int dataStoreIdentifierCharacterLimit;
	private final int dataStoreBizKeyLength;

	DialectOptions(boolean dataStoreIndexForeignKeys,
						   boolean dataStoreIndexNamesInGlobalNamespace,
						   int dataStoreIdentifierCharacterLimit,
						   int dataStoreBizKeyLength) {
		this.dataStoreIndexForeignKeys = dataStoreIndexForeignKeys;
		this.dataStoreIndexNamesInGlobalNamespace = dataStoreIndexNamesInGlobalNamespace;
		this.dataStoreIdentifierCharacterLimit = dataStoreIdentifierCharacterLimit;
		this.dataStoreBizKeyLength = dataStoreBizKeyLength;
	}

	public boolean isDataStoreIndexForeignKeys() {
		return dataStoreIndexForeignKeys;
	}
<commit_msg>Added H2_NO_INDEXES dialect option. This will be used by the skyve demo to get rid of the stacktraces.<commit_after>package org.skyve.impl.generate;

public enum DialectOptions {
	H2(true, false, 0, 1024),
	H2_NO_INDEXES(false, false, 0, 1024),
	MYSQL(true, false, 0, 1024),
	MSSQL_2014(true, true, 0, 900), // SQL Server 2014 and below limits indexes to 900
	MSSQL_2016(true, true, 0, 1024);

	private final boolean dataStoreIndexForeignKeys;
	private final boolean dataStoreIndexNamesInGlobalNamespace;
	private final int dataStoreIdentifierCharacterLimit;
	private final int dataStoreBizKeyLength;

	DialectOptions(boolean dataStoreIndexForeignKeys,
						   boolean dataStoreIndexNamesInGlobalNamespace,
						   int dataStoreIdentifierCharacterLimit,
						   int dataStoreBizKeyLength) {
		this.dataStoreIndexForeignKeys = dataStoreIndexForeignKeys;
		this.dataStoreIndexNamesInGlobalNamespace = dataStoreIndexNamesInGlobalNamespace;
		this.dataStoreIdentifierCharacterLimit = dataStoreIdentifierCharacterLimit;
		this.dataStoreBizKeyLength = dataStoreBizKeyLength;
	}

	public boolean isDataStoreIndexForeignKeys() {
		return dataStoreIndexForeignKeys;
	}

{'fraction_non_alphanumeric': 0.06005459508644222, 'fraction_numerical': 0.03503184713375796, 'mean_word_length': 6.257425742574258, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7151374', 'n_tokens_mistral': 739, 'n_tokens_neox': 613, 'n_words': 155}