|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectibspan.tss.um.statistics.TmpStatisticsMap
public class TmpStatisticsMap
The structure containing up-to-date statistics about number of user
behaviours according to their type and objected concept. Each time, new
events come, statistics should be updated by update() method.
| Constructor Summary | |
|---|---|
TmpStatisticsMap()
|
|
| Method Summary | |
|---|---|
OntModel |
exportStatistics(OntModel model)
Exports data from temporary statistics map into model. |
int |
get(TmpStatisticsKey key)
Returns the number of events matching the key. |
static TmpStatisticsMap |
importStatistics(OntModel model)
Import statistics from the given model into map |
void |
update(List<ExtendedEvent> events)
Updates statistics with given events. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TmpStatisticsMap()
| Method Detail |
|---|
public static TmpStatisticsMap importStatistics(OntModel model)
throws com.ibm.adtech.jastor.JastorException
model - statistics model
com.ibm.adtech.jastor.JastorException
public OntModel exportStatistics(OntModel model)
throws com.ibm.adtech.jastor.JastorException
model - to model where statistics will be stored
com.ibm.adtech.jastor.JastorExceptionpublic int get(TmpStatisticsKey key)
null.
key - key for filtering
public void update(List<ExtendedEvent> events)
events - list of events
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||