Class ExecutionStatistics

java.lang.Object
com.azure.resourcemanager.datamigration.models.ExecutionStatistics

public final class ExecutionStatistics extends Object
Description about the errors happen while performing migration validation.
  • Constructor Details

    • ExecutionStatistics

      public ExecutionStatistics()
      Creates an instance of ExecutionStatistics class.
  • Method Details

    • executionCount

      public Long executionCount()
      Get the executionCount property: No. of query executions.
      Returns:
      the executionCount value.
    • cpuTimeMs

      public Float cpuTimeMs()
      Get the cpuTimeMs property: CPU Time in millisecond(s) for the query execution.
      Returns:
      the cpuTimeMs value.
    • elapsedTimeMs

      public Float elapsedTimeMs()
      Get the elapsedTimeMs property: Time taken in millisecond(s) for executing the query.
      Returns:
      the elapsedTimeMs value.
    • waitStats

      public Map<String,WaitStatistics> waitStats()
      Get the waitStats property: Dictionary of sql query execution wait types and the respective statistics.
      Returns:
      the waitStats value.
    • withWaitStats

      public ExecutionStatistics withWaitStats(Map<String,WaitStatistics> waitStats)
      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

      public Boolean hasErrors()
      Get the hasErrors property: Indicates whether the query resulted in an error.
      Returns:
      the hasErrors value.
    • sqlErrors

      public List<String> 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.