QueryMetricProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. QueryMetricProperties
- com.
Implements
public final class QueryMetricProperties
implements JsonSerializable<QueryMetricProperties>
Properties of a topquery metric in one interval.
Constructor Summary
Constructor | Description |
---|---|
QueryMetricProperties() |
Creates an instance of Query |
Method Summary
Modifier and Type | Method and Description |
---|---|
Double |
avg()
Get the avg property: Metric value when avg() aggregate function is used over the interval. |
String |
displayName()
Get the display |
static
Query |
fromJson(JsonReader jsonReader)
Reads an instance of Query |
Double |
max()
Get the max property: Metric value when max() aggregate function is used over the interval. |
Double |
min()
Get the min property: Metric value when min() aggregate function is used over the interval. |
String |
name()
Get the name property: The name information for the metric. |
Double |
stdev()
Get the stdev property: Metric value when stdev aggregate function is used over the interval. |
Double |
sum()
Get the sum property: Metric value when sum() aggregate function is used over the interval. |
Json |
toJson(JsonWriter jsonWriter) |
Query |
unit()
Get the unit property: The unit of the metric. |
void |
validate()
Validates the instance. |
Double |
value()
Get the value property: The value of the metric. |
Methods inherited from java.lang.Object
Constructor Details
QueryMetricProperties
public QueryMetricProperties()
Creates an instance of QueryMetricProperties class.
Method Details
avg
public Double avg()
Get the avg property: Metric value when avg() aggregate function is used over the interval.
Returns:
displayName
public String displayName()
Get the displayName property: The UI appropriate name for the metric.
Returns:
fromJson
public static QueryMetricProperties fromJson(JsonReader jsonReader)
Reads an instance of QueryMetricProperties from the JsonReader.
Parameters:
Returns:
Throws:
max
public Double max()
Get the max property: Metric value when max() aggregate function is used over the interval.
Returns:
min
public Double min()
Get the min property: Metric value when min() aggregate function is used over the interval.
Returns:
name
public String name()
Get the name property: The name information for the metric.
Returns:
stdev
public Double stdev()
Get the stdev property: Metric value when stdev aggregate function is used over the interval.
Returns:
sum
public Double sum()
Get the sum property: Metric value when sum() aggregate function is used over the interval.
Returns:
toJson
unit
public QueryMetricUnitType unit()
Get the unit property: The unit of the metric.
Returns:
validate
public void validate()
Validates the instance.
value
public Double value()
Get the value property: The value of the metric.
Returns:
Applies to
Azure SDK for Java