QueryStatisticsInner Class

public final class QueryStatisticsInner
extends ProxyResource

The QueryStatistics model.

Method Summary

Modifier and Type Method and Description
String databaseName()

Get the databaseName property: Database name of the database in which this query was executed.

String endTime()

Get the endTime property: The end time for the metric (ISO-8601 format).

static QueryStatisticsInner fromJson(JsonReader jsonReader)

Reads an instance of QueryStatisticsInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

List<QueryMetricInterval> 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 queryId property: Unique query id (unique within one database).

String startTime()

Get the startTime property: The start time for the metric (ISO-8601 format).

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

databaseName

public String databaseName()

Get the databaseName property: Database name of the database in which this query was executed.

Returns:

the databaseName value.

endTime

public String endTime()

Get the endTime property: The end time for the metric (ISO-8601 format).

Returns:

the endTime value.

fromJson

public static QueryStatisticsInner fromJson(JsonReader jsonReader)

Reads an instance of QueryStatisticsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of QueryStatisticsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

QueryStatisticsInner.id()

Returns:

the id value.

intervals

public List<QueryMetricInterval> intervals()

Get the intervals property: List of intervals with appropriate metric data.

Returns:

the intervals value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

QueryStatisticsInner.name()

Returns:

the name value.

queryId

public String queryId()

Get the queryId property: Unique query id (unique within one database).

Returns:

the queryId value.

startTime

public String startTime()

Get the startTime property: The start time for the metric (ISO-8601 format).

Returns:

the startTime value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

QueryStatisticsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

QueryStatisticsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to