public class AggregationResultValue extends ResultValue
ResultValue
-Klasse um zusätzliche Informationen für Aggregationen zu speichern (z.B. die Anzahl der aggregierten Werte zur Berechnung
von Mittelwerten. Bietet Methoden, um über strukturierte Datensätze zu iterieren.ResultValue.ResultValueOperation
Modifier and Type | Field and Description |
---|---|
(package private) AbstractAggregation |
_aggregation |
private int |
aggregationCount
Aggregationszähler.
|
private static long |
serialVersionUID |
_children, _value, INVALID_ID
Constructor and Description |
---|
AggregationResultValue() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(ResultValue right) |
static <T extends AggregationResultValue> |
create(ResultValue src,
java.util.function.Supplier<T> constructor,
AbstractAggregation<T> aggregation) |
void |
finish() |
int |
getAggregationCount()
Liefert den Wert des Aggregationszählers.
|
void |
incAggregationCount()
Erhöht den Aggregationszähler für dieses Objekt.
|
private void |
writeObject(java.io.ObjectOutputStream oos) |
cloneForAggregation, equals, getChildren, getValue, hasData, hashCode, isAtomar, isSummable, performOperation, set, toString, truncChildren
private static final long serialVersionUID
private int aggregationCount
AbstractAggregation _aggregation
public static <T extends AggregationResultValue> T create(ResultValue src, java.util.function.Supplier<T> constructor, AbstractAggregation<T> aggregation)
public void aggregate(ResultValue right)
public void incAggregationCount()
public int getAggregationCount()
public void finish()
private void writeObject(java.io.ObjectOutputStream oos) throws java.io.IOException
java.io.IOException