fr.ght1pc9kc.testy.dsl.information_schema.tables.Sequences 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.SequencesRecord;
import java.util.function.Function;
import javax.annotation.processing.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Function18;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Records;
import org.jooq.Row18;
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 Sequences extends TableImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of INFORMATION_SCHEMA.SEQUENCES
*/
public static final Sequences SEQUENCES = new Sequences();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return SequencesRecord.class;
}
/**
* The column INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_CATALOG
.
*/
public final TableField SEQUENCE_CATALOG = createField(DSL.name("SEQUENCE_CATALOG"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_SCHEMA
.
*/
public final TableField SEQUENCE_SCHEMA = createField(DSL.name("SEQUENCE_SCHEMA"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.SEQUENCE_NAME
.
*/
public final TableField SEQUENCE_NAME = createField(DSL.name("SEQUENCE_NAME"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.DATA_TYPE
.
*/
public final TableField DATA_TYPE = createField(DSL.name("DATA_TYPE"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.NUMERIC_PRECISION
.
*/
public final TableField NUMERIC_PRECISION = createField(DSL.name("NUMERIC_PRECISION"), SQLDataType.INTEGER, this, "");
/**
* The column
* INFORMATION_SCHEMA.SEQUENCES.NUMERIC_PRECISION_RADIX
.
*/
public final TableField NUMERIC_PRECISION_RADIX = createField(DSL.name("NUMERIC_PRECISION_RADIX"), SQLDataType.INTEGER, this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.NUMERIC_SCALE
.
*/
public final TableField NUMERIC_SCALE = createField(DSL.name("NUMERIC_SCALE"), SQLDataType.INTEGER, this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.START_VALUE
.
*/
public final TableField START_VALUE = createField(DSL.name("START_VALUE"), SQLDataType.BIGINT, this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.MINIMUM_VALUE
.
*/
public final TableField MINIMUM_VALUE = createField(DSL.name("MINIMUM_VALUE"), SQLDataType.BIGINT, this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.MAXIMUM_VALUE
.
*/
public final TableField MAXIMUM_VALUE = createField(DSL.name("MAXIMUM_VALUE"), SQLDataType.BIGINT, this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.INCREMENT
.
*/
public final TableField INCREMENT = createField(DSL.name("INCREMENT"), SQLDataType.BIGINT, this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.CYCLE_OPTION
.
*/
public final TableField CYCLE_OPTION = createField(DSL.name("CYCLE_OPTION"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.DECLARED_DATA_TYPE
.
*/
public final TableField DECLARED_DATA_TYPE = createField(DSL.name("DECLARED_DATA_TYPE"), SQLDataType.VARCHAR(1000000000), this, "");
/**
* The column
* INFORMATION_SCHEMA.SEQUENCES.DECLARED_NUMERIC_PRECISION
.
*/
public final TableField DECLARED_NUMERIC_PRECISION = createField(DSL.name("DECLARED_NUMERIC_PRECISION"), SQLDataType.INTEGER, this, "");
/**
* The column
* INFORMATION_SCHEMA.SEQUENCES.DECLARED_NUMERIC_SCALE
.
*/
public final TableField DECLARED_NUMERIC_SCALE = createField(DSL.name("DECLARED_NUMERIC_SCALE"), SQLDataType.INTEGER, this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.BASE_VALUE
.
*/
public final TableField BASE_VALUE = createField(DSL.name("BASE_VALUE"), SQLDataType.BIGINT, this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.CACHE
.
*/
public final TableField CACHE = createField(DSL.name("CACHE"), SQLDataType.BIGINT, this, "");
/**
* The column INFORMATION_SCHEMA.SEQUENCES.REMARKS
.
*/
public final TableField REMARKS = createField(DSL.name("REMARKS"), SQLDataType.VARCHAR(1000000000), this, "");
private Sequences(Name alias, Table aliased) {
this(alias, aliased, null);
}
private Sequences(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view());
}
/**
* Create an aliased INFORMATION_SCHEMA.SEQUENCES
table
* reference
*/
public Sequences(String alias) {
this(DSL.name(alias), SEQUENCES);
}
/**
* Create an aliased INFORMATION_SCHEMA.SEQUENCES
table
* reference
*/
public Sequences(Name alias) {
this(alias, SEQUENCES);
}
/**
* Create a INFORMATION_SCHEMA.SEQUENCES
table reference
*/
public Sequences() {
this(DSL.name("SEQUENCES"), null);
}
public Sequences(Table child, ForeignKey key) {
super(child, key, SEQUENCES);
}
@Override
public Schema getSchema() {
return aliased() ? null : InformationSchema.INFORMATION_SCHEMA;
}
@Override
public Sequences as(String alias) {
return new Sequences(DSL.name(alias), this);
}
@Override
public Sequences as(Name alias) {
return new Sequences(alias, this);
}
@Override
public Sequences as(Table> alias) {
return new Sequences(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public Sequences rename(String name) {
return new Sequences(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Sequences rename(Name name) {
return new Sequences(name, null);
}
/**
* Rename this table
*/
@Override
public Sequences rename(Table> name) {
return new Sequences(name.getQualifiedName(), null);
}
// -------------------------------------------------------------------------
// Row18 type methods
// -------------------------------------------------------------------------
@Override
public Row18 fieldsRow() {
return (Row18) super.fieldsRow();
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
public SelectField mapping(Function18 super String, ? super String, ? super String, ? super String, ? super Integer, ? super Integer, ? super Integer, ? super Long, ? super Long, ? super Long, ? super Long, ? super String, ? super String, ? super Integer, ? super Integer, ? super Long, ? super Long, ? super String, ? extends U> from) {
return convertFrom(Records.mapping(from));
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Class,
* Function)}.
*/
public SelectField mapping(Class toType, Function18 super String, ? super String, ? super String, ? super String, ? super Integer, ? super Integer, ? super Integer, ? super Long, ? super Long, ? super Long, ? super Long, ? super String, ? super String, ? super Integer, ? super Integer, ? super Long, ? super Long, ? super String, ? extends U> from) {
return convertFrom(toType, Records.mapping(from));
}
}