// Copyright 2020-2020 The Mandarine.TS Framework authors. All rights reserved. MIT license. /** * Enum to define the SQL Types of every Column. * The majority of this file is from the Java source code * Part of this file has been written by Mandarine Collaborators */ export enum Types { /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * BIT. */ BIT = -7, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * TINYINT. */ TINYINT= -6, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * SMALLINT. */ SMALLINT = 5, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * INTEGER. */ INTEGER= 4, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * BIGINT. */ BIGINT = -5, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * FLOAT. */ FLOAT = 6, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * REAL. */ REAL = 7, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * DOUBLE. */ DOUBLE = 8, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * NUMERIC. */ NUMERIC= 2, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * DECIMAL. */ DECIMAL= 3, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * CHAR. */ CHAR = 1, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * VARCHAR. */ VARCHAR= 12, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * LONGVARCHAR. */ LONGVARCHAR = -1, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * DATE. */ DATE = 91, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * TIME. */ TIME = 92, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * TIMESTAMP. */ TIMESTAMP = 93, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * BINARY. */ BINARY = -2, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * VARBINARY. */ VARBINARY = -3, /** *

The constant in the Java programming language, sometimes referred * to as a type code, that identifies the generic SQL type * LONGVARBINARY. */ LONGVARBINARY = -4, /** *

The constant in the Java programming language * that identifies the generic SQL value * NULL. */ NULL = 0, /** * The constant in the Java programming language that indicates * that the SQL type is database-specific and * gets mapped to a Java object that can be accessed via * the methods getObject and setObject. */ OTHER = 1111, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type * DISTINCT. * @since 1.2 */ DISTINCT = 2001, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type * STRUCT. * @since 1.2 */ STRUCT = 2002, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type * ARRAY. * @since 1.2 */ ARRAY = 2003, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type * BLOB. * @since 1.2 */ BLOB = 2004, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type * CLOB. * @since 1.2 */ CLOB = 2005, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type * REF. * @since 1.2 */ REF = 2006, /** * The constant in the Java programming language, somtimes referred to * as a type code, that identifies the generic SQL type DATALINK. * * @since 1.4 */ DATALINK = 70, /** * The constant in the Java programming language, somtimes referred to * as a type code, that identifies the generic SQL type BOOLEAN. * * @since 1.4 */ BOOLEAN = 16, //------------------------- JDBC 4.0 ----------------------------------- /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type ROWID * * @since 1.6 * */ ROWID = -8, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type NCHAR * * @since 1.6 */ NCHAR = -15, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type NVARCHAR. * * @since 1.6 */ NVARCHAR = -9, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type LONGNVARCHAR. * * @since 1.6 */ LONGNVARCHAR = -16, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type NCLOB. * * @since 1.6 */ NCLOB = 2011, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type XML. * * @since 1.6 */ SQLXML = 2009, //--------------------------JDBC 4.2 ----------------------------- /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type {@code REF CURSOR}. * * @since 1.8 */ REF_CURSOR = 2012, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type * {@code TIME WITH TIMEZONE}. * * @since 1.8 */ TIME_WITH_TIMEZONE = 2013, /** * The constant in the Java programming language, sometimes referred to * as a type code, that identifies the generic SQL type * {@code TIMESTAMP WITH TIMEZONE}. * * @since 1.8 */ TIMESTAMP_WITH_TIMEZONE = 2014, /** * Refers to a JSON object in the database */ JSON = 2015, /** * Refers to an UUID value, generated by Mandarine */ UUID = 2016, /** * Refers to a JSON Binary Object in the database */ JSONB = 2017, /** * Refers to an incremental type of value */ INCREMENTS = 2018, /** * BigSerial */ BIGSERIAL = 2019, /** * Refers to a big text type in the database */ TEXT = 2020, }