Interface Statistics.Builder

  • Method Details

    • autoCompute

      Statistics.Builder autoCompute(Boolean autoCompute)

      Indicates whether or not automatic statistics generation is enabled.

      Parameters:
      autoCompute - Indicates whether or not automatic statistics generation is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • active

      Statistics.Builder active(Boolean active)

      Indicates whether or not DFE statistics generation is enabled at all.

      Parameters:
      active - Indicates whether or not DFE statistics generation is enabled at all.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statisticsId

      Statistics.Builder statisticsId(String statisticsId)

      Reports the ID of the current statistics generation run. A value of -1 indicates that no statistics have been generated.

      Parameters:
      statisticsId - Reports the ID of the current statistics generation run. A value of -1 indicates that no statistics have been generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • date

      The UTC time at which DFE statistics have most recently been generated.

      Parameters:
      date - The UTC time at which DFE statistics have most recently been generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • note

      A note about problems in the case where statistics are invalid.

      Parameters:
      note - A note about problems in the case where statistics are invalid.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signatureInfo

      Statistics.Builder signatureInfo(StatisticsSummary signatureInfo)

      A StatisticsSummary structure that contains:

      • signatureCount - The total number of signatures across all characteristic sets.

      • instanceCount - The total number of characteristic-set instances.

      • predicateCount - The total number of unique predicates.

      Parameters:
      signatureInfo - A StatisticsSummary structure that contains:

      • signatureCount - The total number of signatures across all characteristic sets.

      • instanceCount - The total number of characteristic-set instances.

      • predicateCount - The total number of unique predicates.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signatureInfo

      default Statistics.Builder signatureInfo(Consumer<StatisticsSummary.Builder> signatureInfo)

      A StatisticsSummary structure that contains:

      • signatureCount - The total number of signatures across all characteristic sets.

      • instanceCount - The total number of characteristic-set instances.

      • predicateCount - The total number of unique predicates.

      This is a convenience method that creates an instance of the StatisticsSummary.Builder avoiding the need to create one manually via StatisticsSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to signatureInfo(StatisticsSummary).

      Parameters:
      signatureInfo - a consumer that will call methods on StatisticsSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: