/*
 * This file is generated by jOOQ.
 */
package org.jooq.meta.mysql.information_schema.tables;


import java.sql.Timestamp;
import java.util.Arrays;
import java.util.List;

import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Schema;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.mysql.information_schema.InformationSchema;
import org.jooq.meta.mysql.information_schema.Keys;
import org.jooq.types.UInteger;


This class is generated by jOOQ.
/** * This class is generated by jOOQ. */
@SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Routines extends TableImpl<Record> { private static final long serialVersionUID = 828988306;
The reference instance of information_schema.ROUTINES
/** * The reference instance of <code>information_schema.ROUTINES</code> */
public static final Routines ROUTINES = new Routines();
The class holding records for this type
/** * The class holding records for this type */
@Override public Class<Record> getRecordType() { return Record.class; }
The column information_schema.ROUTINES.SPECIFIC_NAME.
/** * The column <code>information_schema.ROUTINES.SPECIFIC_NAME</code>. */
public final TableField<Record, String> SPECIFIC_NAME = createField(DSL.name("SPECIFIC_NAME"), SQLDataType.VARCHAR(64).nullable(false), this, "");
The column information_schema.ROUTINES.ROUTINE_CATALOG.
/** * The column <code>information_schema.ROUTINES.ROUTINE_CATALOG</code>. */
public final TableField<Record, String> ROUTINE_CATALOG = createField(DSL.name("ROUTINE_CATALOG"), SQLDataType.VARCHAR(64).nullable(false), this, "");
The column information_schema.ROUTINES.ROUTINE_SCHEMA.
/** * The column <code>information_schema.ROUTINES.ROUTINE_SCHEMA</code>. */
public final TableField<Record, String> ROUTINE_SCHEMA = createField(DSL.name("ROUTINE_SCHEMA"), SQLDataType.VARCHAR(64).nullable(false), this, "");
The column information_schema.ROUTINES.ROUTINE_NAME.
/** * The column <code>information_schema.ROUTINES.ROUTINE_NAME</code>. */
public final TableField<Record, String> ROUTINE_NAME = createField(DSL.name("ROUTINE_NAME"), SQLDataType.VARCHAR(64).nullable(false), this, "");
The column information_schema.ROUTINES.ROUTINE_TYPE.
/** * The column <code>information_schema.ROUTINES.ROUTINE_TYPE</code>. */
public final TableField<Record, String> ROUTINE_TYPE = createField(DSL.name("ROUTINE_TYPE"), SQLDataType.VARCHAR(9).nullable(false), this, "");
The column information_schema.ROUTINES.DATA_TYPE.
/** * The column <code>information_schema.ROUTINES.DATA_TYPE</code>. */
public final TableField<Record, String> DATA_TYPE = createField(DSL.name("DATA_TYPE"), SQLDataType.CLOB, this, "");
The column information_schema.ROUTINES.CHARACTER_MAXIMUM_LENGTH.
/** * The column <code>information_schema.ROUTINES.CHARACTER_MAXIMUM_LENGTH</code>. */
public final TableField<Record, Long> CHARACTER_MAXIMUM_LENGTH = createField(DSL.name("CHARACTER_MAXIMUM_LENGTH"), SQLDataType.BIGINT, this, "");
The column information_schema.ROUTINES.CHARACTER_OCTET_LENGTH.
/** * The column <code>information_schema.ROUTINES.CHARACTER_OCTET_LENGTH</code>. */
public final TableField<Record, Long> CHARACTER_OCTET_LENGTH = createField(DSL.name("CHARACTER_OCTET_LENGTH"), SQLDataType.BIGINT, this, "");
The column information_schema.ROUTINES.NUMERIC_PRECISION.
/** * The column <code>information_schema.ROUTINES.NUMERIC_PRECISION</code>. */
public final TableField<Record, UInteger> NUMERIC_PRECISION = createField(DSL.name("NUMERIC_PRECISION"), SQLDataType.INTEGERUNSIGNED, this, "");
The column information_schema.ROUTINES.NUMERIC_SCALE.
/** * The column <code>information_schema.ROUTINES.NUMERIC_SCALE</code>. */
public final TableField<Record, UInteger> NUMERIC_SCALE = createField(DSL.name("NUMERIC_SCALE"), SQLDataType.INTEGERUNSIGNED, this, "");
The column information_schema.ROUTINES.DATETIME_PRECISION.
/** * The column <code>information_schema.ROUTINES.DATETIME_PRECISION</code>. */
public final TableField<Record, UInteger> DATETIME_PRECISION = createField(DSL.name("DATETIME_PRECISION"), SQLDataType.INTEGERUNSIGNED, this, "");
The column information_schema.ROUTINES.CHARACTER_SET_NAME.
/** * The column <code>information_schema.ROUTINES.CHARACTER_SET_NAME</code>. */
public final TableField<Record, String> CHARACTER_SET_NAME = createField(DSL.name("CHARACTER_SET_NAME"), SQLDataType.VARCHAR(64), this, "");
The column information_schema.ROUTINES.COLLATION_NAME.
/** * The column <code>information_schema.ROUTINES.COLLATION_NAME</code>. */
public final TableField<Record, String> COLLATION_NAME = createField(DSL.name("COLLATION_NAME"), SQLDataType.VARCHAR(64), this, "");
The column information_schema.ROUTINES.DTD_IDENTIFIER.
/** * The column <code>information_schema.ROUTINES.DTD_IDENTIFIER</code>. */
public final TableField<Record, String> DTD_IDENTIFIER = createField(DSL.name("DTD_IDENTIFIER"), SQLDataType.CLOB, this, "");
The column information_schema.ROUTINES.ROUTINE_BODY.
/** * The column <code>information_schema.ROUTINES.ROUTINE_BODY</code>. */
public final TableField<Record, String> ROUTINE_BODY = createField(DSL.name("ROUTINE_BODY"), SQLDataType.VARCHAR(3).nullable(false).defaultValue(DSL.inline("", SQLDataType.VARCHAR)), this, "");
The column information_schema.ROUTINES.ROUTINE_DEFINITION.
/** * The column <code>information_schema.ROUTINES.ROUTINE_DEFINITION</code>. */
public final TableField<Record, String> ROUTINE_DEFINITION = createField(DSL.name("ROUTINE_DEFINITION"), SQLDataType.CLOB, this, "");
The column information_schema.ROUTINES.EXTERNAL_NAME.
/** * The column <code>information_schema.ROUTINES.EXTERNAL_NAME</code>. */
public final TableField<Record, byte[]> EXTERNAL_NAME = createField(DSL.name("EXTERNAL_NAME"), SQLDataType.BINARY, this, "");
The column information_schema.ROUTINES.EXTERNAL_LANGUAGE.
/** * The column <code>information_schema.ROUTINES.EXTERNAL_LANGUAGE</code>. */
public final TableField<Record, String> EXTERNAL_LANGUAGE = createField(DSL.name("EXTERNAL_LANGUAGE"), SQLDataType.VARCHAR(64).nullable(false).defaultValue(DSL.inline("SQL", SQLDataType.VARCHAR)), this, "");
The column information_schema.ROUTINES.PARAMETER_STYLE.
/** * The column <code>information_schema.ROUTINES.PARAMETER_STYLE</code>. */
public final TableField<Record, String> PARAMETER_STYLE = createField(DSL.name("PARAMETER_STYLE"), SQLDataType.VARCHAR(3).nullable(false).defaultValue(DSL.inline("", SQLDataType.VARCHAR)), this, "");
The column information_schema.ROUTINES.IS_DETERMINISTIC.
/** * The column <code>information_schema.ROUTINES.IS_DETERMINISTIC</code>. */
public final TableField<Record, String> IS_DETERMINISTIC = createField(DSL.name("IS_DETERMINISTIC"), SQLDataType.VARCHAR(3).nullable(false).defaultValue(DSL.inline("", SQLDataType.VARCHAR)), this, "");
The column information_schema.ROUTINES.SQL_DATA_ACCESS.
/** * The column <code>information_schema.ROUTINES.SQL_DATA_ACCESS</code>. */
public final TableField<Record, String> SQL_DATA_ACCESS = createField(DSL.name("SQL_DATA_ACCESS"), SQLDataType.VARCHAR(17).nullable(false), this, "");
The column information_schema.ROUTINES.SQL_PATH.
/** * The column <code>information_schema.ROUTINES.SQL_PATH</code>. */
public final TableField<Record, byte[]> SQL_PATH = createField(DSL.name("SQL_PATH"), SQLDataType.BINARY, this, "");
The column information_schema.ROUTINES.SECURITY_TYPE.
/** * The column <code>information_schema.ROUTINES.SECURITY_TYPE</code>. */
public final TableField<Record, String> SECURITY_TYPE = createField(DSL.name("SECURITY_TYPE"), SQLDataType.VARCHAR(7).nullable(false), this, "");
The column information_schema.ROUTINES.CREATED.
/** * The column <code>information_schema.ROUTINES.CREATED</code>. */
public final TableField<Record, Timestamp> CREATED = createField(DSL.name("CREATED"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
The column information_schema.ROUTINES.LAST_ALTERED.
/** * The column <code>information_schema.ROUTINES.LAST_ALTERED</code>. */
public final TableField<Record, Timestamp> LAST_ALTERED = createField(DSL.name("LAST_ALTERED"), SQLDataType.TIMESTAMP(0).nullable(false), this, "");
The column information_schema.ROUTINES.SQL_MODE.
/** * The column <code>information_schema.ROUTINES.SQL_MODE</code>. */
public final TableField<Record, String> SQL_MODE = createField(DSL.name("SQL_MODE"), SQLDataType.VARCHAR(520).nullable(false), this, "");
The column information_schema.ROUTINES.ROUTINE_COMMENT.
/** * The column <code>information_schema.ROUTINES.ROUTINE_COMMENT</code>. */
public final TableField<Record, String> ROUTINE_COMMENT = createField(DSL.name("ROUTINE_COMMENT"), SQLDataType.CLOB.nullable(false), this, "");
The column information_schema.ROUTINES.DEFINER.
/** * The column <code>information_schema.ROUTINES.DEFINER</code>. */
public final TableField<Record, String> DEFINER = createField(DSL.name("DEFINER"), SQLDataType.VARCHAR(288).nullable(false), this, "");
The column information_schema.ROUTINES.CHARACTER_SET_CLIENT.
/** * The column <code>information_schema.ROUTINES.CHARACTER_SET_CLIENT</code>. */
public final TableField<Record, String> CHARACTER_SET_CLIENT = createField(DSL.name("CHARACTER_SET_CLIENT"), SQLDataType.VARCHAR(64).nullable(false), this, "");
The column information_schema.ROUTINES.COLLATION_CONNECTION.
/** * The column <code>information_schema.ROUTINES.COLLATION_CONNECTION</code>. */
public final TableField<Record, String> COLLATION_CONNECTION = createField(DSL.name("COLLATION_CONNECTION"), SQLDataType.VARCHAR(64).nullable(false), this, "");
The column information_schema.ROUTINES.DATABASE_COLLATION.
/** * The column <code>information_schema.ROUTINES.DATABASE_COLLATION</code>. */
public final TableField<Record, String> DATABASE_COLLATION = createField(DSL.name("DATABASE_COLLATION"), SQLDataType.VARCHAR(64).nullable(false), this, ""); private Routines(Name alias, Table<Record> aliased) { this(alias, aliased, null); } private Routines(Name alias, Table<Record> aliased, Field<?>[] parameters) { super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); }
Create an aliased information_schema.ROUTINES table reference
/** * Create an aliased <code>information_schema.ROUTINES</code> table reference */
public Routines(String alias) { this(DSL.name(alias), ROUTINES); }
Create an aliased information_schema.ROUTINES table reference
/** * Create an aliased <code>information_schema.ROUTINES</code> table reference */
public Routines(Name alias) { this(alias, ROUTINES); }
Create a information_schema.ROUTINES table reference
/** * Create a <code>information_schema.ROUTINES</code> table reference */
public Routines() { this(DSL.name("ROUTINES"), null); } public <O extends Record> Routines(Table<O> child, ForeignKey<O, Record> key) { super(child, key, ROUTINES); } @Override public Schema getSchema() { return InformationSchema.INFORMATION_SCHEMA; } @Override public UniqueKey<Record> getPrimaryKey() { return Keys.SYNTHETIC_PK_ROUTINES; } @Override public List<UniqueKey<Record>> getKeys() { return Arrays.<UniqueKey<Record>>asList(Keys.SYNTHETIC_PK_ROUTINES); } @Override public Routines as(String alias) { return new Routines(DSL.name(alias), this); } @Override public Routines as(Name alias) { return new Routines(alias, this); }
Rename this table
/** * Rename this table */
@Override public Routines rename(String name) { return new Routines(DSL.name(name), null); }
Rename this table
/** * Rename this table */
@Override public Routines rename(Name name) { return new Routines(name, null); } }