Interface PropertyLevel

interface PropertyLevel {
    __id__?: string;
    caption?: string;
    captionColumn?: string;
    captionExpression?: SQLExpression;
    closure?: Closure;
    column?: string;
    dataType?: string;
    description?: string;
    dimension?: string;
    entity?: string;
    formatter?: string;
    hierarchy?: string;
    keyExpression?: SQLExpression;
    levelCardinality?: number;
    levelNumber?: number;
    levelType?: string | number;
    memberCaption?: string;
    members?: Member[];
    name: string;
    nameColumn?: string;
    nameExpression?: SQLExpression;
    nullParentValue?: number;
    ordinalColumn?: string;
    ordinalExpression?: SQLExpression;
    parentChild?: boolean;
    parentColumn?: string;
    parentExpression?: SQLExpression;
    properties?: LevelProperty[];
    role?: AggregationRole;
    rt?: boolean;
    semantic?: Semantics;
    semantics?: {
        formatter?: string;
        semantic?: Semantics;
    };
    table?: string;
    text?: string | EntityProperty;
    type?: "Numeric" | "Integer" | "String" | "Boolean" | "Date" | "Time" | "Timestamp";
    uniqueMembers?: boolean;
    uniqueName?: string;
    unit?: string | EntityProperty;
    visible?: boolean;
}

Hierarchy

Properties

__id__?: string
caption?: string

Caption of dimension

captionColumn?: string
captionExpression?: SQLExpression
closure?: Closure
column?: string
dataType?: string
description?: string
dimension?: string
entity?: string

所属的 Entity

formatter?: string

Deprecated

use semantics

hierarchy?: string
keyExpression?: SQLExpression
levelCardinality?: number
levelNumber?: number
levelType?: string | number
memberCaption?: string

The caption field of members in this property

members?: Member[]

如当 Dimension = "Measures" 时可以设置 members 为 ["Gross Margin", "Discount"] 等度量字段名 也可以为 dimension 设置固定的成员

name: string
nameColumn?: string
nameExpression?: SQLExpression
nullParentValue?: number
ordinalColumn?: string
ordinalExpression?: SQLExpression
parentChild?: boolean
parentColumn?: string
parentExpression?: SQLExpression
properties?: LevelProperty[]

Property role

rt?: boolean

Property is in Runtime only, not in Semantic Model

semantic?: Semantics

Deprecated

use semantics

semantics?: {
    formatter?: string;
    semantic?: Semantics;
}

Type declaration

  • Optional formatter?: string
  • Optional semantic?: Semantics
table?: string
text?: string | EntityProperty

Deprecated

use memberCaption

type?: "Numeric" | "Integer" | "String" | "Boolean" | "Date" | "Time" | "Timestamp"
uniqueMembers?: boolean
uniqueName?: string
unit?: string | EntityProperty
visible?: boolean

Visible Property

Generated using TypeDoc