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

org.ehrbase.jooq.pg.Indexes Maven / Gradle / Ivy

The newest version!
/*
 * This file is generated by jOOQ.
 */
package org.ehrbase.jooq.pg;


import org.ehrbase.jooq.pg.tables.CompData;
import org.ehrbase.jooq.pg.tables.CompVersion;
import org.ehrbase.jooq.pg.tables.Contribution;
import org.ehrbase.jooq.pg.tables.Ehr;
import org.ehrbase.jooq.pg.tables.EhrItemTag;
import org.ehrbase.jooq.pg.tables.EhrStatusData;
import org.ehrbase.jooq.pg.tables.EhrStatusVersion;
import org.ehrbase.jooq.pg.tables.FlywaySchemaHistory;
import org.ehrbase.jooq.pg.tables.TemplateStore;
import org.ehrbase.jooq.pg.tables.Users;
import org.jooq.Index;
import org.jooq.OrderField;
import org.jooq.impl.DSL;
import org.jooq.impl.Internal;


/**
 * A class modelling indexes of tables in ehr.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" })
public class Indexes {

    // -------------------------------------------------------------------------
    // INDEX definitions
    // -------------------------------------------------------------------------

    public static final Index COMP_DATA_LEAF_IDX = Internal.createIndex(DSL.name("comp_data_leaf_idx"), CompData.COMP_DATA, new OrderField[] { CompData.COMP_DATA.VO_ID, CompData.COMP_DATA.ENTITY_IDX }, false);
    public static final Index COMP_DATA_PATH_IDX = Internal.createIndex(DSL.name("comp_data_path_idx"), CompData.COMP_DATA, new OrderField[] { CompData.COMP_DATA.VO_ID, CompData.COMP_DATA.PARENT_NUM, CompData.COMP_DATA.ENTITY_ATTRIBUTE, CompData.COMP_DATA.ENTITY_CONCEPT, CompData.COMP_DATA.RM_ENTITY, CompData.COMP_DATA.NUM, CompData.COMP_DATA.NUM_CAP }, false);
    public static final Index COMP_VERSION_SYS_PERIOD_LOWER_IDX = Internal.createIndex(DSL.name("comp_version_sys_period_lower_idx"), CompVersion.COMP_VERSION, new OrderField[] { CompVersion.COMP_VERSION.SYS_PERIOD_LOWER.desc(), CompVersion.COMP_VERSION.VO_ID }, false);
    public static final Index CONTRIBUTION_EHR_IDX = Internal.createIndex(DSL.name("contribution_ehr_idx"), Contribution.CONTRIBUTION, new OrderField[] { Contribution.CONTRIBUTION.EHR_ID }, false);
    public static final Index EHR_ITEM_TAG_EHR_ID_TARGET_VO_ID_IDX = Internal.createIndex(DSL.name("ehr_item_tag_ehr_id_target_vo_id_idx"), EhrItemTag.EHR_ITEM_TAG, new OrderField[] { EhrItemTag.EHR_ITEM_TAG.EHR_ID, EhrItemTag.EHR_ITEM_TAG.TARGET_VO_ID }, false);
    public static final Index EHR_STATUS_DATA_PATH_IDX = Internal.createIndex(DSL.name("ehr_status_data_path_idx"), EhrStatusData.EHR_STATUS_DATA, new OrderField[] { EhrStatusData.EHR_STATUS_DATA.EHR_ID, EhrStatusData.EHR_STATUS_DATA.PARENT_NUM, EhrStatusData.EHR_STATUS_DATA.ENTITY_ATTRIBUTE, EhrStatusData.EHR_STATUS_DATA.ENTITY_CONCEPT, EhrStatusData.EHR_STATUS_DATA.RM_ENTITY, EhrStatusData.EHR_STATUS_DATA.NUM, EhrStatusData.EHR_STATUS_DATA.NUM_CAP }, false);
    public static final Index EHR_STATUS_VERSION_SYS_PERIOD_LOWER_IDX = Internal.createIndex(DSL.name("ehr_status_version_sys_period_lower_idx"), EhrStatusVersion.EHR_STATUS_VERSION, new OrderField[] { EhrStatusVersion.EHR_STATUS_VERSION.SYS_PERIOD_LOWER.desc(), EhrStatusVersion.EHR_STATUS_VERSION.EHR_ID }, false);
    public static final Index EHR_TIME_CREATED_IDX = Internal.createIndex(DSL.name("ehr_time_created_idx"), Ehr.EHR_, new OrderField[] { Ehr.EHR_.CREATION_DATE.desc(), Ehr.EHR_.ID }, false);
    public static final Index FLYWAY_SCHEMA_HISTORY_S_IDX = Internal.createIndex(DSL.name("flyway_schema_history_s_idx"), FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY, new OrderField[] { FlywaySchemaHistory.FLYWAY_SCHEMA_HISTORY.SUCCESS }, false);
    public static final Index TEMPLATE_STORE_ID_UNQ = Internal.createIndex(DSL.name("template_store_id_unq"), TemplateStore.TEMPLATE_STORE, new OrderField[] { TemplateStore.TEMPLATE_STORE.TEMPLATE_ID }, true);
    public static final Index USERS_USERNAME_IDX = Internal.createIndex(DSL.name("users_username_idx"), Users.USERS, new OrderField[] { Users.USERS.USERNAME }, true);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy