Class AbstractNumberAggregator<R,T extends AbstractSumAggregatorBucket<? extends R>>

java.lang.Object
de.uplanet.lucy.server.auxiliaries.chart.AbstractNumberAggregator<R,T>
Direct Known Subclasses:
NumberByDateAggregator, NumberByDoubleAggregator, NumberByLongAggregator, NumberByStringAggregator

public abstract class AbstractNumberAggregator<R,T extends AbstractSumAggregatorBucket<? extends R>> extends Object
  • Method Details

    • isIgnoreIfGroupingValueIsNull

      public boolean isIgnoreIfGroupingValueIsNull()
    • setIgnoreIfGroupingValueIsNull

      public void setIgnoreIfGroupingValueIsNull(boolean p_bIgnoreIfGroupingValueIsNull)
    • isIgnoreIfRowValueIsNull

      public boolean isIgnoreIfRowValueIsNull()
    • setIgnoreIfRowValueIsNull

      public void setIgnoreIfRowValueIsNull(boolean p_bIgnoreIfRowValueIsNull)
    • isIgnoreIfValueIsNull

      public boolean isIgnoreIfValueIsNull()
    • setIgnoreIfValueIsNull

      public void setIgnoreIfValueIsNull(boolean p_bIgnoreIfValueIsNull)
    • isMapNullValueToDefault

      public boolean isMapNullValueToDefault()
    • setMapNullValueToDefault

      public void setMapNullValueToDefault(boolean p_bMapNullValueToDefault)
    • setCaseSensitiveRowComparator

      public void setCaseSensitiveRowComparator()
      Set a case-sensitive comparator for rows.

      Actually this methods sets the comparator to null.

    • setCaseInsensitiveRowComparator

      public void setCaseInsensitiveRowComparator()
      Set a case-insensitive comparator for rows.
    • getRowComparator

      public Comparator<String> getRowComparator()
      Get the currently set comparator for rows.
      Returns:
      The comparator, null if row comparison is case-sensitive.
    • setRowComparator

      public void setRowComparator(Comparator<String> p_rowComparator)
      Set a comparator for rows.
      Parameters:
      p_rowComparator - The comparator.
    • isGroupValueWasNull

      public boolean isGroupValueWasNull()
      Check if a null grouping value (time of the observation) has been passed to this aggregator.
      Returns:
      true if a null grouping value has been passed to this aggregator, or false otherwise.
    • isRowValueWasNull

      public boolean isRowValueWasNull()
      Check if a null row value has been passed to this aggregator.
      Returns:
      true if a null row value has been passed to this aggregator, or false otherwise.
    • isValueWasNull

      public boolean isValueWasNull()
      Check if a null value has been passed to this aggregator.
      Returns:
      true if a null value has been passed to this aggregator, or false otherwise.
    • getAggregatedValues

      public abstract List<T> getAggregatedValues()