Interface FieldStats<T>


public interface FieldStats<T>
  • Method Details

    • fieldId

      int fieldId()
      The field ID of the statistic
    • type

      Struct type describing the stats tracked for the field identified by fieldId().

      Note: This type may be a projection of the stats stored in manifest files.

    • lowerBound

      T lowerBound()
      The lower bound
    • upperBound

      T upperBound()
      The upper bound
    • tightBounds

      boolean tightBounds()
      Whether lowerBound() and upperBound() are equal to the min and max values for the column.
    • hasValueCount

      boolean hasValueCount()
      Whether a value count is tracked for this field.
    • valueCount

      long valueCount()
      The total value count, including null and NaN, defined only when hasValueCount().
    • hasNullValueCount

      boolean hasNullValueCount()
      Whether a null value count is tracked for this field.
    • nullValueCount

      long nullValueCount()
      The total null value count, defined only when hasNullValueCount().
    • hasNanValueCount

      boolean hasNanValueCount()
      Whether a NaN value count is tracked for this field.
    • nanValueCount

      long nanValueCount()
      The total NaN value count, defined only when hasNanValueCount().
    • avgValueSizeInBytes

      Integer avgValueSizeInBytes()
      The avg value size in memory (uncompressed) in bytes for variable-length types (string, binary, variant, geometry, geography)
    • copy

      FieldStats<T> copy()
      Returns a copy of this FieldStats.