QueryStatisticsInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. QueryStatisticsInner
- com.
- com.
public final class QueryStatisticsInner
extends ProxyResource
The QueryStatistics model.
Constructor Summary
Constructor | Description |
---|---|
QueryStatisticsInner() |
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 |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
List<Query |
intervals()
Get the intervals property: List of intervals with appropriate metric data. |
String |
name()
Get the name property: The name of the resource. |
String |
queryId()
Get the query |
String |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Query |
withIntervals(List<QueryMetricInterval> intervals)
Set the intervals property: List of intervals with appropriate metric data. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
QueryStatisticsInner
public QueryStatisticsInner()
Creates an instance of QueryStatisticsInner 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 QueryStatisticsInner fromJson(JsonReader jsonReader)
Reads an instance of QueryStatisticsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
QueryStatisticsInner.id()Returns:
intervals
public List
Get the intervals property: List of intervals with appropriate metric data.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
QueryStatisticsInner.name()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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
QueryStatisticsInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
QueryStatisticsInner.type()Returns:
validate
public void validate()
Validates the instance.
withIntervals
public QueryStatisticsInner withIntervals(List
Set the intervals property: List of intervals with appropriate metric data.
Parameters:
Returns:
Applies to
Azure SDK for Java