CustomEventAggregatble
Package: velox.api.layer1.layers.strategies.interfaces
Type: Interface
Description​
Describes rules of aggregation of custom events
Methods​
getInitialValue​
CustomGeneratedEvent getInitialValue(long t)
Returns: Event representing aggregation of 0 objects with time t, of type described in GeneratedEventInfo.aggregationClass
aggregateAggregationWithAggregation​
void aggregateAggregationWithAggregation(CustomGeneratedEvent aggregation1, CustomGeneratedEvent aggregation2)
Aggregates aggregation1 with aggregation 2, modifying aggregation1
Parameters:
aggregation1- Of type described inGeneratedEventInfo.aggregationClassaggregation2- Of type described inGeneratedEventInfo.aggregationClass
aggregateAggregationWithValue​
void aggregateAggregationWithValue(CustomGeneratedEvent aggregation, CustomGeneratedEvent value)
Aggregates aggregation with value, modifying aggregation
Parameters:
aggregation- Of type described inGeneratedEventInfo.aggregationClassvalue- Of type described inGeneratedEventInfo.valueClass