Class ExecutionStatistics
java.lang.Object
com.azure.resourcemanager.datamigration.models.ExecutionStatistics
Description about the errors happen while performing migration validation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the cpuTimeMs property: CPU Time in millisecond(s) for the query execution.Get the elapsedTimeMs property: Time taken in millisecond(s) for executing the query.Get the executionCount property: No.Get the hasErrors property: Indicates whether the query resulted in an error.Get the sqlErrors property: List of sql Errors.void
validate()
Validates the instance.Get the waitStats property: Dictionary of sql query execution wait types and the respective statistics.withWaitStats
(Map<String, WaitStatistics> waitStats) Set the waitStats property: Dictionary of sql query execution wait types and the respective statistics.
-
Constructor Details
-
ExecutionStatistics
public ExecutionStatistics()Creates an instance of ExecutionStatistics class.
-
-
Method Details
-
executionCount
Get the executionCount property: No. of query executions.- Returns:
- the executionCount value.
-
cpuTimeMs
Get the cpuTimeMs property: CPU Time in millisecond(s) for the query execution.- Returns:
- the cpuTimeMs value.
-
elapsedTimeMs
Get the elapsedTimeMs property: Time taken in millisecond(s) for executing the query.- Returns:
- the elapsedTimeMs value.
-
waitStats
Get the waitStats property: Dictionary of sql query execution wait types and the respective statistics.- Returns:
- the waitStats value.
-
withWaitStats
Set the waitStats property: Dictionary of sql query execution wait types and the respective statistics.- Parameters:
waitStats
- the waitStats value to set.- Returns:
- the ExecutionStatistics object itself.
-
hasErrors
Get the hasErrors property: Indicates whether the query resulted in an error.- Returns:
- the hasErrors value.
-
sqlErrors
Get the sqlErrors property: List of sql Errors.- Returns:
- the sqlErrors value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-