Class AbstractContinuousStatistics<T extends Number & Comparable<? super T>>

java.lang.Object
com.pervasive.datarush.analytics.stats.AbstractContinuousStatistics<T>
Direct Known Subclasses:
BigContinuousStatistics, ContinuousStatistics

public abstract class AbstractContinuousStatistics<T extends Number & Comparable<? super T>> extends Object
  • Field Details

  • Constructor Details

    • AbstractContinuousStatistics

      public AbstractContinuousStatistics()
  • Method Details

    • getIntervalCounts

      Returns a mapping from interval to the counts for the given interval.
      Returns:
      a mapping from interval to the counts for the given interval.
    • setIntervalCounts

      public void setIntervalCounts(Map<Interval<T>,AbstractContinuousStatistics.IntervalCounts<T>> intMap)
      Sets a mapping from interval to the counts for the given interval.
      Parameters:
      intMap - a mapping from interval to the counts for the given interval.
    • getTotalValuesSum

      public T getTotalValuesSum()
      Returns the sum of the values of the field.
      Returns:
      the sum of the values of the field.
    • setTotalValuesSum

      public void setTotalValuesSum(T totalValuesSum)
      Sets the sum of the values of the field
      Parameters:
      totalValuesSum - the sum of the values of the field.
    • getTotalSquaresSum

      public T getTotalSquaresSum()
      Returns the sum of the squares of the values of the field.
      Returns:
      the sum of the squares of the values of the field.
    • setTotalSquaresSum

      public void setTotalSquaresSum(T totalSquaresSum)
      Sets the sum of the squares of the values of the field.
      Parameters:
      totalSquaresSum - the sum of the squares of the values of the field.
    • getNumericType

      public Class<?> getNumericType()