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.boolean
isGroupValueWasNull()
Check if anull
grouping value (time of the observation) has been passed to this aggregator.boolean
isIgnoreIfGroupingValueIsNull()
boolean
isIgnoreIfRowValueIsNull()
boolean
isIgnoreIfValueIsNull()
boolean
isMapNullValueToDefault()
boolean
isRowValueWasNull()
Check if anull
row value has been passed to this aggregator.boolean
isValueWasNull()
Check if anull
value has been passed to this aggregator.void
setCaseInsensitiveRowComparator()
Set a case-insensitive comparator for rows.void
setCaseSensitiveRowComparator()
Set a case-sensitive comparator for rows.void
setIgnoreIfGroupingValueIsNull(boolean p_bIgnoreIfGroupingValueIsNull)
void
setIgnoreIfRowValueIsNull(boolean p_bIgnoreIfRowValueIsNull)
void
setIgnoreIfValueIsNull(boolean p_bIgnoreIfValueIsNull)
void
setMapNullValueToDefault(boolean p_bMapNullValueToDefault)
void
setRowComparator(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,
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 anull
grouping value (time of the observation) has been passed to this aggregator.- Returns:
true
if anull
grouping value has been passed to this aggregator, orfalse
otherwise.
-
isRowValueWasNull
public boolean isRowValueWasNull()
Check if anull
row value has been passed to this aggregator.- Returns:
true
if anull
row value has been passed to this aggregator, orfalse
otherwise.
-
isValueWasNull
public boolean isValueWasNull()
Check if anull
value has been passed to this aggregator.- Returns:
true
if anull
value has been passed to this aggregator, orfalse
otherwise.
-
-