Class ResultStatistics

java.lang.Object
com.azure.resourcemanager.loganalytics.models.ResultStatistics
All Implemented Interfaces:
com.azure.json.JsonSerializable<ResultStatistics>

public final class ResultStatistics extends Object implements com.azure.json.JsonSerializable<ResultStatistics>
Search job execution statistics.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of ResultStatistics from the JsonReader.
    Get the ingestedRecords property: The number of rows that were returned by the search job.
    Get the progress property: Search job completion percentage.
    Get the scannedGb property: Search job: Amount of scanned data.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • progress

      public Double progress()
      Get the progress property: Search job completion percentage.
      Returns:
      the progress value.
    • ingestedRecords

      public Integer ingestedRecords()
      Get the ingestedRecords property: The number of rows that were returned by the search job.
      Returns:
      the ingestedRecords value.
    • scannedGb

      public Double scannedGb()
      Get the scannedGb property: Search job: Amount of scanned data.
      Returns:
      the scannedGb value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ResultStatistics>
      Throws:
      IOException
    • fromJson

      public static ResultStatistics fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ResultStatistics from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ResultStatistics if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ResultStatistics.