Interface QueryStatistics.Builder

  • Method Details

    • recordsMatched

      QueryStatistics.Builder recordsMatched(Double recordsMatched)

      The number of log events that matched the query string.

      Parameters:
      recordsMatched - The number of log events that matched the query string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordsScanned

      QueryStatistics.Builder recordsScanned(Double recordsScanned)

      The total number of log events scanned during the query.

      Parameters:
      recordsScanned - The total number of log events scanned during the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedRecordsSkipped

      QueryStatistics.Builder estimatedRecordsSkipped(Double estimatedRecordsSkipped)

      An estimate of the number of log events that were skipped when processing this query, because the query contained an indexed field. Skipping these entries lowers query costs and improves the query performance time. For more information about field indexes, see PutIndexPolicy.

      Parameters:
      estimatedRecordsSkipped - An estimate of the number of log events that were skipped when processing this query, because the query contained an indexed field. Skipping these entries lowers query costs and improves the query performance time. For more information about field indexes, see PutIndexPolicy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bytesScanned

      QueryStatistics.Builder bytesScanned(Double bytesScanned)

      The total number of bytes in the log events scanned during the query.

      Parameters:
      bytesScanned - The total number of bytes in the log events scanned during the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedBytesSkipped

      QueryStatistics.Builder estimatedBytesSkipped(Double estimatedBytesSkipped)

      An estimate of the number of bytes in the log events that were skipped when processing this query, because the query contained an indexed field. Skipping these entries lowers query costs and improves the query performance time. For more information about field indexes, see PutIndexPolicy.

      Parameters:
      estimatedBytesSkipped - An estimate of the number of bytes in the log events that were skipped when processing this query, because the query contained an indexed field. Skipping these entries lowers query costs and improves the query performance time. For more information about field indexes, see PutIndexPolicy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupsScanned

      QueryStatistics.Builder logGroupsScanned(Double logGroupsScanned)

      The number of log groups that were scanned by this query.

      Parameters:
      logGroupsScanned - The number of log groups that were scanned by this query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.