package com.liangjian.dataplatform.member.constant;

/**
 * @Author: 黄子奇
 * @Date: 2019/8/26 11:36
 *
 * 用于MetaCore数据库交互的一些静态字段
 */
public class MetaCoreConstant {

    //根节点类型
    /** 模型，虚节点 */
    public static final String ROOT_TYPE_PDM = "PDM";
    /** 接口，虚节点 */
    public static final String ROOT_TYPE_ITF = "ITF";
    /** 落地库，数据源，虚节点 */
    public static final String ROOT_TYPE_DB = "DB";
    /** 文本数据，虚节点 */
    public static final String ROOT_TYPE_HOST = "HOST";

    //节点详细类型
    /** 目录类型 */
    public static final String CORE_BASEPACKAGE = "core.BasePackage";
    /** 表元数据 */
    public static final String MODEL_PHYSICAL_MODEL = "model.PhysicalModel";
    /** 表字段元数据 */
    public static final String MODEK_PHYSICAL_MODEL_CLM = "model.PhysicalModelClm";
    /** 数据源 */
    public static final String PHY_DATASOURCE = "phy.DataSource";
    /** Schema */
    public static final String RELATION_SCHEMA = "relation.Schema";
    /** 虚，表 */
    public static final String RELATION_TABLES = "tables";
    /** 虚，视图 */
    public static final String RELATION_VIEWS = "views";
    /** 虚，存储过程 */
    public static final String RELATION_PROCEDURES = "procedures";
    /** 反向工程获取到的表 */
    public static final String RELATION_TABLE = "relation.Table";
    /** 反向工程获取到的视图 */
    public static final String RELATION_VIEW = "relation.View";
    /** 反向工程获取到的字段 */
    public static final String RELATION_COLUMN = "relation.Column";
}
