public class FieldSumAgg extends FieldAggregator
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
fieldType
Constructor and Description |
---|
FieldSumAgg(DataType dataType) |
Modifier and Type | Method and Description |
---|---|
Object |
agg(Object accumulator,
Object inputField) |
Object |
retract(Object accumulator,
Object inputField) |
aggReversed, createFieldAggregator, reset
public static final String NAME
public FieldSumAgg(DataType dataType)
public Object agg(Object accumulator, Object inputField)
agg
in class FieldAggregator
public Object retract(Object accumulator, Object inputField)
retract
in class FieldAggregator
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.