Skip to main content

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 in GeneratedEventInfo.aggregationClass
  • aggregation2 - Of type described in GeneratedEventInfo.aggregationClass

aggregateAggregationWithValue​

void aggregateAggregationWithValue(CustomGeneratedEvent aggregation, CustomGeneratedEvent value)

Aggregates aggregation with value, modifying aggregation

Parameters:

  • aggregation - Of type described in GeneratedEventInfo.aggregationClass
  • value - Of type described in GeneratedEventInfo.valueClass