TopQueriesInner Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. TopQueriesInner
- com.
Implements
public final class TopQueriesInner
implements JsonSerializable<TopQueriesInner>
The TopQueries model.
Constructor Summary
Constructor | Description |
---|---|
TopQueriesInner() |
Creates an instance of Top |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
aggregationFunction()
Get the aggregation |
String |
endTime()
Get the end |
static
Top |
fromJson(JsonReader jsonReader)
Reads an instance of Top |
Query |
intervalType()
Get the interval |
Integer |
numberOfQueries()
Get the number |
String |
observationMetric()
Get the observation |
List<Query |
queries()
Get the queries property: List of top resource consuming queries with appropriate metric data. |
String |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Top |
withQueries(List<QueryStatisticsProperties> queries)
Set the queries property: List of top resource consuming queries with appropriate metric data. |
Methods inherited from java.lang.Object
Constructor Details
TopQueriesInner
public TopQueriesInner()
Creates an instance of TopQueriesInner class.
Method Details
aggregationFunction
public String aggregationFunction()
Get the aggregationFunction property: Aggregation function used to calculate query metrics.
Returns:
endTime
public String endTime()
Get the endTime property: The end time for the metric (ISO-8601 format).
Returns:
fromJson
public static TopQueriesInner fromJson(JsonReader jsonReader)
Reads an instance of TopQueriesInner from the JsonReader.
Parameters:
Returns:
Throws:
intervalType
public QueryTimeGrainType intervalType()
Get the intervalType property: Interval type (length).
Returns:
numberOfQueries
public Integer numberOfQueries()
Get the numberOfQueries property: Requested number of top queries.
Returns:
observationMetric
public String observationMetric()
Get the observationMetric property: Metric used to rank queries.
Returns:
queries
public List
Get the queries property: List of top resource consuming queries with appropriate metric data.
Returns:
startTime
public String startTime()
Get the startTime property: The start time for the metric (ISO-8601 format).
Returns:
toJson
validate
public void validate()
Validates the instance.
withQueries
public TopQueriesInner withQueries(List
Set the queries property: List of top resource consuming queries with appropriate metric data.
Parameters:
Returns:
Applies to
Azure SDK for Java