fr.ght1pc9kc.testy.dsl.information_schema.tables.IndexColumns 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.IndexColumnsRecord;
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 IndexColumns extends TableImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of INFORMATION_SCHEMA.INDEX_COLUMNS
*/
public static final IndexColumns INDEX_COLUMNS = new IndexColumns();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return IndexColumnsRecord.class;
}
/**
* The column INFORMATION_SCHEMA.INDEX_COLUMNS.INDEX_CATALOG
.
*/
public final TableField INDEX_CATALOG = createField(DSL.name("INDEX_CATALOG"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.INDEX_COLUMNS.INDEX_SCHEMA
.
*/
public final TableField INDEX_SCHEMA = createField(DSL.name("INDEX_SCHEMA"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.INDEX_COLUMNS.INDEX_NAME
.
*/
public final TableField INDEX_NAME = createField(DSL.name("INDEX_NAME"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.INDEX_COLUMNS.TABLE_CATALOG
.
*/
public final TableField TABLE_CATALOG = createField(DSL.name("TABLE_CATALOG"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.INDEX_COLUMNS.TABLE_SCHEMA
.
*/
public final TableField TABLE_SCHEMA = createField(DSL.name("TABLE_SCHEMA"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.INDEX_COLUMNS.TABLE_NAME
.
*/
public final TableField TABLE_NAME = createField(DSL.name("TABLE_NAME"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.INDEX_COLUMNS.COLUMN_NAME
.
*/
public final TableField COLUMN_NAME = createField(DSL.name("COLUMN_NAME"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column
* INFORMATION_SCHEMA.INDEX_COLUMNS.ORDINAL_POSITION
.
*/
public final TableField ORDINAL_POSITION = createField(DSL.name("ORDINAL_POSITION"), SQLDataType.INTEGER, this, "");
/**
* The column
* INFORMATION_SCHEMA.INDEX_COLUMNS.ORDERING_SPECIFICATION
.
*/
public final TableField ORDERING_SPECIFICATION = createField(DSL.name("ORDERING_SPECIFICATION"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.INDEX_COLUMNS.NULL_ORDERING
.
*/
public final TableField NULL_ORDERING = createField(DSL.name("NULL_ORDERING"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.INDEX_COLUMNS.IS_UNIQUE
.
*/
public final TableField IS_UNIQUE = createField(DSL.name("IS_UNIQUE"), SQLDataType.BOOLEAN, this, "");
private IndexColumns(Name alias, Table aliased) {
this(alias, aliased, null);
}
private IndexColumns(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased INFORMATION_SCHEMA.INDEX_COLUMNS
table
* reference
*/
public IndexColumns(String alias) {
this(DSL.name(alias), INDEX_COLUMNS);
}
/**
* Create an aliased INFORMATION_SCHEMA.INDEX_COLUMNS
table
* reference
*/
public IndexColumns(Name alias) {
this(alias, INDEX_COLUMNS);
}
/**
* Create a INFORMATION_SCHEMA.INDEX_COLUMNS
table reference
*/
public IndexColumns() {
this(DSL.name("INDEX_COLUMNS"), null);
}
public IndexColumns(Table child, ForeignKey key) {
super(child, key, INDEX_COLUMNS);
}
@Override
public Schema getSchema() {
return aliased() ? null : InformationSchema.INFORMATION_SCHEMA;
}
@Override
public IndexColumns as(String alias) {
return new IndexColumns(DSL.name(alias), this);
}
@Override
public IndexColumns as(Name alias) {
return new IndexColumns(alias, this);
}
@Override
public IndexColumns as(Table> alias) {
return new IndexColumns(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public IndexColumns rename(String name) {
return new IndexColumns(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public IndexColumns rename(Name name) {
return new IndexColumns(name, null);
}
/**
* Rename this table
*/
@Override
public IndexColumns rename(Table> name) {
return new IndexColumns(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 Integer, ? super String, ? super String, ? super Boolean, ? 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 Integer, ? super String, ? super String, ? super Boolean, ? extends U> from) {
return convertFrom(toType, Records.mapping(from));
}
}