All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.ght1pc9kc.testy.dsl.information_schema.tables.Fields Maven / Gradle / Ivy

The newest version!
/*
 * This file is generated by jOOQ.
 */
package fr.ght1pc9kc.testy.dsl.information_schema.tables;


import fr.ght1pc9kc.testy.dsl.information_schema.InformationSchema;
import fr.ght1pc9kc.testy.dsl.information_schema.tables.records.FieldsRecord;

import javax.annotation.processing.Generated;

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.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;


/**
 * This class is generated by jOOQ.
 */
@Generated(
    value = {
        "https://www.jooq.org",
        "jOOQ version:3.18.7"
    },
    comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Fields extends TableImpl {

    private static final long serialVersionUID = 1L;

    /**
     * The reference instance of INFORMATION_SCHEMA.FIELDS
     */
    public static final Fields FIELDS = new Fields();

    /**
     * The class holding records for this type
     */
    @Override
    public Class getRecordType() {
        return FieldsRecord.class;
    }

    /**
     * The column INFORMATION_SCHEMA.FIELDS.OBJECT_CATALOG.
     */
    public final TableField OBJECT_CATALOG = createField(DSL.name("OBJECT_CATALOG"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.OBJECT_SCHEMA.
     */
    public final TableField OBJECT_SCHEMA = createField(DSL.name("OBJECT_SCHEMA"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.OBJECT_NAME.
     */
    public final TableField OBJECT_NAME = createField(DSL.name("OBJECT_NAME"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.OBJECT_TYPE.
     */
    public final TableField OBJECT_TYPE = createField(DSL.name("OBJECT_TYPE"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.ROW_IDENTIFIER.
     */
    public final TableField ROW_IDENTIFIER = createField(DSL.name("ROW_IDENTIFIER"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.FIELD_NAME.
     */
    public final TableField FIELD_NAME = createField(DSL.name("FIELD_NAME"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.ORDINAL_POSITION.
     */
    public final TableField ORDINAL_POSITION = createField(DSL.name("ORDINAL_POSITION"), SQLDataType.INTEGER, this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.DATA_TYPE.
     */
    public final TableField DATA_TYPE = createField(DSL.name("DATA_TYPE"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column
     * INFORMATION_SCHEMA.FIELDS.CHARACTER_MAXIMUM_LENGTH.
     */
    public final TableField CHARACTER_MAXIMUM_LENGTH = createField(DSL.name("CHARACTER_MAXIMUM_LENGTH"), SQLDataType.BIGINT, this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.CHARACTER_OCTET_LENGTH.
     */
    public final TableField CHARACTER_OCTET_LENGTH = createField(DSL.name("CHARACTER_OCTET_LENGTH"), SQLDataType.BIGINT, this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.CHARACTER_SET_CATALOG.
     */
    public final TableField CHARACTER_SET_CATALOG = createField(DSL.name("CHARACTER_SET_CATALOG"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.CHARACTER_SET_SCHEMA.
     */
    public final TableField CHARACTER_SET_SCHEMA = createField(DSL.name("CHARACTER_SET_SCHEMA"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.CHARACTER_SET_NAME.
     */
    public final TableField CHARACTER_SET_NAME = createField(DSL.name("CHARACTER_SET_NAME"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.COLLATION_CATALOG.
     */
    public final TableField COLLATION_CATALOG = createField(DSL.name("COLLATION_CATALOG"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.COLLATION_SCHEMA.
     */
    public final TableField COLLATION_SCHEMA = createField(DSL.name("COLLATION_SCHEMA"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.COLLATION_NAME.
     */
    public final TableField COLLATION_NAME = createField(DSL.name("COLLATION_NAME"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.NUMERIC_PRECISION.
     */
    public final TableField NUMERIC_PRECISION = createField(DSL.name("NUMERIC_PRECISION"), SQLDataType.INTEGER, this, "");

    /**
     * The column
     * INFORMATION_SCHEMA.FIELDS.NUMERIC_PRECISION_RADIX.
     */
    public final TableField NUMERIC_PRECISION_RADIX = createField(DSL.name("NUMERIC_PRECISION_RADIX"), SQLDataType.INTEGER, this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.NUMERIC_SCALE.
     */
    public final TableField NUMERIC_SCALE = createField(DSL.name("NUMERIC_SCALE"), SQLDataType.INTEGER, this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.DATETIME_PRECISION.
     */
    public final TableField DATETIME_PRECISION = createField(DSL.name("DATETIME_PRECISION"), SQLDataType.INTEGER, this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.INTERVAL_TYPE.
     */
    public final TableField INTERVAL_TYPE = createField(DSL.name("INTERVAL_TYPE"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.INTERVAL_PRECISION.
     */
    public final TableField INTERVAL_PRECISION = createField(DSL.name("INTERVAL_PRECISION"), SQLDataType.INTEGER, this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.MAXIMUM_CARDINALITY.
     */
    public final TableField MAXIMUM_CARDINALITY = createField(DSL.name("MAXIMUM_CARDINALITY"), SQLDataType.INTEGER, this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.DTD_IDENTIFIER.
     */
    public final TableField DTD_IDENTIFIER = createField(DSL.name("DTD_IDENTIFIER"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.DECLARED_DATA_TYPE.
     */
    public final TableField DECLARED_DATA_TYPE = createField(DSL.name("DECLARED_DATA_TYPE"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column
     * INFORMATION_SCHEMA.FIELDS.DECLARED_NUMERIC_PRECISION.
     */
    public final TableField DECLARED_NUMERIC_PRECISION = createField(DSL.name("DECLARED_NUMERIC_PRECISION"), SQLDataType.INTEGER, this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.DECLARED_NUMERIC_SCALE.
     */
    public final TableField DECLARED_NUMERIC_SCALE = createField(DSL.name("DECLARED_NUMERIC_SCALE"), SQLDataType.INTEGER, this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.GEOMETRY_TYPE.
     */
    public final TableField GEOMETRY_TYPE = createField(DSL.name("GEOMETRY_TYPE"), SQLDataType.VARCHAR(1000000000), this, "");

    /**
     * The column INFORMATION_SCHEMA.FIELDS.GEOMETRY_SRID.
     */
    public final TableField GEOMETRY_SRID = createField(DSL.name("GEOMETRY_SRID"), SQLDataType.INTEGER, this, "");

    private Fields(Name alias, Table aliased) {
        this(alias, aliased, null);
    }

    private Fields(Name alias, Table aliased, Field[] parameters) {
        super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
    }

    /**
     * Create an aliased INFORMATION_SCHEMA.FIELDS table reference
     */
    public Fields(String alias) {
        this(DSL.name(alias), FIELDS);
    }

    /**
     * Create an aliased INFORMATION_SCHEMA.FIELDS table reference
     */
    public Fields(Name alias) {
        this(alias, FIELDS);
    }

    /**
     * Create a INFORMATION_SCHEMA.FIELDS table reference
     */
    public Fields() {
        this(DSL.name("FIELDS"), null);
    }

    public  Fields(Table child, ForeignKey key) {
        super(child, key, FIELDS);
    }

    @Override
    public Schema getSchema() {
        return aliased() ? null : InformationSchema.INFORMATION_SCHEMA;
    }

    @Override
    public Fields as(String alias) {
        return new Fields(DSL.name(alias), this);
    }

    @Override
    public Fields as(Name alias) {
        return new Fields(alias, this);
    }

    @Override
    public Fields as(Table alias) {
        return new Fields(alias.getQualifiedName(), this);
    }

    /**
     * Rename this table
     */
    @Override
    public Fields rename(String name) {
        return new Fields(DSL.name(name), null);
    }

    /**
     * Rename this table
     */
    @Override
    public Fields rename(Name name) {
        return new Fields(name, null);
    }

    /**
     * Rename this table
     */
    @Override
    public Fields rename(Table name) {
        return new Fields(name.getQualifiedName(), null);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy