Class QueryStatisticsProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.QueryStatisticsProperties
Properties of a query execution statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of QueryStatisticsProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the databaseName property: Database name of the database in which this query was executed.endTime()Get the endTime property: The end time for the metric (ISO-8601 format).Get the intervals property: List of intervals with appropriate metric data.queryId()Get the queryId property: Unique query id (unique within one database).Get the startTime property: The start time for the metric (ISO-8601 format).voidvalidate()Validates the instance.withIntervals(List<QueryMetricInterval> intervals) Set the intervals property: List of intervals with appropriate metric data.
-
Constructor Details
-
QueryStatisticsProperties
public QueryStatisticsProperties()Creates an instance of QueryStatisticsProperties class.
-
-
Method Details
-
databaseName
Get the databaseName property: Database name of the database in which this query was executed.- Returns:
- the databaseName value.
-
queryId
Get the queryId property: Unique query id (unique within one database).- Returns:
- the queryId value.
-
startTime
Get the startTime property: The start time for the metric (ISO-8601 format).- Returns:
- the startTime value.
-
endTime
Get the endTime property: The end time for the metric (ISO-8601 format).- Returns:
- the endTime value.
-
intervals
Get the intervals property: List of intervals with appropriate metric data.- Returns:
- the intervals value.
-
withIntervals
Set the intervals property: List of intervals with appropriate metric data.- Parameters:
intervals- the intervals value to set.- Returns:
- the QueryStatisticsProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-