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

org.jooq.meta.firebird.rdb.tables.Rdb$relations Maven / Gradle / Ivy

There is a newer version: 3.19.16
Show newest version
/*
 * This file is generated by jOOQ.
 */
package org.jooq.meta.firebird.rdb.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.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.firebird.rdb.DefaultSchema;
import org.jooq.meta.firebird.rdb.Keys;


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

    private static final long serialVersionUID = 1L;

    /**
     * The reference instance of RDB$RELATIONS
     */
    public static final Rdb$relations RDB$RELATIONS = new Rdb$relations();

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

    /**
     * The column RDB$RELATIONS.RDB$VIEW_BLR.
     */
    public final TableField RDB$VIEW_BLR = createField(DSL.name("RDB$VIEW_BLR"), SQLDataType.BLOB, this, "");

    /**
     * The column RDB$RELATIONS.RDB$VIEW_SOURCE.
     */
    public final TableField RDB$VIEW_SOURCE = createField(DSL.name("RDB$VIEW_SOURCE"), SQLDataType.CLOB, this, "");

    /**
     * The column RDB$RELATIONS.RDB$DESCRIPTION.
     */
    public final TableField RDB$DESCRIPTION = createField(DSL.name("RDB$DESCRIPTION"), SQLDataType.CLOB, this, "");

    /**
     * The column RDB$RELATIONS.RDB$RELATION_ID.
     */
    public final TableField RDB$RELATION_ID = createField(DSL.name("RDB$RELATION_ID"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$RELATIONS.RDB$SYSTEM_FLAG.
     */
    public final TableField RDB$SYSTEM_FLAG = createField(DSL.name("RDB$SYSTEM_FLAG"), SQLDataType.SMALLINT.nullable(false), this, "");

    /**
     * The column RDB$RELATIONS.RDB$DBKEY_LENGTH.
     */
    public final TableField RDB$DBKEY_LENGTH = createField(DSL.name("RDB$DBKEY_LENGTH"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$RELATIONS.RDB$FORMAT.
     */
    public final TableField RDB$FORMAT = createField(DSL.name("RDB$FORMAT"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$RELATIONS.RDB$FIELD_ID.
     */
    public final TableField RDB$FIELD_ID = createField(DSL.name("RDB$FIELD_ID"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$RELATIONS.RDB$RELATION_NAME.
     */
    public final TableField RDB$RELATION_NAME = createField(DSL.name("RDB$RELATION_NAME"), SQLDataType.CHAR(31), this, "");

    /**
     * The column RDB$RELATIONS.RDB$SECURITY_CLASS.
     */
    public final TableField RDB$SECURITY_CLASS = createField(DSL.name("RDB$SECURITY_CLASS"), SQLDataType.CHAR(31), this, "");

    /**
     * The column RDB$RELATIONS.RDB$EXTERNAL_FILE.
     */
    public final TableField RDB$EXTERNAL_FILE = createField(DSL.name("RDB$EXTERNAL_FILE"), SQLDataType.VARCHAR, this, "");

    /**
     * The column RDB$RELATIONS.RDB$RUNTIME.
     */
    public final TableField RDB$RUNTIME = createField(DSL.name("RDB$RUNTIME"), SQLDataType.BLOB, this, "");

    /**
     * The column RDB$RELATIONS.RDB$EXTERNAL_DESCRIPTION.
     */
    public final TableField RDB$EXTERNAL_DESCRIPTION = createField(DSL.name("RDB$EXTERNAL_DESCRIPTION"), SQLDataType.BLOB, this, "");

    /**
     * The column RDB$RELATIONS.RDB$OWNER_NAME.
     */
    public final TableField RDB$OWNER_NAME = createField(DSL.name("RDB$OWNER_NAME"), SQLDataType.CHAR(31), this, "");

    /**
     * The column RDB$RELATIONS.RDB$DEFAULT_CLASS.
     */
    public final TableField RDB$DEFAULT_CLASS = createField(DSL.name("RDB$DEFAULT_CLASS"), SQLDataType.CHAR(31), this, "");

    /**
     * The column RDB$RELATIONS.RDB$FLAGS.
     */
    public final TableField RDB$FLAGS = createField(DSL.name("RDB$FLAGS"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$RELATIONS.RDB$RELATION_TYPE.
     */
    public final TableField RDB$RELATION_TYPE = createField(DSL.name("RDB$RELATION_TYPE"), SQLDataType.SMALLINT, this, "");

    private Rdb$relations(Name alias, Table aliased) {
        this(alias, aliased, null);
    }

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

    /**
     * Create an aliased RDB$RELATIONS table reference
     */
    public Rdb$relations(String alias) {
        this(DSL.name(alias), RDB$RELATIONS);
    }

    /**
     * Create an aliased RDB$RELATIONS table reference
     */
    public Rdb$relations(Name alias) {
        this(alias, RDB$RELATIONS);
    }

    /**
     * Create a RDB$RELATIONS table reference
     */
    public Rdb$relations() {
        this(DSL.name("RDB$RELATIONS"), null);
    }

    public  Rdb$relations(Table child, ForeignKey key) {
        super(child, key, RDB$RELATIONS);
    }

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

    @Override
    public List> getUniqueKeys() {
        return Arrays.asList(Keys.RDB$INDEX_0);
    }

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

    @Override
    public Rdb$relations as(Name alias) {
        return new Rdb$relations(alias, this);
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy