org.jooq.meta.derby.sys.tables.Systables Maven / Gradle / Ivy
/*
* 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.UniqueKey;
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 Systables extends TableImpl {
private static final long serialVersionUID = -1556687250;
/**
* The reference instance of SYS.SYSTABLES
*/
public static final Systables SYSTABLES = new Systables();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return Record.class;
}
/**
* The column SYS.SYSTABLES.TABLEID
.
*/
public final TableField TABLEID = createField(DSL.name("TABLEID"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column SYS.SYSTABLES.TABLENAME
.
*/
public final TableField TABLENAME = createField(DSL.name("TABLENAME"), SQLDataType.VARCHAR(128).nullable(false), this, "");
/**
* The column SYS.SYSTABLES.TABLETYPE
.
*/
public final TableField TABLETYPE = createField(DSL.name("TABLETYPE"), SQLDataType.CHAR(1).nullable(false), this, "");
/**
* The column SYS.SYSTABLES.SCHEMAID
.
*/
public final TableField SCHEMAID = createField(DSL.name("SCHEMAID"), SQLDataType.CHAR(36).nullable(false), this, "");
/**
* The column SYS.SYSTABLES.LOCKGRANULARITY
.
*/
public final TableField LOCKGRANULARITY = createField(DSL.name("LOCKGRANULARITY"), SQLDataType.CHAR(1).nullable(false), this, "");
private Systables(Name alias, Table aliased) {
this(alias, aliased, null);
}
private Systables(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased SYS.SYSTABLES
table reference
*/
public Systables(String alias) {
this(DSL.name(alias), SYSTABLES);
}
/**
* Create an aliased SYS.SYSTABLES
table reference
*/
public Systables(Name alias) {
this(alias, SYSTABLES);
}
/**
* Create a SYS.SYSTABLES
table reference
*/
public Systables() {
this(DSL.name("SYSTABLES"), null);
}
public Systables(Table child, ForeignKey key) {
super(child, key, SYSTABLES);
}
@Override
public Schema getSchema() {
return Sys.SYS;
}
@Override
public UniqueKey getPrimaryKey() {
return Keys.SYNTHETIC_PK_SYSTABLES;
}
@Override
public List> getKeys() {
return Arrays.>asList(Keys.SYNTHETIC_PK_SYSTABLES);
}
@Override
public List> getReferences() {
return Arrays.>asList(Keys.SYNTHETIC_FK_SYSTABLES__SYNTHETIC_PK_SYSSCHEMAS);
}
public Sysschemas sysschemas() {
return new Sysschemas(this, Keys.SYNTHETIC_FK_SYSTABLES__SYNTHETIC_PK_SYSSCHEMAS);
}
@Override
public Systables as(String alias) {
return new Systables(DSL.name(alias), this);
}
@Override
public Systables as(Name alias) {
return new Systables(alias, this);
}
/**
* Rename this table
*/
@Override
public Systables rename(String name) {
return new Systables(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Systables rename(Name name) {
return new Systables(name, null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy