|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.component.statistics.aggregator.AbstractBaseAggregator
org.torweg.pulse.component.statistics.aggregator.AbstractRegexVersionedPerVisitAggregator<T,U>
T - the AbstractRegexVersioned being processed by the
AbstractRegexVersionedPerVisitAggregatorU - the matching
AbstractRegexVersionedCounterAggregation<?,?>
for <T>public abstract class AbstractRegexVersionedPerVisitAggregator<T extends AbstractRegexVersioned,U extends AbstractRegexVersionedCounterAggregation<?,?>>
Passes the given Visit to <T> and stores the
result of the aggregation to <U> on a per
Visit basis.
Here on a per Visit basis means:
A Visit extending over two days (e.g. first PIRecord [2009.01.01
23:59:59:999], second PIRecord [2009.01.02 00:00:00:000]) will only be
aggregated once for - the first/start day of - the Visit.
| Constructor Summary | |
|---|---|
AbstractRegexVersionedPerVisitAggregator()
|
|
| Method Summary | |
|---|---|
void |
aggregate(Visit visit,
org.hibernate.Session s)
Aggregates information about the AbstractVersioned. |
protected abstract U |
getAbstractRegexVersionedCounterAggregation(T checkedAbstractRegexVersioned, Visit visit, Duration fullDay,
org.hibernate.Session s)
Tries to load a matching {@code AbstractRegexVersionCounterAggregation<? |
protected abstract java.lang.String |
getCheckValue(Visit visit)
Returns the string-value to be checked from the given Visit. |
protected abstract java.util.List<T> |
getKnownAbstractRegexVersioneds(org.hibernate.Session s)
Returns all the known AbstractRegexVersioneds of the type
<T>. |
protected abstract U |
getNewAbstractRegexVersionedCounterAggregation(T checkedAbstractRegexVersioned, Visit visit, Duration fullDay)
Returns a new {@code AbstractRegexVersionCounterAggregation<? |
protected abstract T |
getUnknownAbstractRegexVersioned(org.hibernate.Session s)
Returns the AbstractRegexVersioned of the type
<T> which represents the "unknown". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractRegexVersionedPerVisitAggregator()
| Method Detail |
|---|
public final void aggregate(Visit visit,
org.hibernate.Session s)
AbstractVersioned.
aggregate in class AbstractBaseAggregatorvisit - the Visit to be processeds - the current hibernateTM-Session#aggregate(org.torweg.pulse.component.statistics.model.Visit,
org.hibernate.Session,
org.torweg.pulse.component.statistics.DataAggregationJobletConfiguration)protected abstract java.util.List<T> getKnownAbstractRegexVersioneds(org.hibernate.Session s)
AbstractRegexVersioneds of the type
<T>.
s - the current HibernateTM-Session
List<AbstractRegexVersioned> of the type
<T>protected abstract java.lang.String getCheckValue(Visit visit)
Visit.
visit - the Visit
protected abstract T getUnknownAbstractRegexVersioned(org.hibernate.Session s)
AbstractRegexVersioned of the type
<T> which represents the "unknown".
s - the current HibernateTM-Session
AbstractRegexVersioned of the type
<T> which represents the "unknown"
protected abstract U getAbstractRegexVersionedCounterAggregation(T checkedAbstractRegexVersioned, Visit visit, Duration fullDay,
org.hibernate.Session s)
AbstractRegexVersionCounterAggregation<?,?> for the
given AbstractRegexVersioned of the type
<T>, the given Visit and the given
Duration.
checkedAbstractRegexVersioned - the AbstractRegexVersioned of the type
<T>visit - the VisitfullDay - the Durations - the current HibernateTM-Session
AbstractRegexVersionCounterAggregation<?,?> if
available, null otherwiseprotected abstract U getNewAbstractRegexVersionedCounterAggregation(T checkedAbstractRegexVersioned, Visit visit, Duration fullDay)
AbstractRegexVersionCounterAggregation<?,?> for the
given AbstractRegexVersioned of the type
<T>, the given Visit and the given
Duration.
checkedAbstractRegexVersioned - the AbstractRegexVersioned of the type
<T>visit - the VisitfullDay - the Duration
AbstractRegexVersionCounterAggregation<?,?>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||