public class Aggregator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AGGR_APPEND |
static int |
AGGR_AVG |
static int |
AGGR_COUNT |
static int |
AGGR_END |
static int |
AGGR_FIRST |
static int |
AGGR_JOIN |
static int |
AGGR_LAST |
static int |
AGGR_MAX |
static int |
AGGR_MERGE |
static int |
AGGR_MIN |
static int |
AGGR_NONE |
static int |
AGGR_STD |
static int |
AGGR_SUM |
static int |
AGGR_UNION |
static int |
AGGR_XUNION |
Constructor and Description |
---|
Aggregator(java.lang.String name,
java.util.List list) |
Modifier and Type | Method and Description |
---|---|
int |
aggregate(long currentTime,
java.util.Map report,
java.util.Map rpt)
It aggregates the incoming data report with the aggregation report
according to the aggregation options.
|
Browser |
browser() |
void |
clear() |
boolean |
containsKey(java.lang.String key) |
protected void |
finalize() |
java.lang.String |
getKey(int id) |
java.lang.String |
getName() |
int |
getSize() |
int |
initialize(long currentTime,
java.util.Map report,
java.util.Map rpt)
It initializes the aggregation report and aggregates the fisrt incoming
report according to the aggregation operations.
|
public static final int AGGR_NONE
public static final int AGGR_COUNT
public static final int AGGR_SUM
public static final int AGGR_MIN
public static final int AGGR_MAX
public static final int AGGR_APPEND
public static final int AGGR_FIRST
public static final int AGGR_LAST
public static final int AGGR_AVG
public static final int AGGR_STD
public static final int AGGR_MERGE
public static final int AGGR_UNION
public static final int AGGR_XUNION
public static final int AGGR_JOIN
public static final int AGGR_END
public int initialize(long currentTime, java.util.Map report, java.util.Map rpt)
public int aggregate(long currentTime, java.util.Map report, java.util.Map rpt)
public java.lang.String getName()
public int getSize()
public boolean containsKey(java.lang.String key)
public java.lang.String getKey(int id)
public Browser browser()
public void clear()
protected void finalize()
finalize
in class java.lang.Object