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 Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<T>getAggregatedValues()Comparator<String>getRowComparator()Get the currently set comparator for rows.booleanisGroupValueWasNull()Check if anullgrouping value (time of the observation) has been passed to this aggregator.booleanisIgnoreIfGroupingValueIsNull()booleanisIgnoreIfRowValueIsNull()booleanisIgnoreIfValueIsNull()booleanisMapNullValueToDefault()booleanisRowValueWasNull()Check if anullrow value has been passed to this aggregator.booleanisValueWasNull()Check if anullvalue has been passed to this aggregator.voidsetCaseInsensitiveRowComparator()Set a case-insensitive comparator for rows.voidsetCaseSensitiveRowComparator()Set a case-sensitive comparator for rows.voidsetIgnoreIfGroupingValueIsNull(boolean p_bIgnoreIfGroupingValueIsNull)voidsetIgnoreIfRowValueIsNull(boolean p_bIgnoreIfRowValueIsNull)voidsetIgnoreIfValueIsNull(boolean p_bIgnoreIfValueIsNull)voidsetMapNullValueToDefault(boolean p_bMapNullValueToDefault)voidsetRowComparator(Comparator<String> p_rowComparator)Set a comparator for rows.
-
-
-
Method Detail
-
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,
nullif 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 anullgrouping value (time of the observation) has been passed to this aggregator.- Returns:
trueif anullgrouping value has been passed to this aggregator, orfalseotherwise.
-
isRowValueWasNull
public boolean isRowValueWasNull()
Check if anullrow value has been passed to this aggregator.- Returns:
trueif anullrow value has been passed to this aggregator, orfalseotherwise.
-
isValueWasNull
public boolean isValueWasNull()
Check if anullvalue has been passed to this aggregator.- Returns:
trueif anullvalue has been passed to this aggregator, orfalseotherwise.
-
-