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

org.jooq.meta.derby.sys.tables.Syssequences 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 Syssequences extends TableImpl {

    private static final long serialVersionUID = -530759919;

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

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

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

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

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

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

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

    /**
     * The column SYS.SYSSEQUENCES.STARTVALUE.
     */
    public final TableField STARTVALUE = createField(DSL.name("STARTVALUE"), SQLDataType.BIGINT.nullable(false), this, "");

    /**
     * The column SYS.SYSSEQUENCES.MINIMUMVALUE.
     */
    public final TableField MINIMUMVALUE = createField(DSL.name("MINIMUMVALUE"), SQLDataType.BIGINT.nullable(false), this, "");

    /**
     * The column SYS.SYSSEQUENCES.MAXIMUMVALUE.
     */
    public final TableField MAXIMUMVALUE = createField(DSL.name("MAXIMUMVALUE"), SQLDataType.BIGINT.nullable(false), this, "");

    /**
     * The column SYS.SYSSEQUENCES.INCREMENT.
     */
    public final TableField INCREMENT = createField(DSL.name("INCREMENT"), SQLDataType.BIGINT.nullable(false), this, "");

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

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

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

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

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

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

    public  Syssequences(Table child, ForeignKey key) {
        super(child, key, SYSSEQUENCES);
    }

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

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

    public Sysschemas sysschemas() {
        return new Sysschemas(this, Keys.SYNTHETIC_FK_SYSSEQUENCES__SYNTHETIC_PK_SYSSCHEMAS);
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy