Table of Contents

Class View

Inheritance
View
Implements
Inherited Members
Namespace
TabularEditor.SemanticBridge.Platforms.Databricks.MetricView
Assembly
SemanticBridge.dll

Represents a Databricks Metric View definition

public record View : MetricViewObjectBase, IMetricViewObject, IEquatable<MetricViewObjectBase>, IEquatable<View>
Extension Methods

Constructors

View()

public View()

View(View)

protected View(View original)

Parameters

Type Name Description
View original

Properties

Dimensions

Array of dimension definitions

public IList<Dimension> Dimensions { get; init; }

Property Value

Type Description
IList<Dimension>

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type Description
Type

Filter

Optional SQL boolean expression that applies to all queries; a WHERE

public string? Filter { get; init; }

Property Value

Type Description
string

Joins

Optional join definitions for the metric view

public IList<Join>? Joins { get; init; }

Property Value

Type Description
IList<Join>

Remarks

A join is also the place where dimension sources are defined; this information exists nowhere else.

Measures

Array of measure definitions

public IList<Measure> Measures { get; init; }

Property Value

Type Description
IList<Measure>

Source

The source data for the metric view, playing the role of a single fact

public required string Source { get; init; }

Property Value

Type Description
string

Version

Version of the metric view specification

public required string Version { get; init; }

Property Value

Type Description
string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

Type Name Description
object obj

Returns

Type Description
bool

Equals(MetricViewObjectBase?)

public override sealed bool Equals(MetricViewObjectBase? other)

Parameters

Type Name Description
MetricViewObjectBase other

Returns

Type Description
bool

Equals(View?)

public virtual bool Equals(View? other)

Parameters

Type Name Description
View other

Returns

Type Description
bool

GetHashCode()

public override int GetHashCode()

Returns

Type Description
int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

Type Name Description
StringBuilder builder

Returns

Type Description
bool

ToString()

public override string ToString()

Returns

Type Description
string

Operators

operator ==(View?, View?)

public static bool operator ==(View? left, View? right)

Parameters

Type Name Description
View left
View right

Returns

Type Description
bool

operator !=(View?, View?)

public static bool operator !=(View? left, View? right)

Parameters

Type Name Description
View left
View right

Returns

Type Description
bool