public interface Aggregator
extends java.io.Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
Aggregator.Op |
static class |
Aggregator.TupleMapIterator
TupleMapIterator is class which converts HashMap < Field, Tuple >
to a DbIterator.
|
Modifier and Type | Field and Description |
---|---|
static int |
NO_GROUPING |
static Field |
noGroupField |
Modifier and Type | Method and Description |
---|---|
DbIterator |
iterator()
Create a DbIterator over group aggregate results.
|
void |
mergeTupleIntoGroup(Tuple tup)
Merge a new tuple into the aggregate for a distinct group value;
creates a new group aggregate result if the group value has not yet
been encountered.
|
static final int NO_GROUPING
static final Field noGroupField
void mergeTupleIntoGroup(Tuple tup)
tup
- the Tuple containing an aggregate field and a group-by fieldDbIterator iterator()
for a possible helper