All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jooq.meta.firebird.rdb.tables.Rdb$indices Maven / Gradle / Ivy

There is a newer version: 3.19.16
Show newest version
/*
 * This file is generated by jOOQ.
 */
package org.jooq.meta.firebird.rdb.tables;


import java.util.Arrays;
import java.util.List;

import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.InverseForeignKey;
import org.jooq.Name;
import org.jooq.Record;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import org.jooq.meta.firebird.rdb.Keys;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Rdb$indices extends TableImpl {

    private static final long serialVersionUID = 1L;

    /**
     * The reference instance of RDB$INDICES
     */
    public static final Rdb$indices RDB$INDICES = new Rdb$indices();

    /**
     * The class holding records for this type
     */
    @Override
    public Class getRecordType() {
        return Record.class;
    }

    /**
     * The column RDB$INDICES.RDB$INDEX_NAME.
     */
    public final TableField RDB$INDEX_NAME = createField(DSL.name("RDB$INDEX_NAME"), SQLDataType.CHAR(63), this, "");

    /**
     * The column RDB$INDICES.RDB$RELATION_NAME.
     */
    public final TableField RDB$RELATION_NAME = createField(DSL.name("RDB$RELATION_NAME"), SQLDataType.CHAR(63), this, "");

    /**
     * The column RDB$INDICES.RDB$INDEX_ID.
     */
    public final TableField RDB$INDEX_ID = createField(DSL.name("RDB$INDEX_ID"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$INDICES.RDB$UNIQUE_FLAG.
     */
    public final TableField RDB$UNIQUE_FLAG = createField(DSL.name("RDB$UNIQUE_FLAG"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$INDICES.RDB$DESCRIPTION.
     */
    public final TableField RDB$DESCRIPTION = createField(DSL.name("RDB$DESCRIPTION"), SQLDataType.CLOB, this, "");

    /**
     * The column RDB$INDICES.RDB$SEGMENT_COUNT.
     */
    public final TableField RDB$SEGMENT_COUNT = createField(DSL.name("RDB$SEGMENT_COUNT"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$INDICES.RDB$INDEX_INACTIVE.
     */
    public final TableField RDB$INDEX_INACTIVE = createField(DSL.name("RDB$INDEX_INACTIVE"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$INDICES.RDB$INDEX_TYPE.
     */
    public final TableField RDB$INDEX_TYPE = createField(DSL.name("RDB$INDEX_TYPE"), SQLDataType.SMALLINT, this, "");

    /**
     * The column RDB$INDICES.RDB$FOREIGN_KEY.
     */
    public final TableField RDB$FOREIGN_KEY = createField(DSL.name("RDB$FOREIGN_KEY"), SQLDataType.CHAR(63), this, "");

    /**
     * The column RDB$INDICES.RDB$SYSTEM_FLAG.
     */
    public final TableField RDB$SYSTEM_FLAG = createField(DSL.name("RDB$SYSTEM_FLAG"), SQLDataType.SMALLINT.nullable(false), this, "");

    /**
     * The column RDB$INDICES.RDB$EXPRESSION_BLR.
     */
    public final TableField RDB$EXPRESSION_BLR = createField(DSL.name("RDB$EXPRESSION_BLR"), SQLDataType.BLOB, this, "");

    /**
     * The column RDB$INDICES.RDB$EXPRESSION_SOURCE.
     */
    public final TableField RDB$EXPRESSION_SOURCE = createField(DSL.name("RDB$EXPRESSION_SOURCE"), SQLDataType.CLOB, this, "");

    /**
     * The column RDB$INDICES.RDB$STATISTICS.
     */
    public final TableField RDB$STATISTICS = createField(DSL.name("RDB$STATISTICS"), SQLDataType.DOUBLE, this, "");

    private Rdb$indices(Name alias, Table aliased) {
        this(alias, aliased, (Field[]) null, null);
    }

    private Rdb$indices(Name alias, Table aliased, Field[] parameters, Condition where) {
        super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
    }

    /**
     * Create an aliased RDB$INDICES table reference
     */
    public Rdb$indices(String alias) {
        this(DSL.name(alias), RDB$INDICES);
    }

    /**
     * Create an aliased RDB$INDICES table reference
     */
    public Rdb$indices(Name alias) {
        this(alias, RDB$INDICES);
    }

    /**
     * Create a RDB$INDICES table reference
     */
    public Rdb$indices() {
        this(DSL.name("RDB$INDICES"), null);
    }

    public  Rdb$indices(Table path, ForeignKey childPath, InverseForeignKey parentPath) {
        super(path, childPath, parentPath, RDB$INDICES);
    }

    @Override
    public List> getUniqueKeys() {
        return Arrays.asList(Keys.RDB$INDEX_5);
    }

    private transient Rdb$indexSegments _rdb$indexSegments;

    /**
     * Get the implicit to-many join path to the RDB$INDEX_SEGMENTS
     * table
     */
    public Rdb$indexSegments rdb$indexSegments() {
        if (_rdb$indexSegments == null)
            _rdb$indexSegments = new Rdb$indexSegments(this, null, Keys.SYNTHETIC_FK_RDB$INDEX_SEGMENTS__RDB$INDEX_5.getInverseKey());

        return _rdb$indexSegments;
    }

    @Override
    public Rdb$indices as(String alias) {
        return new Rdb$indices(DSL.name(alias), this);
    }

    @Override
    public Rdb$indices as(Name alias) {
        return new Rdb$indices(alias, this);
    }

    @Override
    public Rdb$indices as(Table alias) {
        return new Rdb$indices(alias.getQualifiedName(), this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy