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

org.jooq.meta.derby.sys.tables.Sysviews 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 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.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.derby.sys.Keys;
import org.jooq.meta.derby.sys.Sys;


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

    private static final long serialVersionUID = 1865079473;

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

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

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

    /**
     * The column SYS.SYSVIEWS.VIEWDEFINITION.
     */
    public final TableField VIEWDEFINITION = createField(DSL.name("VIEWDEFINITION"), SQLDataType.LONGVARCHAR.nullable(false), this, "");

    /**
     * The column SYS.SYSVIEWS.CHECKOPTION.
     */
    public final TableField CHECKOPTION = createField(DSL.name("CHECKOPTION"), SQLDataType.CHAR(1).nullable(false), this, "");

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

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

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

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

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

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

    public  Sysviews(Table child, ForeignKey key) {
        super(child, key, SYSVIEWS);
    }

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

    @Override
    public List> getReferences() {
        return Arrays.>asList(Keys.SYNTHETIC_FK_SYSVIEWS__SYNTHETIC_PK_SYSTABLES);
    }

    public Systables systables() {
        return new Systables(this, Keys.SYNTHETIC_FK_SYSVIEWS__SYNTHETIC_PK_SYSTABLES);
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy