Table of Contents

Class MaterializedViewSpec

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

Specifies a single materialized view within the materialization configuration.

public record MaterializedViewSpec : IEquatable<MaterializedViewSpec>
Extension Methods

Constructors

MaterializedViewSpec()

public MaterializedViewSpec()

MaterializedViewSpec(MaterializedViewSpec)

[SetsRequiredMembers]
protected MaterializedViewSpec(MaterializedViewSpec original)

Parameters

Type Name Description
MaterializedViewSpec original

Properties

Dimensions

List of dimension names to materialize (for aggregated type)

public List<string> Dimensions { get; set; }

Property Value

Type Description
List<string>

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type Description
Type

Measures

List of measure names to materialize (for aggregated type)

public List<string> Measures { get; set; }

Property Value

Type Description
List<string>

Name

Name of the materialization

public required string Name { get; set; }

Property Value

Type Description
string

Type

Type of materialization: aggregated or unaggregated

public required MaterializedViewType Type { get; set; }

Property Value

Type Description
MaterializedViewType

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

Type Name Description
object obj

Returns

Type Description
bool

Equals(MaterializedViewSpec?)

public virtual bool Equals(MaterializedViewSpec? other)

Parameters

Type Name Description
MaterializedViewSpec other

Returns

Type Description
bool

GetHashCode()

public override int GetHashCode()

Returns

Type Description
int

PrintMembers(StringBuilder)

protected virtual 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 ==(MaterializedViewSpec?, MaterializedViewSpec?)

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

Parameters

Type Name Description
MaterializedViewSpec left
MaterializedViewSpec right

Returns

Type Description
bool

operator !=(MaterializedViewSpec?, MaterializedViewSpec?)

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

Parameters

Type Name Description
MaterializedViewSpec left
MaterializedViewSpec right

Returns

Type Description
bool