Class Dimension
- Inheritance
-
Dimension
- Implements
-
- Inherited Members
-
Represents a dimension definition in a Databricks Metric View
public record Dimension : MetricViewObjectBase, IMetricViewObject, IEquatable<MetricViewObjectBase>, IEquatable<Dimension>
- Extension Methods
-
Constructors
protected Dimension(Dimension original)
Parameters
Properties
protected override Type EqualityContract { get; }
Property Value
The YAML string representing the expression for this dimension,
either a field reference or scalar SQL expression.
public required string Expr { get; init; }
Property Value
The YAML name for the dimension field
public required string Name { get; init; }
Property Value
Methods
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
public virtual bool Equals(Dimension? other)
Parameters
Returns
public override sealed bool Equals(MetricViewObjectBase? other)
Parameters
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 ==(Dimension? left, Dimension? right)
Parameters
Returns
public static bool operator !=(Dimension? left, Dimension? right)
Parameters
Returns