Klasse AbstractSumAggregatorBucket<G>
java.lang.Object
de.uplanet.lucy.server.auxiliaries.chart.AbstractSumAggregatorBucket<G>
- Alle implementierten Schnittstellen:
IAggregatorBucket<G,de.uplanet.lucy.server.auxiliaries.chart.DoubleAggregatorDataPoint>
- Bekannte direkte Unterklassen:
SumByDateAggregatorBucket,SumByDoubleAggregatorBucket,SumByLongAggregatorBucket,SumByStringAggregatorBucket
public abstract class AbstractSumAggregatorBucket<G>
extends Object
implements IAggregatorBucket<G,de.uplanet.lucy.server.auxiliaries.chart.DoubleAggregatorDataPoint>
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic final classA list of row values. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdoubleGet the arithmetic mean of the recorded values recorded, or zero if no values have been recorded.doublegetMax()Get the maximum recorded value.doublegetMin()Get the minimum recorded value.doublegetSum()Get the sum of all recorded values, or zero if no values have been recorded.de.uplanet.lucy.server.auxiliaries.chart.DoubleAggregatorDataPointGet a row value from this bucket.Get a list of the row values in this bucket.booleanCheck if there exists a value for the given row.Von Klasse geerbte Methoden java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden de.uplanet.lucy.server.auxiliaries.chart.IAggregatorBucket
getGroupingValue
-
Methodendetails
-
getMin
public double getMin()Get the minimum recorded value.- Gibt zurück:
- The minimum recorded value.
-
getMax
public double getMax()Get the maximum recorded value.- Gibt zurück:
- The maximum recorded value.
-
getSum
public double getSum()Get the sum of all recorded values, or zero if no values have been recorded.- Gibt zurück:
- The sum of all recorded values.
-
getAverage
public double getAverage()Get the arithmetic mean of the recorded values recorded, or zero if no values have been recorded.- Gibt zurück:
- The average.
-
getValues
Beschreibung aus Schnittstelle kopiert:IAggregatorBucketGet a list of the row values in this bucket.- Angegeben von:
getValuesin SchnittstelleIAggregatorBucket<G,de.uplanet.lucy.server.auxiliaries.chart.DoubleAggregatorDataPoint> - Gibt zurück:
- The list of rows.
-
hasValue
Beschreibung aus Schnittstelle kopiert:IAggregatorBucketCheck if there exists a value for the given row.- Angegeben von:
hasValuein SchnittstelleIAggregatorBucket<G,de.uplanet.lucy.server.auxiliaries.chart.DoubleAggregatorDataPoint> - Parameter:
p_strRow- The name of the row.- Gibt zurück:
trueif there exists a value for the given row, orfalseotherwise.
-
getValue
Beschreibung aus Schnittstelle kopiert:IAggregatorBucketGet a row value from this bucket.- Angegeben von:
getValuein SchnittstelleIAggregatorBucket<G,de.uplanet.lucy.server.auxiliaries.chart.DoubleAggregatorDataPoint> - Parameter:
p_strRow- The name of the row.- Gibt zurück:
- The row, or
nullif the row does not exist.
-