Class View
- Inheritance
-
View
- Implements
-
- Inherited Members
-
Represents a Databricks Metric View definition
public record View : MetricViewObjectBase, IMetricViewObject, IEquatable<MetricViewObjectBase>, IEquatable<View>
- Extension Methods
-
Constructors
protected View(View original)
Parameters
| Type |
Name |
Description |
| View |
original |
|
Properties
Array of dimension definitions
public IList<Dimension> Dimensions { get; init; }
Property Value
protected override Type EqualityContract { get; }
Property Value
Optional SQL boolean expression that applies to all queries; a WHERE
public string? Filter { get; init; }
Property Value
Optional join definitions for the metric view
public IList<Join>? Joins { get; init; }
Property Value
Array of measure definitions
public IList<Measure> Measures { get; init; }
Property Value
The source data for the metric view, playing the role of a single fact
public required string Source { get; init; }
Property Value
Version of the metric view specification
public required string Version { get; init; }
Property Value
Methods
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
public override sealed bool Equals(MetricViewObjectBase? other)
Parameters
Returns
public virtual bool Equals(View? other)
Parameters
| Type |
Name |
Description |
| View |
other |
|
Returns
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
Returns
public override string ToString()
Returns
Operators
public static bool operator ==(View? left, View? right)
Parameters
| Type |
Name |
Description |
| View |
left |
|
| View |
right |
|
Returns
public static bool operator !=(View? left, View? right)
Parameters
| Type |
Name |
Description |
| View |
left |
|
| View |
right |
|
Returns