package org.jooq.meta.h2.information_schema.tables;
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.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.h2.information_schema.InformationSchema;
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Views extends TableImpl<Record> {
private static final long serialVersionUID = 870568262;
public static final Views VIEWS = new Views();
@Override
public Class<Record> getRecordType() {
return Record.class;
}
public final TableField<Record, String> TABLE_CATALOG = createField(DSL.name("TABLE_CATALOG"), SQLDataType.VARCHAR(2147483647), this, "");
public final TableField<Record, String> TABLE_SCHEMA = createField(DSL.name("TABLE_SCHEMA"), SQLDataType.VARCHAR(2147483647), this, "");
public final TableField<Record, String> TABLE_NAME = createField(DSL.name("TABLE_NAME"), SQLDataType.VARCHAR(2147483647), this, "");
public final TableField<Record, String> VIEW_DEFINITION = createField(DSL.name("VIEW_DEFINITION"), SQLDataType.VARCHAR(2147483647), this, "");
public final TableField<Record, String> CHECK_OPTION = createField(DSL.name("CHECK_OPTION"), SQLDataType.VARCHAR(2147483647), this, "");
public final TableField<Record, String> IS_UPDATABLE = createField(DSL.name("IS_UPDATABLE"), SQLDataType.VARCHAR(2147483647), this, "");
public final TableField<Record, String> STATUS = createField(DSL.name("STATUS"), SQLDataType.VARCHAR(2147483647), this, "");
public final TableField<Record, String> = createField(DSL.name("REMARKS"), SQLDataType.VARCHAR(2147483647), this, "");
public final TableField<Record, Integer> ID = createField(DSL.name("ID"), SQLDataType.INTEGER, this, "");
private Views(Name alias, Table<Record> aliased) {
this(alias, aliased, null);
}
private Views(Name alias, Table<Record> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
public Views(String alias) {
this(DSL.name(alias), VIEWS);
}
public Views(Name alias) {
this(alias, VIEWS);
}
public Views() {
this(DSL.name("VIEWS"), null);
}
public <O extends Record> Views(Table<O> child, ForeignKey<O, Record> key) {
super(child, key, VIEWS);
}
@Override
public Schema getSchema() {
return InformationSchema.INFORMATION_SCHEMA;
}
@Override
public Views as(String alias) {
return new Views(DSL.name(alias), this);
}
@Override
public Views as(Name alias) {
return new Views(alias, this);
}
@Override
public Views rename(String name) {
return new Views(DSL.name(name), null);
}
@Override
public Views rename(Name name) {
return new Views(name, null);
}
}