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

org.jooq.meta.derby.sys.tables.Syscolumns Maven / Gradle / Ivy

There is a newer version: 3.19.16
Show newest version
/*
 * This file is generated by jOOQ.
 */
package org.jooq.meta.derby.sys.tables;


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;
import org.jooq.meta.derby.sys.Sys;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Syscolumns extends TableImpl {

    private static final long serialVersionUID = -62833438;

    /**
     * The reference instance of SYS.SYSCOLUMNS
     */
    public static final Syscolumns SYSCOLUMNS = new Syscolumns();

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

    /**
     * The column SYS.SYSCOLUMNS.REFERENCEID.
     */
    public final TableField REFERENCEID = createField(DSL.name("REFERENCEID"), SQLDataType.CHAR(36).nullable(false), this, "");

    /**
     * The column SYS.SYSCOLUMNS.COLUMNNAME.
     */
    public final TableField COLUMNNAME = createField(DSL.name("COLUMNNAME"), SQLDataType.VARCHAR(128).nullable(false), this, "");

    /**
     * The column SYS.SYSCOLUMNS.COLUMNNUMBER.
     */
    public final TableField COLUMNNUMBER = createField(DSL.name("COLUMNNUMBER"), SQLDataType.INTEGER.nullable(false), this, "");

    /**
     * The column SYS.SYSCOLUMNS.COLUMNDATATYPE.
     */
    public final TableField COLUMNDATATYPE = createField(DSL.name("COLUMNDATATYPE"), SQLDataType.CLOB.nullable(false), this, "");

    /**
     * The column SYS.SYSCOLUMNS.COLUMNDEFAULT.
     */
    public final TableField COLUMNDEFAULT = createField(DSL.name("COLUMNDEFAULT"), SQLDataType.CLOB, this, "");

    /**
     * The column SYS.SYSCOLUMNS.COLUMNDEFAULTID.
     */
    public final TableField COLUMNDEFAULTID = createField(DSL.name("COLUMNDEFAULTID"), SQLDataType.CHAR(36), this, "");

    /**
     * The column SYS.SYSCOLUMNS.AUTOINCREMENTVALUE.
     */
    public final TableField AUTOINCREMENTVALUE = createField(DSL.name("AUTOINCREMENTVALUE"), SQLDataType.BIGINT, this, "");

    /**
     * The column SYS.SYSCOLUMNS.AUTOINCREMENTSTART.
     */
    public final TableField AUTOINCREMENTSTART = createField(DSL.name("AUTOINCREMENTSTART"), SQLDataType.BIGINT, this, "");

    /**
     * The column SYS.SYSCOLUMNS.AUTOINCREMENTINC.
     */
    public final TableField AUTOINCREMENTINC = createField(DSL.name("AUTOINCREMENTINC"), SQLDataType.BIGINT, this, "");

    /**
     * The column SYS.SYSCOLUMNS.AUTOINCREMENTCYCLE.
     */
    public final TableField AUTOINCREMENTCYCLE = createField(DSL.name("AUTOINCREMENTCYCLE"), SQLDataType.BOOLEAN, this, "");

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

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

    /**
     * Create an aliased SYS.SYSCOLUMNS table reference
     */
    public Syscolumns(String alias) {
        this(DSL.name(alias), SYSCOLUMNS);
    }

    /**
     * Create an aliased SYS.SYSCOLUMNS table reference
     */
    public Syscolumns(Name alias) {
        this(alias, SYSCOLUMNS);
    }

    /**
     * Create a SYS.SYSCOLUMNS table reference
     */
    public Syscolumns() {
        this(DSL.name("SYSCOLUMNS"), null);
    }

    public  Syscolumns(Table child, ForeignKey key) {
        super(child, key, SYSCOLUMNS);
    }

    @Override
    public Schema getSchema() {
        return Sys.SYS;
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy