QueryStatisticsProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. QueryStatisticsProperties
- com.
Implements
public final class QueryStatisticsProperties
implements JsonSerializable<QueryStatisticsProperties>
Properties of a query execution statistics.
Constructor Summary
Constructor | Description |
---|---|
QueryStatisticsProperties() |
Creates an instance of Query |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
databaseName()
Get the database |
String |
endTime()
Get the end |
static
Query |
fromJson(JsonReader jsonReader)
Reads an instance of Query |
List<Query |
intervals()
Get the intervals property: List of intervals with appropriate metric data. |
String |
queryId()
Get the query |
String |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Query |
withIntervals(List<QueryMetricInterval> intervals)
Set the intervals property: List of intervals with appropriate metric data. |
Methods inherited from java.lang.Object
Constructor Details
QueryStatisticsProperties
public QueryStatisticsProperties()
Creates an instance of QueryStatisticsProperties class.
Method Details
databaseName
public String databaseName()
Get the databaseName property: Database name of the database in which this query was executed.
Returns:
endTime
public String endTime()
Get the endTime property: The end time for the metric (ISO-8601 format).
Returns:
fromJson
public static QueryStatisticsProperties fromJson(JsonReader jsonReader)
Reads an instance of QueryStatisticsProperties from the JsonReader.
Parameters:
Returns:
Throws:
intervals
public List
Get the intervals property: List of intervals with appropriate metric data.
Returns:
queryId
public String queryId()
Get the queryId property: Unique query id (unique within one database).
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.
withIntervals
public QueryStatisticsProperties withIntervals(List
Set the intervals property: List of intervals with appropriate metric data.
Parameters:
Returns:
Applies to
Azure SDK for Java