Class GrpcEventTransformation
- java.lang.Object
-
- io.axoniq.axonserver.connector.event.transformation.impl.grpc.GrpcEventTransformation
-
- All Implemented Interfaces:
EventTransformation
public class GrpcEventTransformation extends Object implements EventTransformation
Implementation ofEventTransformationthat wraps a Proto message representing the transformation, and uses it to provide the requested details.- Since:
- 2023.1.0
- Author:
- Sara Pellegrini
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.axoniq.axonserver.connector.event.transformation.EventTransformation
EventTransformation.State
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Returns the description of the EventTransformation.Stringid()Returns the identifier of the EventTransformation.LonglastSequence()Each transformation action registered in the transformation has its own incremental sequence.EventTransformation.Statestate()Returns the state of the EventTransformation.StringtoString()
-
-
-
Method Detail
-
id
public String id()
Description copied from interface:EventTransformationReturns the identifier of the EventTransformation.- Specified by:
idin interfaceEventTransformation- Returns:
- the identifier of the EventTransformation.
-
description
public String description()
Description copied from interface:EventTransformationReturns the description of the EventTransformation.- Specified by:
descriptionin interfaceEventTransformation- Returns:
- the description of the EventTransformation.
-
lastSequence
public Long lastSequence()
Description copied from interface:EventTransformationEach transformation action registered in the transformation has its own incremental sequence. An action could represent the deletion of an Event, or its replacement. This method returns the sequence of the last transformation action registered in the EventTransformation.- Specified by:
lastSequencein interfaceEventTransformation- Returns:
- the last sequence of the EventTransformation.
-
state
public EventTransformation.State state()
Description copied from interface:EventTransformationReturns the state of the EventTransformation.- Specified by:
statein interfaceEventTransformation- Returns:
- the state of the EventTransformation.
-
-