fr.ght1pc9kc.testy.dsl.information_schema.tables.Tables Maven / Gradle / Ivy
The newest version!
/*
* This file is generated by jOOQ.
*/
package fr.ght1pc9kc.testy.dsl.information_schema.tables;
import fr.ght1pc9kc.testy.dsl.information_schema.InformationSchema;
import fr.ght1pc9kc.testy.dsl.information_schema.tables.records.TablesRecord;
import java.util.function.Function;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Function11;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Records;
import org.jooq.Row11;
import org.jooq.Schema;
import org.jooq.SelectField;
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;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"https://www.jooq.org",
"jOOQ version:3.18.7"
},
comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Tables extends TableImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of INFORMATION_SCHEMA.TABLES
*/
public static final Tables TABLES = new Tables();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return TablesRecord.class;
}
/**
* The column INFORMATION_SCHEMA.TABLES.TABLE_CATALOG
.
*/
public final TableField TABLE_CATALOG = createField(DSL.name("TABLE_CATALOG"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.TABLES.TABLE_SCHEMA
.
*/
public final TableField TABLE_SCHEMA = createField(DSL.name("TABLE_SCHEMA"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.TABLES.TABLE_NAME
.
*/
public final TableField TABLE_NAME = createField(DSL.name("TABLE_NAME"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.TABLES.TABLE_TYPE
.
*/
public final TableField TABLE_TYPE = createField(DSL.name("TABLE_TYPE"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.TABLES.IS_INSERTABLE_INTO
.
*/
public final TableField IS_INSERTABLE_INTO = createField(DSL.name("IS_INSERTABLE_INTO"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.TABLES.COMMIT_ACTION
.
*/
public final TableField COMMIT_ACTION = createField(DSL.name("COMMIT_ACTION"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.TABLES.STORAGE_TYPE
.
*/
public final TableField STORAGE_TYPE = createField(DSL.name("STORAGE_TYPE"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.TABLES.REMARKS
.
*/
public final TableField REMARKS = createField(DSL.name("REMARKS"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION
.
*/
public final TableField LAST_MODIFICATION = createField(DSL.name("LAST_MODIFICATION"), SQLDataType.BIGINT, this, "");
/**
* The column INFORMATION_SCHEMA.TABLES.TABLE_CLASS
.
*/
public final TableField TABLE_CLASS = createField(DSL.name("TABLE_CLASS"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.TABLES.ROW_COUNT_ESTIMATE
.
*/
public final TableField ROW_COUNT_ESTIMATE = createField(DSL.name("ROW_COUNT_ESTIMATE"), SQLDataType.BIGINT, this, "");
private Tables(Name alias, Table aliased) {
this(alias, aliased, null);
}
private Tables(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
}
/**
* Create an aliased INFORMATION_SCHEMA.TABLES
table reference
*/
public Tables(String alias) {
this(DSL.name(alias), TABLES);
}
/**
* Create an aliased INFORMATION_SCHEMA.TABLES
table reference
*/
public Tables(Name alias) {
this(alias, TABLES);
}
/**
* Create a INFORMATION_SCHEMA.TABLES
table reference
*/
public Tables() {
this(DSL.name("TABLES"), null);
}
public Tables(Table child, ForeignKey key) {
super(child, key, TABLES);
}
@Override
public Schema getSchema() {
return aliased() ? null : InformationSchema.INFORMATION_SCHEMA;
}
@Override
public Tables as(String alias) {
return new Tables(DSL.name(alias), this);
}
@Override
public Tables as(Name alias) {
return new Tables(alias, this);
}
@Override
public Tables as(Table> alias) {
return new Tables(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Tables rename(String name) {
return new Tables(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Tables rename(Name name) {
return new Tables(name, null);
}
/**
* Rename this table
*/
@Override
public Tables rename(Table> name) {
return new Tables(name.getQualifiedName(), null);
}
// -------------------------------------------------------------------------
// Row11 type methods
// -------------------------------------------------------------------------
@Override
public Row11 fieldsRow() {
return (Row11) super.fieldsRow();
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
public SelectField mapping(Function11 super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super Long, ? super String, ? super Long, ? extends U> from) {
return convertFrom(Records.mapping(from));
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Class,
* Function)}.
*/
public SelectField mapping(Class toType, Function11 super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super String, ? super Long, ? super String, ? super Long, ? extends U> from) {
return convertFrom(toType, Records.mapping(from));
}
}