fr.ght1pc9kc.testy.dsl.information_schema.tables.InDoubt 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.InDoubtRecord;
import java.util.function.Function;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Function2;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Records;
import org.jooq.Row2;
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 InDoubt extends TableImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of INFORMATION_SCHEMA.IN_DOUBT
*/
public static final InDoubt IN_DOUBT = new InDoubt();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return InDoubtRecord.class;
}
/**
* The column INFORMATION_SCHEMA.IN_DOUBT.TRANSACTION_NAME
.
*/
public final TableField TRANSACTION_NAME = createField(DSL.name("TRANSACTION_NAME"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.IN_DOUBT.TRANSACTION_STATE
.
*/
public final TableField TRANSACTION_STATE = createField(DSL.name("TRANSACTION_STATE"), SQLDataType.VARCHAR(1000000000), this, "");
private InDoubt(Name alias, Table aliased) {
this(alias, aliased, null);
}
private InDoubt(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased INFORMATION_SCHEMA.IN_DOUBT
table
* reference
*/
public InDoubt(String alias) {
this(DSL.name(alias), IN_DOUBT);
}
/**
* Create an aliased INFORMATION_SCHEMA.IN_DOUBT
table
* reference
*/
public InDoubt(Name alias) {
this(alias, IN_DOUBT);
}
/**
* Create a INFORMATION_SCHEMA.IN_DOUBT
table reference
*/
public InDoubt() {
this(DSL.name("IN_DOUBT"), null);
}
public InDoubt(Table child, ForeignKey key) {
super(child, key, IN_DOUBT);
}
@Override
public Schema getSchema() {
return aliased() ? null : InformationSchema.INFORMATION_SCHEMA;
}
@Override
public InDoubt as(String alias) {
return new InDoubt(DSL.name(alias), this);
}
@Override
public InDoubt as(Name alias) {
return new InDoubt(alias, this);
}
@Override
public InDoubt as(Table> alias) {
return new InDoubt(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public InDoubt rename(String name) {
return new InDoubt(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public InDoubt rename(Name name) {
return new InDoubt(name, null);
}
/**
* Rename this table
*/
@Override
public InDoubt rename(Table> name) {
return new InDoubt(name.getQualifiedName(), null);
}
// -------------------------------------------------------------------------
// Row2 type methods
// -------------------------------------------------------------------------
@Override
public Row2 fieldsRow() {
return (Row2) super.fieldsRow();
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
public SelectField mapping(Function2 super String, ? super String, ? extends U> from) {
return convertFrom(Records.mapping(from));
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Class,
* Function)}.
*/
public SelectField mapping(Class toType, Function2 super String, ? super String, ? extends U> from) {
return convertFrom(toType, Records.mapping(from));
}
}