Class Measure
- Inheritance
-
Measure
- Implements
-
- Inherited Members
-
Represents a measure definition in a Databricks Metric View
public class Measure : MetricViewObjectBase, IMetricViewObject, IMetricViewNamedObject
- Extension Methods
-
Properties
Description of the measure. Requires version 1.1+.
[MinVersion("1.1")]
public string? Comment { get; set; }
Property Value
Human-readable display name. Requires version 1.1+.
[MinVersion("1.1")]
public string? DisplayName { get; set; }
Property Value
Aggregate SQL expression that defines the measure
public required string Expr { get; set; }
Property Value
Display format specification. Requires version 1.1+.
[MinVersion("1.1")]
public Format? Format { get; set; }
Property Value
public required string Name { get; set; }
Property Value
public override string Path { get; }
Property Value
Alternative names for AI/search. Requires version 1.1+.
[MinVersion("1.1")]
public List<string>? Synonyms { get; set; }
Property Value
Window specifications for windowed, cumulative, or semiadditive aggregations.
Requires version 1.1+. This is an experimental feature.
[MinVersion("1.1")]
public List<Window>? Window { get; set; }
Property Value
Methods
Deletes this object from its parent collection.
After deletion, the object becomes a zombie (IsDeleted=true, View=null).
public override void Delete()
Exceptions
- InvalidOperationException
Thrown if the object is not attached to a View or is already deleted.
public string WindowPath(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
Returns