Table of Contents

Namespace TabularEditor.SemanticBridge.Platforms.Databricks.MetricView

Classes

Dimension

Legacy name for Field. Retained as an obsolete subclass so external code still compiles during the deprecation window. Every Field instance constructed via AddField(string, string) or AddDimension(string, string) is actually a Dimension at runtime, so a cast ((Dimension)field) succeeds and returns the same reference.

Field

Represents a field definition in a Databricks Metric View

Format

Databricks Metric View format specifications

Format.BaseNumber
Format.Byte

Byte: Use byte format for data size values displayed with appropriate byte units (KB, MB, GB, etc.).

Format.Currency

Currency: Use currency format for monetary values with ISO-4217 currency codes.

Format.Date

Date: Use date format for date values with various display options.

Format.DateTime

DateTime format specification

Format.Number

Number: Use plain number format for general numeric values with optional decimal place control and abbreviation options.

Format.Percentage

Percentage: Use percentage format for ratio values expressed as percentages.

Join

Represents a join definition in a Databricks Metric View

Materialization

Specifies materialization configuration for accelerating metric view queries. This is an experimental feature.

MaterializedViewSpec

Specifies a single materialized view within the materialization configuration.

Measure

Represents a measure definition in a Databricks Metric View

MetricViewCollection<T>

A collection of MetricView objects with name-based indexing. Implements IReadOnlyList for compatibility while providing O(1) name lookups.

MetricViewObjectBase

Internal abstract base class for all MetricView domain objects. Implements both the public marker interface and the internal visitable interface.

MetricViewVersion

Provides version comparison utilities for Databricks Metric View specifications. Unknown versions are treated as greater than all known versions (forward compatible).

MinVersionAttribute

Specifies the minimum metric view version required for a property. Used for setter validation when setting v1.1+ properties on older versions.

Rely

Optimizer hints about a join's relationship to its source. Today this carries only AtMostOneMatch; the Databricks spec models rely: as an extensible map so additional keys may appear in future spec revisions. An explicitly-empty rely: {} in YAML deserializes to a non-null Rely with all-null fields, distinct from an omitted rely: (which leaves Rely null). Both states round-trip faithfully. Faithful round-trips are a goal of our Metric View serialization and deserialization.

View

Represents a Databricks Metric View definition

Window

Specifies window measure behavior for windowed, cumulative, or semiadditive aggregations.

Structs

Format.DecimalPlaceSpec

Specifies decimal place formatting.

Interfaces

Format.IMetricViewNumericFormat

Enums

Format.AbbreviationType
Format.DateFormatSpec

Controls the way the date is displayed

Format.DecimalType
Format.FormatType

The type of format (i.e., "number", "currency", "percentage", "byte", "date", "datetime")

Format.TimeFormatSpec

Controls the way the time is displayed

JoinCardinality

The cardinality of a join's relationship between source and joined table. Drives whether the joined table is treated as a dimension lookup (ManyToOne) or as an independent fact source that the engine aggregates separately (OneToMany). Per the Databricks v1.1 spec, omitting the field defaults to ManyToOne; OneToMany additionally requires Databricks Runtime 18.1+.

MaterializationMode

Materialization mode. Currently only "relaxed" is supported by Databricks.

MaterializedViewType

Type of materialized view specification.

Window.SemiadditiveType

Aggregation strategy for semiadditive measures.