public class EventSummary extends java.lang.Object implements EventMerger
Modifier and Type | Field and Description |
---|---|
static int |
AGGR_AVG |
static int |
AGGR_COUNT |
static int |
AGGR_FIRST |
static int |
AGGR_LAST |
static int |
AGGR_MAX |
static int |
AGGR_MIN |
static int |
AGGR_SUM |
Constructor and Description |
---|
EventSummary(java.util.Map props) |
Modifier and Type | Method and Description |
---|---|
void |
close()
closeis and cleans up all the resources
|
protected void |
finalize() |
java.lang.String |
getName()
returns the name of the merger
|
Event |
merge(long currentTime,
Event[] eventGroup)
merges the set of events into a new event
|
public static final int AGGR_MIN
public static final int AGGR_MAX
public static final int AGGR_SUM
public static final int AGGR_AVG
public static final int AGGR_FIRST
public static final int AGGR_LAST
public static final int AGGR_COUNT
public Event merge(long currentTime, Event[] eventGroup)
EventMerger
merge
in interface EventMerger
public java.lang.String getName()
EventMerger
getName
in interface EventMerger
public void close()
EventMerger
close
in interface EventMerger
protected void finalize()
finalize
in class java.lang.Object