EventAggregationEffectGroup

EventAggregationEffectGroup(key, effects)
Group of effects with the same space, event schema, affected schema and affecting schema.

Parameters

key
GroupKey[AggregationInputT, EmbeddingInputT]
required
The group key that defines the grouping criteria.
effects
Sequence[EffectWithReferencedSchemaObject]
required
The sequence of effects that belong to this group.

Inheritance

Inheritance Chain:
  • EventAggregationEffectGroup
  • Generic

Properties

effects
Sequence[EffectWithReferencedSchemaObject]
The collection of effects in this group.
key
GroupKey[AggregationInputT, EmbeddingInputT]
The key that defines how effects are grouped together.

Static Methods

group_by_event_and_affecting_schema()

group_by_event_and_affecting_schema(effects) -> list[EventAggregationEffectGroup[AggregationInputT, EmbeddingInputT]]
effects
Sequence[EffectWithReferencedSchemaObject[AggregationInputT, EmbeddingInputT]]
required
The effects to group.
Returns: list[EventAggregationEffectGroup[AggregationInputT, EmbeddingInputT]] - The grouped effects.

GroupKey

GroupKey(event_schema, resolved_affected_schema_reference, resolved_affecting_schema, resolved_affecting_reference_field)

Parameters

event_schema
EventSchemaObject
required
The event schema for this group key.
resolved_affected_schema_reference
ResolvedSchemaReference
required
The resolved schema reference for the affected schema.
resolved_affecting_schema
IdSchemaObject
required
The resolved affecting schema object.
resolved_affecting_reference_field
SchemaReference
required
The resolved affecting reference field.

Inheritance

Inheritance Chain:
  • GroupKey
  • Generic

Properties

affected_schema_object_reference
SchemaObjectReference
Reference to the affected schema object.
affecting_schema_object_reference
SchemaObjectReference
Reference to the affecting schema object.
event_schema
EventSchemaObject
The event schema associated with this key.
resolved_affected_schema_reference
ResolvedSchemaReference
The resolved reference for the affected schema.
resolved_affecting_reference_field
SchemaReference
The resolved field reference for the affecting schema.
resolved_affecting_schema
IdSchemaObject
The resolved affecting schema object.