org.jooq.meta.firebird.rdb.tables.Rdb$indexSegments Maven / Gradle / Ivy
/*
* This file is generated by jOOQ.
*/
package org.jooq.meta.firebird.rdb.tables;
import java.util.Arrays;
import java.util.List;
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.firebird.rdb.DefaultSchema;
import org.jooq.meta.firebird.rdb.Keys;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Rdb$indexSegments extends TableImpl {
private static final long serialVersionUID = 1L;
/**
* The reference instance of RDB$INDEX_SEGMENTS
*/
public static final Rdb$indexSegments RDB$INDEX_SEGMENTS = new Rdb$indexSegments();
/**
* The class holding records for this type
*/
@Override
public Class getRecordType() {
return Record.class;
}
/**
* The column RDB$INDEX_SEGMENTS.RDB$INDEX_NAME
.
*/
public final TableField RDB$INDEX_NAME = createField(DSL.name("RDB$INDEX_NAME"), SQLDataType.CHAR(31), this, "");
/**
* The column RDB$INDEX_SEGMENTS.RDB$FIELD_NAME
.
*/
public final TableField RDB$FIELD_NAME = createField(DSL.name("RDB$FIELD_NAME"), SQLDataType.CHAR(31), this, "");
/**
* The column RDB$INDEX_SEGMENTS.RDB$FIELD_POSITION
.
*/
public final TableField RDB$FIELD_POSITION = createField(DSL.name("RDB$FIELD_POSITION"), SQLDataType.SMALLINT, this, "");
/**
* The column RDB$INDEX_SEGMENTS.RDB$STATISTICS
.
*/
public final TableField RDB$STATISTICS = createField(DSL.name("RDB$STATISTICS"), SQLDataType.DOUBLE, this, "");
private Rdb$indexSegments(Name alias, Table aliased) {
this(alias, aliased, null);
}
private Rdb$indexSegments(Name alias, Table aliased, Field>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased RDB$INDEX_SEGMENTS
table reference
*/
public Rdb$indexSegments(String alias) {
this(DSL.name(alias), RDB$INDEX_SEGMENTS);
}
/**
* Create an aliased RDB$INDEX_SEGMENTS
table reference
*/
public Rdb$indexSegments(Name alias) {
this(alias, RDB$INDEX_SEGMENTS);
}
/**
* Create a RDB$INDEX_SEGMENTS
table reference
*/
public Rdb$indexSegments() {
this(DSL.name("RDB$INDEX_SEGMENTS"), null);
}
public Rdb$indexSegments(Table child, ForeignKey key) {
super(child, key, RDB$INDEX_SEGMENTS);
}
@Override
public Schema getSchema() {
return aliased() ? null : DefaultSchema.DEFAULT_SCHEMA;
}
@Override
public List> getReferences() {
return Arrays.asList(Keys.SYNTHETIC_FK_RDB$INDEX_SEGMENTS__RDB$INDEX_5);
}
private transient Rdb$indices _rdb$indices;
public Rdb$indices rdb$indices() {
if (_rdb$indices == null)
_rdb$indices = new Rdb$indices(this, Keys.SYNTHETIC_FK_RDB$INDEX_SEGMENTS__RDB$INDEX_5);
return _rdb$indices;
}
@Override
public Rdb$indexSegments as(String alias) {
return new Rdb$indexSegments(DSL.name(alias), this);
}
@Override
public Rdb$indexSegments as(Name alias) {
return new Rdb$indexSegments(alias, this);
}
/**
* Rename this table
*/
@Override
public Rdb$indexSegments rename(String name) {
return new Rdb$indexSegments(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public Rdb$indexSegments rename(Name name) {
return new Rdb$indexSegments(name, null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy