- virtual void accumulate(NzaeAggregate &api, NzaeRecord &input, NzaeRecord
&state)=0
- Modifies the state based on input.
- Parameters
- NzaeAggregate api
- The aggregate object.
- NzaeRecord input
- The input record.
- NzaeRecord state
- The state record.
Accumulate into state from input.
See also:
- virtual void finalResult(NzaeAggregate &api, NzaeRecord &inputState, NzaeRecord
&result)=0
- Sets the final result based on the input state.
- Parameters
- NzaeAggregate api
- The aggregate object.
- NzaeRecord inputState
- The input state record.
- NzaeRecord result
- The result record.
Provides the result from inputState. The final result record may contain only one field.
- virtual void initializeState(NzaeAggregate &api, NzaeRecord &state)=0
- Initializes the state.
- Parameters
- NzaeAggregate api
- The aggregate object.
- NzaeRecord state
- The state record.
Initializes the state object before processing.
- virtual void merge(NzaeAggregate &api, NzaeRecord &inputState, NzaeRecord
&state)=0
- Merges the specified input state into state.
- Parameters
- NzaeAggregate api
- The aggregate object.
- NzaeRecord inputState
- The input state record.
- NzaeRecord state
- The state record.
Merge from inputState into state.
- virtual ~NzaeAggregateMessageHandler()
- This class holds API objects.