Interface ContentStats


public interface ContentStats
  • Method Details

    • fieldStats

      Iterable<FieldStats<?>> fieldStats()
      Returns an iterable of the FieldStats held by this container struct
    • statsFor

      <T> FieldStats<T> statsFor(int fieldId)
      Returns a FieldStats instance holding field stats for the given field ID.
      Type Parameters:
      T - The type of the underlying FieldStats instance.
      Parameters:
      fieldId - The field ID to retrieve FieldStats for
      Returns:
      A FieldStats instance holding field stats for the given field ID.
    • type

      Container struct type containing tracked field-level stats structs.
    • copy

      ContentStats copy()
      Returns a deep copy with all field stats.
    • copy

      ContentStats copy(Set<Integer> fieldIds)
      Returns a deep copy, with only the selected field stats structs by ID.