Table of Contents

Class Measure

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

Represents a measure definition in a Databricks Metric View

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

Constructors

Measure()

public Measure()

Measure(Measure)

protected Measure(Measure original)

Parameters

Type Name Description
Measure original

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type Description
Type

Expr

Aggregate SQL expression that defines the measure

public required string Expr { get; init; }

Property Value

Type Description
string

Name

public required string Name { 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(Measure?)

public virtual bool Equals(Measure? other)

Parameters

Type Name Description
Measure other

Returns

Type Description
bool

Equals(MetricViewObjectBase?)

public override sealed bool Equals(MetricViewObjectBase? other)

Parameters

Type Name Description
MetricViewObjectBase 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 ==(Measure?, Measure?)

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

Parameters

Type Name Description
Measure left
Measure right

Returns

Type Description
bool

operator !=(Measure?, Measure?)

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

Parameters

Type Name Description
Measure left
Measure right

Returns

Type Description
bool