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
Modifier and TypeMethodDescriptionGet the currently set comparator for rows.boolean
Check if anull
grouping value (time of the observation) has been passed to this aggregator.boolean
boolean
boolean
boolean
boolean
Check if anull
row value has been passed to this aggregator.boolean
Check if anull
value has been passed to this aggregator.void
Set a case-insensitive comparator for rows.void
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 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
Get the currently set comparator for rows.- Returns:
- The comparator,
null
if row comparison is case-sensitive.
-
setRowComparator
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.
-
getAggregatedValues
-